Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/therealdreg/autobuspirateupgrade

automate bootloader+firmware+update+self_test on bus pirate v3 with arduino and python. Firmware 7.1 bootloader 4.5
https://github.com/therealdreg/autobuspirateupgrade

arduino automation bootloader bus-pirate firmware hardware hardware-hacking hardware-testing update-tool

Last synced: 2 months ago
JSON representation

automate bootloader+firmware+update+self_test on bus pirate v3 with arduino and python. Firmware 7.1 bootloader 4.5

Awesome Lists containing this project

README

        

# autobuspirateupgrade
automate bootloader+firmware+update+self_test on bus pirate v3 with arduino and python. Firmware 7.1 bootloader 4.5

**WARNING CHANGE BOOTLOADER CAN BRICK YOUR BUS PIRATE, YOU SHOULD NOT USE THIS PROJECT xD**

VIDEO DEMO:

https://www.youtube.com/watch?v=cnYpEc1Y6F0

**NEVER USE USB-HUBS, CONNECT ALL DIRECTLY TO PC**

# Steps

## First

- buy a usb diy male cable + female usb diy cable
- connect all cables together except VCC (red)
- buy two 5v relay
- connect VCC from both usb to relay
- connect pin 12 from arduino to control this relay
- connect +5v + gdn from arduino to relay

![first](images/first.png)

## Two: connect bus pirate

- Connect PGD + PGC to another relay
- connect pin 11 from arduino to control this relay
- with a jumper or two female dupont cables connect:
- +5v with VPU
- +3v3 with ADC

![two](images/two.png)

## Result

something like this chaos:

![result](images/result.jpeg)

![result_2](images/result_2.jpeg)

## Final steps

- connect arduino to PC via usb cable
- connect bus pirate to PC via frankestein diy-cables
- flash arduinofirm/arduinofirm.ino to your arduino
- install python3 + pip install pyserial
- edit autobuspirateupgrade.py and put your COM for arduino and for bus pirate
- run: python autobuspirateupgrade.py

Done!

![cmd](images/cmd.png)

# Related & Credits

- http://dangerousprototypes.com/forum/index.php?topic=8498.0