HardwareAllTheThings/docs/gadgets/bus-pirate.md

19 lines
573 B
Markdown
Raw Normal View History

2022-09-27 09:47:19 +00:00
# Bus Pirate
2022-10-02 14:27:53 +00:00
![MOSI-MISO](https://iotmyway.files.wordpress.com/2018/05/mode-guide.png)
2022-09-27 09:47:19 +00:00
### Update Bus Pirate
```powershell
git clone https://github.com/BusPirate/Bus_Pirate.git
cd Bus_Pirate/package/BPv4-firmware/pirate-loader-v4-source/pirate-loader_lnx
sudo ./pirate-loader_lnx --dev=/dev/ttyACM0 --hex=../BPv4-firmware-v6.3-r2151.hex
```
```powershell
# Identify EEPROM chip
sudo flashrom p buspirate_spi:dev=/dev/ttyUSB0
# Dump firmware using a bus pirate (SPI)
sudo flashrom p Buspirate_spi:dev=/dev/ttyUSB0,spispeed=1M c (Chip name) r (Name.bin)
2022-10-02 14:27:53 +00:00
```