PCB TOOLS / PINOUT & INTERFACE REFERENCE

JTAG / SWD Pinouts and Debug Connector Reference

Compare Cortex 10-pin, the source 6-pin layout and legacy ARM, MIPS, AVR, MAXQ and MSP430 debug headers. Identify the target board connector before connecting by signal name.

Quick answer

JTAG uses TCK, TMS, TDI and TDO; SWD mainly uses SWDIO and SWDCLK. Equal pin counts do not guarantee compatible wiring. VTref/VREF normally lets the probe sense target logic voltage; it is not an arbitrary power output.

Scope

This is a collection of vendor and legacy layouts, not one universal JTAG connector standard. Cortex 10-pin, ARM 20-pin, 6-pin and vendor headers are not interchangeable. Check device/probe manuals for legacy MSP430 TEST/VPP functions. Paired table columns show pin numbers only; they do not assert an unverified mating-face, solder-side or cable-back view.

Reading example

For a confirmed Cortex 10-pin SWD header, check 1=VTref, 2=SWDIO, 3/5=GND, 4=SWDCLK and 10=nRESET; position 7 is the key. Locate pin 1 and connector direction from the board and official manual, then verify target voltage and common ground.

Checked reference tables

Common debug signal directions (target perspective)
SignalDirection / purpose
TCK / SWDCLKProbe → target, clock
TMS / TDIProbe → target, mode / data
TDO / SWOTarget → probe, data / trace
SWDIOBidirectional debug data
VTref / VREFTarget-voltage reference sense; not a universal supply

Interfaces, pinouts and technical reference

10-pin JTAG/SWD

Table 1 · 10-pin JTAG/SWD
NamePinPinName
Vref12SWDIO/TMS
GND34SWDCLK/TCKLegacy record: “SWDCLK/TCLK”. The source TCLK at this Cortex 10-pin position is JTAG clock TCK; explicitly corrected against Arm KAN339.
GND56SWO/TDO
-78NC/TDI
GNDDetect910nRESET

6-pin JTAG/SWD

Table 2 · 6-pin JTAG/SWD
NamePinPinName
Vref12SWDIO
nRESET34SWDCLK
GND56SWO

ARM-20 JTAG

Table 3 · ARM-20 JTAG
NamePinPinName
VREF12VSUPPLY
nTRST34GND
TDI56GND
TMS78GND
TCK910GND
RTCK1112GND
TDO1314GND
nSRST1516GND
DBGRQ1718GND
DGBACK1920GND

ARM-14 JTAG

Table 4 · ARM-14 JTAG
NamePinPinName
VREF12GND
nTRST34GND
TDI56GND
TMS78GND
TCK910GND
TDO1112nSRST
VREF1314GND

MIPS EJTAG

Table 5 · MIPS EJTAG
NamePinPinName
nTRST12GND
TDI34GND
TDO56GND
TMS78GND
TCK910GND
nSRST1112
DINT1314VREF

AVR JTAG

Table 6 · AVR JTAG
NamePinPinName
TCK12GND
TDO34VREF
TMS56nSRST
-78nTRST
TDI910GND

Maxim MAXQ JTAG

Table 7 · Maxim MAXQ JTAG
NamePinPinName
TCK12GND
TDO34VREF
TMS56nSRST
-78VSUPPLY
TDI910GND

Texas Instruments MSP430 JTAG

Table 8 · Texas Instruments MSP430 JTAG
NamePinPinName
TDO12VREF
TDI34-
TMS56TCLK
TCK78VPP
GND910-
nSRST1112-
-1314-
Legacy source notes and applicability

These notes retain the legacy record. For corrected facts and applicability, use this page’s quick answer, scope and visible table corrections.

10-pin JTAG/SWD
6-pin JTAG/SWD
ARM-20 JTAG
ARM-14 JTAG
MIPS EJTAG
AVR JTAG
Maxim MAXQ JTAG
Texas Instruments MSP430 JTAG
Note: There are usually different way to connect JTAG header to the target. Always check the datasheet.

Frequently asked questions

Can JTAG and SWD use one header?

Some Cortex debug headers multiplex both modes, but the target, probe and software must support the selected mode. Not every SWD pin has a one-to-one JTAG meaning.

How do I locate pin 1 without a missing pin?

Check board triangles, dots, square pads and manufacturer connector drawings against the schematic. A square pad is a common clue, not a guarantee. Cable stripes or the left/right arrangement here alone are insufficient.

Related tools and references

Sources and verification

Legacy baseline: the Electrodoc Pro 5.2 data package. Raw records are retained and checked factual corrections are shown explicitly.