Skip to main content

Show Posts

This section allows you to view all Show Posts made by this member. Note that you can only see Show Posts made in areas you currently have access to.

Messages - medtech1

2
Bus Pirate Support / Re: New BP, v3b, firmware update fail :(
Update: 

Ok.. from what others have responded when others had the same behavior after an update, I need to use a pickit. 

Navigating through the bus pirate info out there is 90 percent of the challenge... its unfortunate :(

It would be nice to know where I went wrong though given I tried to follow the steps. 

3
Bus Pirate Support / Re: New BP, v3b, firmware update fail :(
I noticed sending hello to the bootloader responds (with PGC and PGD jumpered):

root@michelle-nx9420:~/bp-latest/Bus_Pirate/package/BPv3-firmware# ./pirate-loader_lnx --dev=/dev/ttyUSB0 --hello
+++++++++++++++++++++++++++++++++++++++++++
  Pirate-Loader for BP with Bootloader v4+ 
  Loader version: 1.0.2  OS: Linux
+++++++++++++++++++++++++++++++++++++++++++

Opening serial device /dev/ttyUSB0...OK
Configuring serial port settings...OK
Sending Hello to the Bootloader...OK

Device ID: PIC24FJ64GA002 [d4]
Bootloader version: 1,02
root@michelle-nx9420:~/bp-latest/Bus_Pirate/package/BPv3-firmware#
4
Bus Pirate Support / New BP, v3b, firmware update fail :(
hope someone can save me..   here are the steps I did:

Cloned https://github.com/BusPirate/Bus_Pirate

Went to the bottom for this link:

Firmware Flashing

Refer to building-and-flashing-firmware to see how to build and flash this firmware.
(url: https://github.com/BusPirate/Bus_Pirate/blob/master/Documentation/building-and-flashing-firmware.md)

Installed XC16

Installed MPLAB-X

Followed the "Building" section.. MPLAB-X showed success:

BUILD SUCCESSFUL (total time: 15s)
Loading code from /root/bp-latest/Bus_Pirate/Firmware/busPirate.X/dist/BusPirate_v3/production/busPirate.X.production.hex...
Loading completed


Followed the flashing steps... with (failed):



root@michelle-nx9420:~/bp-latest/Bus_Pirate/package/BPv3-firmware# ./pirate-loader_lnx --dev=/dev/ttyUSB0 --hex=../../Firmware/busPirate.X/dist/BusPirate_v3/production/busPirate.X.production.hex
+++++++++++++++++++++++++++++++++++++++++++
  Pirate-Loader for BP with Bootloader v4+ 
  Loader version: 1.0.2  OS: Linux
+++++++++++++++++++++++++++++++++++++++++++

Parsing HEX file [../../Firmware/busPirate.X/dist/BusPirate_v3/production/busPirate.X.production.hex]
Found 17866 words (53598 bytes)
Fixing bootloader/userprogram jumps
Opening serial device /dev/ttyUSB0...OK
Configuring serial port settings...OK
Sending Hello to the Bootloader...OK

Device ID: PIC24FJ64GA002 [d4]
Bootloader version: 1,02
Erasing page 0, 0000...OK
Writing page 0 row 0, 0000...ERROR

Error updating firmware :(
root@michelle-nx9420:~/bp-latest/Bus_Pirate/package/BPv3-firmware#


Now, I can't access BP, although it appears I can trigger the bootloader with PGC and PGD  (mode LED lights up)?

I'm not sure what to do next  :(