|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
pk2cmd + pic18f4550Hi, I was wondering if anyone has had any experience using the pickit2 and pk2cmd under linux? I just got one, thinking I could program my device [http://www.create.ucsb.edu/~dano/CUI] in circuit. I connect the pickit2 to the board using a cable I built , and double and triple checked the connection. I can do: >>>pk2cmd -PPIC18F4550 -I >>>Device ID = 1202 and ...I see that the device is connected. But, when I erase and then check the memory, it always says: >>>pk2cmd -PPIC18F4550 -E >>>Erasing Device... >>>Operation Succeeded >>>pk2cmd -PPIC18F4550 -C >>>Configuration memory is NOT blank. >>>Address Good Bad >>>300000 000500 000000 >>>Operation Succeeded I don't understand the output. It says the operation succeeded, but prints out memory errors. Ultimately, I cannot write a .hex file to the device. Does the latest pk2cmd 1.12 with the 2.32 firmware work under linux? Any suggestions? many thanks - august. --------------------------------------------------------------------- To unsubscribe, e-mail: gnupic-unsubscribe@... For additional commands, e-mail: gnupic-help@... |
|
|
Re: pk2cmd + pic18f4550On Sun, Sep 28, 2008 at 10:11 PM, august <august@...> wrote:
> I was wondering if anyone has had any experience using the pickit2 > and pk2cmd under linux? If you can not get the answer here, maybe you can try pickit-devel group. http://groups.google.com/group/pickit-devel > Does the latest pk2cmd 1.12 with the 2.32 firmware work under linux? > Any suggestions? It should work. mcuee@Ubuntu804:~/Desktop/build/pk2cmd/pk2cmdv1.12.0$ ./pk2cmd -?V Executable Version: 1.12.00 Device File Version: 1.52.00 OS Firmware Version: 2.32.00 Operation Succeeded mcuee@Ubuntu804:~/Desktop/build/pk2cmd/pk2cmdv1.12.0$ ./pk2cmd -PPIC18F4550 -I Device ID = 1202 Operation Succeeded mcuee@Ubuntu804:~/Desktop/build/pk2cmd/pk2cmdv1.12.0$ ./pk2cmd -PPIC18F4550 -E Erasing Device... Operation Succeeded mcuee@Ubuntu804:~/Desktop/build/pk2cmd/pk2cmdv1.12.0$ ./pk2cmd -PPIC18F4550 -C Device is blank Operation Succeeded You may need to add a cap between Vdd and Vss. http://forum.microchip.com/tm.aspx?m=270347&mpage=2 (Post 25). The "Operation Succeeded" just means the program returns properly. It does not really mean the intended operation is correctly finished. Maybe we should ask the author to change it. Regards, Xiaofan --------------------------------------------------------------------- To unsubscribe, e-mail: gnupic-unsubscribe@... For additional commands, e-mail: gnupic-help@... |
|
|
Re: pk2cmd + pic18f4550Xiaofan,
Thanks for the reply. I was able to test on another board and got it all to work. There must be something wrong with the one chip that I have. thanks -august. > On Sun, Sep 28, 2008 at 10:11 PM, august <august@...> wrote: > > I was wondering if anyone has had any experience using the pickit2 > > and pk2cmd under linux? > > If you can not get the answer here, maybe you can try > pickit-devel group. > http://groups.google.com/group/pickit-devel > > > Does the latest pk2cmd 1.12 with the 2.32 firmware work under linux? > > Any suggestions? > > It should work. > --------------------------------------------------------------------- To unsubscribe, e-mail: gnupic-unsubscribe@... For additional commands, e-mail: gnupic-help@... |
| Free embeddable forum powered by Nabble | Forum Help |