Connect to UART- From start to finish
Last updated
Last updated
To interact with a UART interface, you would need:
A multimeter
an USB to UART TTL adapter
jumper cables
and in some cases: a soldering station
After opening the device follow:
Get an overview of what is available of the PCB board
Checkout which chips are used
Google the datasheet of each chip you find (model should be printed on top of the chip)
It can be useful to take a picture of the PCB and label everything you can identify
Check for connector or test pads (can be quick wins to find a UART/JTAG etc.)
Even better if we find actual pins, where we can connect jumper cables to:
Also JTAG (where we need more pins) are very interesting targets
Check the pinout for the connectors:
Put your multimeter in continuity mode (often a "sound" symbol):
This mode will check if there is a direct link between two points on the PCB
Put one probe on the connector pad you want to test
The other one goes on the chip (datasheet will tell you what pins are used for UART/SPI/JTAG)
You need to find the GND (ground), TX (transmit) and RX(receive) pins to communicate with UART.
Now you need to connect the pins using jumper cables to the UART-USB-TTL adapter (make sure RX -> TX and TX->RX, as they have to be reversed). This can be done by soldering the cables onto the connector pins, plug them in or use clamps.
On your PC use the following command to communicate over UART (you may have to adjust the baud rate)
If you see readable data: You done it correctly!
Congrats! You found your first serial connection! Check out the UART chapter on how to use this to dump the firmware from the device.