1
Pirate PIC programmer / Re: Bus Pirate PIC programmer v0.1 (continued)...
First of all thanks for all you hard work on this project as well as everyone else's. I downloaded the svn version of Pirate PIC Programer and compiled it successfully on my Linux machine. I tried to use it to program the bootloader onto a 18F24J50(OLS) ang got this back
Code: [Select]
./picprog -p buspirate -u /dev/ttyUSB0 buspirate -s115200 -c 18F24J50 -t HEX -w ./OLSv1-bootloader-v2-16MHz.hex
(Bus) Pirate PIC Programer v0.1
Initializing interface
115200
Entering binary mode
BP: Setup mode...
Setup peripherals...
(OK)
Found '18F24J50' in programming database :) index = 1
Checking for 18F24J50 attached to programmer...
Found 18F24J50 (0X4C02, ID: 0X260 REV: 0X2)
Reading HEX file './OLSv1-bootloader-v2-16MHz.hex' ... Read binary size = 16384
Writing page 0, 0000...
Writing page 1, 0040...
......... and so on
It all completed successfully, but from looking at the output, it says that it is version V0.1, so I was wondering if you have uploaded the new code and just didn't change the version string, or if currently the svn copy is an older version. Another thing that I noticed is that it seems to have trouble setting something up at the begining when running on linux,( going into binary mode?). It worked fine for me once, and all the times afterwards, and then I unplugged and plugged in and it didn't wanna work giving me this :
Code: [Select]
./picprog -p buspirate -u /dev/ttyUSB0 buspirate -s115200 -c 18F24J50 -t HEX -w ./OLSv1-firmware-v06-16MHz.hex
(Bus) Pirate PIC Programer v0.1
Initializing interface
115200
Entering binary mode
Error sending data
I'll try to figure out whats going on later this week when I have time.
Also, don't want to hijack your thread, but is OLSv1-bootloader-v2-16MHz.hex the right file to use to load the bootloader onto a 16MHZ OLS? mine won't go into bootloader mode by shorting, and currently I don't have the OSL firmware on. Tried loading OLSv1-firmware-v06-16MHz.hex but it doesn't show up a connected device either.
Thanks