How To Use Tag-Connect Cables With The Espressif ESP-Prog
Espressif's ESP-Prog programs ESP32 and ESP8266 boards, and debugs ESP32 boards over JTAG, through two interfaces: a 6-pin Program interface (UART, enable and the IO0 boot strap) and a 10-pin JTAG interface. The current board brings each out on two headers, one at 1.27 mm (0.05 in) pitch and one at 2.54 mm (0.1 in) pitch. Tag-Connect's IDC cables plug onto these headers in place of Espressif's flat cables, so your board needs only a footprint of pads.
In short: for flashing over UART with automatic boot-mode control, use a TC2030-IDC on the 2.54 mm Program header or a TC2030-IDC-050 on the 1.27 mm one. For JTAG, use a TC2050-IDC on the 2.54 mm JTAG header or a TC2050-IDC-050-ALL on the 1.27 mm one.
Which Cable
| ESP-Prog interface | Header used | Cable (legged / no-legs) | Footprint |
|---|---|---|---|
| Program (UART download) | 6-pin 2.54 mm | TC2030-IDC / TC2030-IDC-NL | TC2030 6-pin |
| Program (UART download) | 6-pin 1.27 mm | TC2030-IDC-050 / TC2030-IDC-NL-050 | TC2030 6-pin |
| JTAG | 10-pin 2.54 mm | TC2050-IDC / TC2050-IDC-NL | TC2050 10-pin |
| JTAG | 10-pin 1.27 mm | TC2050-IDC-050-ALL / TC2050-IDC-NL-050-ALL | TC2050 10-pin |
No-legs (NL) cables need holding in place: use a TC2030-CLIP for 6-pin cables or a TC2050-CLIP for 10-pin cables.
Target Footprint Pin Maps
Each pad carries the signal on the ESP-Prog header pin with the same number, as listed in Espressif's ESP-Prog user guide. Tag-Connect states this pin 1 to pad 1 wiring for the TC2030-IDC and the TC2050-IDC-050-ALL; check pad 1 with a meter the first time you use one of the other cables.
Program Interface on a TC2030 Footprint
| TC2030 pad | ESP-Prog signal |
|---|---|
| 1 | ESP_EN (enable) |
| 2 | VDD |
| 3 | ESP_TXD |
| 4 | GND |
| 5 | ESP_RXD |
| 6 | ESP_IO0 (boot strap) |
JTAG Interface on a TC2050 Footprint
| TC2050 pad | ESP-Prog signal |
|---|---|
| 1 | VDD |
| 2 | ESP_TMS |
| 3, 5, 7, 9 | GND |
| 4 | ESP_TCK |
| 6 | ESP_TDO |
| 8 | ESP_TDI |
| 10 | Not connected |
Wire each pad to the chip exactly as Espressif's user-board reference wires the matching header pin. Note that pad 7 is a ground and pad 10 is not connected.
Things to Watch
- The VDD pin supplies 3.3 V or 5 V, set by the PROG PWR SEL and JTAG PWR SEL jumpers on the ESP-Prog. The UART and JTAG signals stay at 3.3 V whichever you choose.
- Espressif notes that once the chip has started, IO0 can be used as a normal GPIO, and the IO0 On/Off jumper disconnects the ESP-Prog from it so the automatic download circuit doesn't interfere.
- The strapping pin wired to pad 6 is GPIO0 on the ESP32, ESP32-S3 and ESP8266, but GPIO9 on the ESP32-C3. Check the boot strap pin for your chip.
- Espressif supports ESP-Prog JTAG debugging only on chips that have a JTAG interface. Its original ESP-Prog guide lists download and serial for the ESP8266 but JTAG for the ESP32 only, so for an ESP8266 lay out the Program footprint alone.
Frequently Asked Questions
Do I Need an Adapter Between the ESP-Prog and a Tag-Connect Cable?
No. The ESP-Prog's pin headers take Espressif's flat ribbon cables (1.27 mm), and each Tag-Connect IDC cable ends in a ribbon connector of the matching pitch. Pick the cable to suit the header pitch you use.
Can I Flash and Debug Through One Footprint?
Not with one cable. The Program and JTAG interfaces are separate headers, so a board that needs both has a TC2030 footprint for the Program interface and a TC2050 footprint for JTAG.
Related Guides
- Tag-Connect cables for USB and FTDI serial
- Tag-Connect cables with generic debuggers
- Which Tag-Connect cable for your debugger
Sources
- Espressif ESP-Prog user guide
- Espressif: Introduction to the ESP-Prog board
- Tag-Connect: IDC cable range
Last reviewed 29 November 2026 by The Debug Store, supplier of Tag-Connect cables.