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, I2C, 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.
buspirate will not come with new firmware so it has to be change by us.
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
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