1
Bus Pirate Support / bricked my bus pirate. I think.
http://dangerousprototypes.com/2011/08/ ... ate-sales/
It has a silk screen "sandbox electronics" on it and was in a plastic housing.
It uses the large LEDs not the SMD ones.
It had this on it. Unfortunately for what I needed it for I required the STK500v2 firmware.
Detecting BusPirate...
**
** Bus Pirate v3b
** Firmware v5.10 (r559) Bootloader v4.4
** DEVID:0x044F REVID:0x3003 (24FJ64GA002 A3)
** http://dangerousprototypes.com
**
When I used the console, it would reply BP4+ when the jumper was on the board, and the yellow LED was glowing.
However, using
./pirate-loader_mac --dev=/dev/tty.PL2303-00001004 --hex=BPv3&v2go/BPv3-STK500v2-v0c.hex --verbose
would fail repeatedly:
+++++++++++++++++++++++++++++++++++++++++++
Pirate-Loader for BP with Bootloader v4+
Loader version: 1.0.1 OS: Darwin
+++++++++++++++++++++++++++++++++++++++++++
Parsing HEX file [BPv3&v2go/BPv3-STK500v2-v0c.hex]
Found 21502 words (64506 bytes)
Fixing bootloader/userprogram jumps
Opening serial device /dev/tty.PL2303-00001004...OK
Configuring serial port settings...OK
Sending Hello to the Bootloader...ERROR
No reply from the bootloader, or invalid reply received: 4
Please make sure that PGND and PGC are connected, replug the devide and try again
Note that it receives 4 characters. Could it be receiving BP4+? But not the magic "K"? When I wrote the HELLO character to the bootloader via just printing it into the serial port, it did reply K in the console.
After restart arduino serial console a few times, and then re-running the firmware update program several times, it succeeded, sort of:
Parsing HEX file [BPv3-STK500v2-v0c.hex]
Found 21502 words (64506 bytes)
Fixing bootloader/userprogram jumps
Opening serial device /dev/tty.PL2303-00001004...OK
Configuring serial port settings...OK
Sending Hello to the Bootloader...OK
Device ID: PIC24FJ64GA002 [d4]
Bootloader version: 1,02
00 00 00 01 01 FE
Erasing page 0, 0000...OK
Writing page 0 row 0, 0000...OK
00 00 00 02 C1 04 00 A8 00 00 00 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 51
Writing page 0 row 1, 0080...OK
00 00 80 02 C1 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 00 D0 10 BD
Writing page 0 row 2, 0100...ERROR
At this point when I plug it into USB, yellow LED on, or off. no device gets created anymore :(
What did I do wrong?
Why couldn't the update program see the bootloader response, and why after writing one page then failing, is it no longer talking over USB at least to the bootloader?
Sad face. I feel like I'm in a shave the yak scenario.. like I got the bus pirate to fix something, which should fix something, which should (I forget the chain it goes up so high) ... and now i need a bus pirate to fix my bus pirate?