I want to use OpenOCD but it is unsupported on my version of BusPirate.

http://dangerousprototypes.com/docs/Bus_Pirate#JTAG_and_OpenOCD

I’m running 5.10 which is disabled for OpenOCD.

https://stackoverflow.com/a/61823037

sudo dpkg –add-architecture i386 sudo apt-get update sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386

Follow Build instructions

http://dangerousprototypes.com/docs/Compile_the_Bus_Pirate_firmware

My bootloader is 4.3 which is within version 4.x so I don’t need to update bootloader

cd Bus_Pirate/package/BPv3-firmware/ chmod +x (if you didn’t install i386 arch you’ll get command not found error message, file pirate-loader_lnx to see it’s a i386 file)

Jump pins

Set device to boot into bootloader

pirate-loader_lnx --dev=/dev/ttyUSB0 --hex=BPv3-firmware-v6.3-r2151.hex --verbose

  • Verify upgrade is complete
$ picocom -b115200 /dev/ttyUSB0
i
Bus Pirate v3.5
Firmware v6.3-beta1 r2151  Bootloader v4.4
DEVID:0x0447 REVID:0x3046 (24FJ64GA002 B8)
http://dangerousprototypes.com