Identify UART

This page should will teach you how to identify an UART interface. If you already confirmed the found debug connector is using UART you may continue with Connect to UART.

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 the following steps to identify UART.

Get an overview

  1. Checkout which chips are used

    1. Google the datasheet of each chip you find (model should be printed on top of the chip)

    2. It can be useful to take a picture of the PCB and label everything you can identify

      Example layout of an PCB
  2. Check for connector or test pads

    1. For UART we need pins: TX,RX,GND often manufacturers also put a VCC pin next to power the device. So we are looking for 4 pads or pins on the PCB board, like here:

    Potential UART pins
    1. Even better if we find actual pins, where we can connect jumper cables to:

    Uart pins exposed

Test potential UART pins

To verify if the identified pins are UART, we can use a multimeter. The simplest approach is to test for continuity between the suspected pins and the known UART pins on the MCU, as indicated in its datasheet. However, if the MCU has a BGA layout with pins beneath the chip, this method won't work. In such cases, measuring the voltage of the suspected pins can help make an educated guess to identify the correct ones.

The first step is to 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

Multimeter in continuity mode

Next we need identify a reference point to check against. Luckily manufacturers provide us often with datasheets of their MCUs, which include the pinout of the chip. So google your chip and find the TXD, RXD pins in the datasheet, like here:

Example UART pins

Now we can start our continuity test:

  • Put one probe on the connector pad you want to test

  • The other one should be on the exact pin on the chip (RX or TX).

  • It should look like this:

How to probe

If you hear a BEEP, then there is a direct link between the pin and the pad you checked. You need to find the GND (ground), TX (transmit) and RX(receive) pins to communicate with UART.

Next Step

If you could identify all the needed pins, you may now Connect to UART.

Resources

*Hardware Hacking: Finding UART Pinouts on PCBs

*Hardware Hacking Experiments: Extracting Firmware from Embedded Device *Decoding the Mystery: Identifying Unlabelled UART Pins

Last updated

Was this helpful?