Firmware flash always unsuccessful, ERROR after so many page

Hacking multi-tool. Get one for $30, including worldwide shipping.

Firmware flash always unsuccessful, ERROR after so many page

Postby TheChuckster » Sun Jan 22, 2017 2:24 am

Pretty aggravated here:

Code: Select all
chuck@excelsior ~/Bus_Pirate/BPv4-bootloader/pirate-loader $ sudo ./pirate-loader --dev=/dev/ttyACM0 --hex=/home/chuck/Downloads/bp4.0-fw-7.0.hex
+++++++++++++++++++++++++++++++++++++++++++
  Pirate-Loader for BP with Bootloader v4+ 
  Loader version: 1.0.3  OS: Linux
+++++++++++++++++++++++++++++++++++++++++++

Parsing HEX file [/home/chuck/Downloads/bp4.0-fw-7.0.hex]
Found 30070 words (90210 bytes)
Opening serial device /dev/ttyACM0...OK
Configuring serial port settings...OK
Sending Hello to the Bootloader...OK

Bootloader version: 4,06
Device ID [f1]:PIC24FJ256GB106
Erasing page 0, 0000...OK
Writing page 0 row 0, 0000...OK
Writing page 0 row 1, 0080...OK
Writing page 0 row 2, 0100...OK
Writing page 0 row 3, 0180...OK
Writing page 0 row 4, 0200...OK
Writing page 0 row 5, 0280...ERROR

Error updating firmware :(


Happens every time, except at a different failure point (I've seen it go up to page 11, page 15).

This is a REAL headache, not only does it ship with an unstable firmware out-of-the-box, I can't update it!

I've tried removing the jumper after booting it and pressing the Normal and Reset buttons in various combinations as suggested by other forum members, without success...
TheChuckster
Newbie
Newbie
 
Posts: 3
Joined: Sun Jan 22, 2017 2:21 am

Re: Firmware flash always unsuccessful, ERROR after so many

Postby USBEprom » Sun Jan 22, 2017 5:01 am

Hi TheChuckster.
Take a look a these:

viewtopic.php?f=4&t=8650#p65737

https://github.com/BusPirate/Bus_Pirate ... -273879409

Remember that could be must to upgrade also the bootloader before you can do the same with the firmware:

http://dangerousprototypes.com/docs/V2_to_v4_upgrades
http://dangerousprototypes.com/docs/V4. ... .3_upgrade

Be seeing you.

U.Sb
USBEprom
Jr. Member
Jr. Member
 
Posts: 97
Joined: Wed Mar 14, 2012 4:09 pm


Return to Bus Pirate Support