Buspirate v3.6 firmware upgrade from USB
Buspirate : The Bus Pirate v3.6a, created by Ian Lesnet, is a troubleshooting tool that communicates between a PC and any embedded device over 1-wire, 2-wire, 3-wire, UART, IC, SPI, and HD44780 LCD protocols - all at voltages from 0-5.5VDC. This product eliminates a ton of early prototyping effort when working with new or unknown chips.
For noobs i made this
bus pirate will not come with latest firmware so we need to do it.
buspirate v4 : supports firmware version 7
buspirate v3.x : supports firmware version 6&7 (note : firmware version 7 may hurt the device hardware not fully tested from my side doit in your won risk)
Buspirate firmware and loader : https://github.com/DangerousPrototypes/Bus_Pirate/tree/master/BPv3-bootloader
The Bus Pirate has 3 ports. This first is the ICSP port for directly programming the PIC micro controller at the heart of this product. Since there is a boot-loader and a re-flashing utility, you shouldn't ever have to use this port.
in these pins there are two of them which is PGD and PGC helps us to load the firmware into it . The PGC and PGD pins with a jumper cable. When you are in the bootloader, the MODE LED of the Bus Pirate will stay on
connect them both each other as shown in below picture
Now lets move to your computer download the buspirate folder from the github
download the specific folder called pirate loader
"git clone https://github.com/DangerousPrototypes/Bus_Pirate/"
go to this folder Bus_Pirate/BPv3-bootloader/pirate-loader/
edit test.sh change the port location for linux : /dev/ttyUSB0 , windows : COMX (X= number per windows connected )
if the PC able to communicate with the bus-pirate it will come above results and
After that run the : ./pirate-loader_lnx
command : ./pirate-loader_lnx --dev=/dev/ttyUSB0 --hex=BPv3-firmware-v6.2-r2162.hex --verbose
Known error : it might be cause of the firmware compilation time might got errors
so use right firmware
References : https://github.com/BusPirate/Bus_Pirate