LOGBOOK

HELP

Quiz Entry - updated: 2026.12.01

How is an FT232H breakout wired to an ESP32-DevKitC for JTAG, and why does the ground wire matter?

Four signal wires plus ground: ESP32 IO13 (TCK) to FT232H D0, IO12 (TDI) to D1, IO15 (TDO) to D2, IO14 (TMS) to D3, and GND to GND. Without a shared ground the two boards have no common reference voltage, so the signal levels are meaningless.

Wiring between the ESP32-DevKitC and the FT232H breakout: IO13 TCK to D0, IO12 TDI to D1, IO15 TDO to D2, IO14 TMS to D3, GND to GND

* Each wire connects the same JTAG signal on both sides; only GND has no signal name. *

# ESP32 pin JTAG signal FT232H pin Direction
1 IO12 TDI D1 adapter → ESP32
2 IO15 TDO D2 ESP32 → adapter
3 IO13 TCK D0 adapter → ESP32
4 IO14 TMS D3 adapter → ESP32
5 GND GND common reference

Neither side's pin numbers can be chosen freely:

  • On the ESP32, the JTAG function is fixed to GPIO12-15 in silicon. The datasheet calls these pins MTDI, MTCK, MTMS and MTDO.
  • On the FT232H, the MPSSE engine always puts TCK on D0, data out (TDI) on D1, data in (TDO) on D2 and TMS on D3.

The names are written from the target's point of view: TDI is "data in" to the ESP32, so it is an output of the adapter. Each wire joins two pins with the same JTAG name, so there is no crossover as there is with UART TX/RX.

A voltage reading is always a difference between two points. A "1" on TMS is "3.3 V above ground", but if the two boards don't share a ground wire, the adapter's ground and the ESP32's ground are not the same point. Both boards are also powered from separate USB cables.

Go deeper:

From Quiz: SIOT / JTAG Debugging with OpenOCD and GDB | Updated: Dec 01, 2026