430 CHAPTER 16 Target interfaces and adapters
J-Link / J-Trace (UM08001) ©
2004-2017 SEGGER Microcontroller GmbH & Co. KG
16.3 19-pin JTAG/SWD and Trace connector
J-Trace provides a JTAG/SWD+Trace connector. This
connector is a 19-pin connector. It connects to the
target via an 1-1 cable.
The following table lists the J-Link / J-Trace SWD pinout.
PIN SIGNAL TYPE Description
1VTref Input
This is the target reference voltage. It is used to check if
the target has power, to create the logic-level reference
for the input comparators and to control the output logic
levels to the target. It is normally fed from Vdd of the
target board and must not have a series resistor.
2
SWDIO/
TMS
I/O /
output
SWDIO: (Single) bi-directional data pin.
JTAG mode set input of target CPU. This pin should be
pulled up on the target. Typically connected to TMS of the
target CPU.
4SWCLK/TCKOutput
SWCLK: Clock signal to target CPU. It is recommended
that this pin is pulled to a defined state of the target
board. Typically connected to TCK of target CPU.
JTAG clock signal to target CPU.
6SWO/TDOInput
JTAG data output from target CPU. Typically connected to
TDO of the target CPU.
When using SWD, this pin is used as Serial Wire Output
trace port. (Optional, not required for SWD communica-
tion)
--- --- ---
This pin (normally pin 7) is not existent on the 19-pin
JTAG/SWD and Trace connector.
8TDI Output
JTAG data input of target CPU. It is recommended that
this pin is pulled to a defined state on the target board.
Typically connected to TDI of the target CPU. For CPUs
which do not provide TDI (SWD-only devices), this pin is
not used. J-Link will ignore the signal on this pin when
using SWD.
9NC NC
Not connected inside J-Link. Leave open on target hard-
ware.
10 nRESET I/O
Target CPU reset signal. Typically connected to the RESET
pin of the target CPU, which is typically called "nRST",
"nRESET" or "RESET".
11 5V-Supply Output
This pin can be used to supply power to the target hard-
ware. For more information about how to enable/disable
the power supply, please refer to
Target power supply on
page 431.
12 TRACECLK Input Input trace clock. Trace clock = 1/2 CPU clock.
13 5V-Supply Output
This pin can be used to supply power to the target hard-
ware. For more information about how to enable/disable
the power supply, please refer to
Target power supply on
page 431.
14
TRACE-
DATA[0]
Input Input Trace data pin 0.
Table 16.10: 19-pin JTAG/SWD and Trace pinout
12
34
56
78
910
11 12
13 14
15 16
17 18
19 20
VTref
GND
GND
---
NC
5V-Supply
5V-Supply
GND
GND
GND
SWDIO/TMS
SWO/TDO
TDI
nRESET
TRACECLK
TRACEDATA[0]
TRACEDATA[1]
TRACEDATA[2]
TRACEDATA[3]
SWCLK/TCK