Anonymous

Equipment/Bus Pirate: Difference between revisions

From London Hackspace Wiki
(add quick description for UART protocol)
Line 88: Line 88:
=== How to get a shell anything UART ===
=== How to get a shell anything UART ===
Follow this step to get a shell using the bus pirate to you UART devices.
Follow this step to get a shell using the bus pirate to you UART devices.
1. First find the UART baud rate for the device. You can generally find this information from the constructors manual or using an oscilloscope.Note it on a piece of paper.
* 1. First find the UART baud rate for the device. You can generally find this information from the constructors manual or using an oscilloscope.Note it on a piece of paper.
2. Find the connecting plug for it. Need some magic here. It mostly trying to find the GND first using tester and trying to find the voltage pin and data pin.
* 2. Find the connecting plug for it. Need some magic here. It mostly trying to find the GND first using tester and trying to find the voltage pin and data pin.
3. Connect you bus pirate to your device.
* 3. Connect you bus pirate to your device.
4. Find the new device using 'ls /dev/tty*'
* 4. Find the new device using 'ls /dev/tty*'
5. Start a shell. Either trough minicom or screen.
* 5. Start a shell. Either trough minicom or screen.
6. m ( for mode)
* 6. m ( for mode)
7. 3 (for selecting the UART)
* 7. 3 (for selecting the UART)
8. select your baud rate ( most common baud rate are 9600 or 115200)  
* 8. select your baud rate ( most common baud rate are 9600 or 115200)  
9. default work in most of the case to get your shell on any devices 8
* 9. default work in most of the case to get your shell on any devices 8
10. select stop bits is 1 most of the case
* 10. select stop bits is 1 most of the case
11. enjoy your shell.
* 11. enjoy your shell.


== Real life example ==
== Real life example ==
13

edits