How To Use Tag-Connect Cables With The ST-Link/V2 Debugger
The ST-LINK/V2 programs and debugs STM8 and STM32 microcontrollers. It has a 20-pin 0.1 in ARM JTAG connector for STM32 and a separate SWIM connector for STM8. Tag-Connect gives you three ways to replace the target header with a Tag-Connect footprint.
In short: for STM32 with SWD only, use the ARM20-CTX adapter and a TC2030-IDC cable on a 6-pin footprint. For full JTAG, use the TC2050-ARM2010 adapter and a TC2050-IDC cable on a 10-pin footprint. For STM8, use the TC2030-SWIM.

ST-LINK/V2 with TC2050-ARM2010 adapter and Tag-Connect cable

ST-LINK/V2 with adapter and ribbon cable fitted
Which Adapter and Cable
| You need | Adapter | Cable (legged / no-legs) | Target footprint |
|---|---|---|---|
| SWD for STM32, smallest footprint | ARM20-CTX | TC2030-IDC / TC2030-IDC-NL | TC2030 6-pin |
| Full JTAG or SWD for STM32 | TC2050-ARM2010 | TC2050-IDC / TC2050-IDC-NL | TC2050 10-pin |
| SWIM for STM8 | None | TC2030-SWIM / TC2030-SWIM-NL | TC2030 6-pin |
No-legs cables need a TC2030-CLIP (6-pin) or TC2050-CLIP (10-pin) for hands-free debugging. The TC2030-SWIM has a 4-pin connector for the ST-LINK/V2's SWIM socket.
Target Footprint Pin Maps
The diagrams show the footprint from the component side of the board, with the pads numbered as in Tag-Connect's footprint drawings (TC2030-IDC-FP and TC2050-IDC-FP). Pad 1 is the darker pad, at the end with the single alignment hole. The pad numbers match the tables.
ARM20-CTX, 6-Pin TC2030 (SWD)
| TC2030 pad | Signal | ARM20 pin |
|---|---|---|
| 1 | VCC | 1 |
| 2 | SWDIO / TMS | 7 |
| 3 | nRESET | 15 |
| 4 | SWCLK / TCK | 9 |
| 5 | GND | GND |
| 6 | SWO / TDO | 13 |
TC2050-ARM2010, 10-Pin TC2050 (JTAG or SWD)
| TC2050 pad | JTAG mode | SWD mode | ARM20 pin |
|---|---|---|---|
| 1 | VCC | VCC | 1 |
| 2 | TMS | SWDIO | 7 |
| 3 | GND | GND | GND |
| 4 | TCK | SWCLK | 9 |
| 5 | GND or debugger power (solder bridge) | GND or debugger power | GND or 19 |
| 6 | TDO | SWO | 13 |
| 7 | RTCK (not connected on the ST-LINK/V2) | Not used | 11 |
| 8 | TDI | Not used | 5 |
| 9 | nTRST (solder bridge) | Not used | 3 |
| 10 | RESET | RESET | 15 |
Pitfalls to Avoid
- ST does not rate the ST-LINK/V2 as a target supply. Pin 19 carries 3.3 V, which the TC2050-ARM2010 can bridge to pad 5, but power the board from its own supply and leave pad 5 bridged to GND, which Tag-Connect says improves signal integrity.
- The ARM20-CTX carries SWD only. If you might need JTAG boundary scan or a JTAG-only device later, lay out the 10-pin footprint.
- Pad 9 of the TC2050 footprint carries nTRST only when the solder bridge on the TC2050-ARM2010 is made.
- STM8 parts use SWIM, not SWD. The ARM adapters won't program them.
- Keep solder paste off the Tag-Connect contact pads, keep tracks and vias out of the marked keep-out area, and leave room for fingers to squeeze the connector. Tag-Connect's footprint drawings give the exact rules.
Frequently Asked Questions
Are the adapters supplied with the cables?
No. Order the adapter and cable separately.
Will these adapters work with the STLINK-V3SET?
Yes, on the 20-pin connector of its adapter board. See our ST-Link V3 SET guide. The STLINK-V3MINI has no 20-pin connector; see our STLINK-V3 and V3MINI guide.
Related Guides
- Tag-Connect cables with the ST-Link V3 SET
- Tag-Connect cables with the SEGGER J-Link
- How to choose the correct Tag-Connect cable
Sources
- Tag-Connect: ST-LINK/V2 cable selection
- ST: ST-LINK/V2 product page
- ST: ST-LINK/V2 user manual (UM1075, PDF)
- Tag-Connect: TC2050-ARM2010 datasheet (PDF)
- Tag-Connect: ARM20-CTX datasheet (PDF)
- Tag-Connect: TC2030-IDC data sheet with footprint drawing (PDF)
- Tag-Connect: TC2050-IDC data sheet with footprint drawing (PDF)
Last reviewed 26 November 2026 by The Debug Store, supplier of Tag-Connect cables.