Skip to main content
Topic: Firmware flash always unsuccessful, ERROR after so many page (Read 1416 times) previous topic - next topic

Firmware flash always unsuccessful, ERROR after so many page

Pretty aggravated here:

Code: [Select]
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...

Re: Firmware flash always unsuccessful, ERROR after so many

Reply #1
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