Skip to main content
  • Products
  • Evaluate our Software
  • Downloads
  • Free Utilities
  • Purchase
  • Support
  • About Us
  • Blog
  • Forum
  • Search
    • Contact Us
    • Forum
    • Knowledge Base
    • Web Shop
    • Newsletter
    • RSS
  •   Jobs
  •   Videos
  •   Blog
  •   Sustainability
  • J-Link debug probes
  • Interface Description
  • Technology
  • Accessories
  • Tools
  • Models

Interface Description

J-Link supports Multiple Target Interfaces.

Contact us
Downloads
Documentation
SEGGER Debug & Trace Probes
  1. 1.Overview
    1. 1.1.Supported interfaces
  2. 2.JTAG Interface Connection (20 pin)
  3. 3.SWD and SWO (also called SWV) Compatibility
    1. 3.1.SWD Overview
    2. 3.2.SWD Connector Pinout
    3. 3.3.Serial Wire Output (SWO) Overview
    4. 3.4.Serial Wire Viewer (SWV) Overview
    5. 3.5.Further Application Documents
  4. 4.cJTAG Compatibility
    1. 4.1.cJTAG Overview
    2. 4.2.cJTAG Connector Pinout

Overview

On the target debug side J-Link and J-Trace have a male 20-pin IDC keyed box header with 0.1" pitch (2.54mm) that mates with female IDC connectors mounted on a ribbon cable.

This connector type is very robust (e.g. number of mating cycles) and proven for decades. To match the target connector numerous adapters are available for the 20-pin IDC keyed box header. For an overview of available adapters for J-Link, please refer to the J-Link adapter overview page.

Supported interfaces

  • JTAG
  • SWD/SWO/SWV
  • cJTAG
  • FINE
  • SPD
  • ICSP

JTAG Interface Connection (20 pin)

J-Link and J-Trace have a JTAG connector compatible to ARM's Multi-ICE. The JTAG connector is a 20 way Insulation Displacement Connector (IDC) keyed box header (2.54mm male) that mates with IDC sockets mounted on a ribbon cable.

The following table lists the J-Link / J-Trace JTAG pinout:

PinSignalTypeDescription
1VTrefInputThis 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.
2Not connectedNCThis pin is not connected in J-Link.
It is reserved for compatibility with other equipment.
Connect to Vdd or leave open in target system.
3nTRSTOutputJTAG Reset.
Output from J-Link to the Reset signal of the target JTAG port. Typically connected to nTRST of the target CPU. This pin is normally pulled HIGH on the target to avoid unintentional resets when there is no connection.
5TDIOutputJTAG 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 target CPU.
7TMSOutputJTAG mode set input of target CPU.
This pin should be pulled up on the target. Typically connected to TMS of target CPU.
9TCKOutputJTAG 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.
11RTCKInputReturn test clock signal from the target.
Some targets must synchronize the JTAG inputs to internal clocks. To assist in meeting this requirement, you can use a returned, and retimed, TCK to dynamically control the TCK rate. J-Link supports adaptive clocking, which waits for TCK changes to be echoed correctly before making further changes. Connect to RTCK if available, otherwise to GND.
13TDOInputJTAG data output from target CPU.
Typically connected to TDO of target CPU.
15nRESETI/OTarget CPU reset signal.
Typically connected to the RESET pin of the target CPU, which is typically called "nRST", "nRESET" or "RESET". This signal is an active low signal.
17DBGRQNCThis pin is not connected inside J-Link.
It is reserved for compatibility with other equipment to be used as a debug request signal to the target system. Typically connected to DBGRQ if available, otherwise left open.
195V-SupplyOutputThis pin can be used to supply power to the target hardware.

Notes

All pins marked NC are not connected inside J-Link. Any signal can be applied here; J-Link will simply ignore such a signal. Pins 4, 6, 8, 10, 12, 14, 16, 18, 20 are GND pins connected to GND in J-Link. They should also be connected to GND in the target system.

Pin 2 is not connected inside J-Link. A lot of targets have pin 1 and pin 2 connected. Some targets use pin 2 instead of pin 1 to supply VCC. These targets will not work with J-Link, unless Pin 1 and Pin 2 are connected on the target's JTAG connector.

Pin 3 (TRST) should be connected to target CPUs TRST pin (sometimes called NTRST). J-Link will also work if this pin is not connected, but you may experience some limitations when debugging. TRST should be separate from the CPU Reset (pin 15)

Pin 11 (RTCK) should be connected to RTCK if available, otherwise to GND.

Pin 19 (5V-Target supply) of the connector can be used to supply power to the target hardware. Supply voltage is 5V, max. current is 300mA. The output current is monitored and protected against overload and short-circuit.

181129 JTAG
*On later J-Link products like the J-Link ULTRA+, these pins are reserved for firmware extension purposes. They can be left open or connected to GND in normal debug environment. They are not essential for JTAG/SWD in general.

SWD and SWO (also called SWV) Compatibility

SWD Overview

The J-Link and J-Trace support ARMs Serial Wire Debug (SWD). SWD replaces the 5-pin JTAG port with a clock (SWDCLK) and a single bi-directional data pin (SWDIO), providing all the normal JTAG debug and test functionality. SWDIO and SWCLK are overlaid on the TMS and TCK pins. In order to communicate with a SWD device, J-Link sends out data on SWDIO, synchronous to the SWCLK. With every rising edge of SWCLK, one bit of data is transmitted or received on the SWDIO. The data read from SWDIO can than be retrieved from the input buffer.

SWD Connector Pinout

The J-Link and J-Trace JTAG connector is also compatible to ARM's Serial Wire Debug (SWD).

The following table lists the J-Link / J-Trace SWD pinout.

PinSignalTypeDescription
1VTrefInputThis 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.
2VsupplyNCThis pin is not connected in J-Link. It is reserved for compatibility with other equipment. Connect to Vdd or leave open in target system.
3Not usedNCThis pin is not used by J-Link. If the device may also be accessed via JTAG, this pin may be connected to nTRST, otherwise leave open.
5Not usedNCThis pin is not used by J-Link. If the device may also be accessed via JTAG, this pin may be connected to TDI, otherwise leave open.
7SWDIOI/OSingle bi-directional data pin.
9SWCLKOutputClock 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.
11Not usedNCThis pin is not used by J-Link. This pin is not used by J-Link when operating in SWD mode. If the device may also be accessed via JTAG, this pin may be connected to RTCK, otherwise leave open.
13SWOInputSerial Wire Output trace port. (Optional, not required for SWD communication.)
15nRESETI/OTarget CPU reset signal. Typically connected to the RESET pin of the target CPU, which is typically called "nRST", "nRESET" or "RESET". This signal is an active low signal.
17Not usedNCThis pin is not connected in J-Link.
195V-SupplyOutputThis pin is used to supply power to some eval boards.

Pins 4, 6, 8, 10, 12, 14, 16, 18, 20 are GND pins connected to GND in J-Link. They should also be connected to GND in the target system.

181129 SWD
*On later J-Link products like the J-Link ULTRA+, these pins are reserved for firmware extension purposes. They can be left open or connected to GND in normal debug environment. They are not essential for JTAG/SWD in general.

Serial Wire Output (SWO) Overview

J-Link can be used with devices that support Serial Wire Output (SWO). Serial Wire Output (SWO) support means support for a single pin output signal from the core.

Serial Wire Viewer (SWV) Overview

The Instrumentation Trace Macrocell (ITM) and Serial Wire Output (SWO) can be used to form a Serial Wire Viewer (SWV). The Serial Wire Viewer provides a low-cost method of obtaining information from inside the MCU. The SWO can output trace data in two output formats, but only one output mechanism may be selected at any time. The 2 defined encodings are UART and Manchester. J-Link expects UART encoding. Serial Wire Viewer uses the SWO pin to transmit different packets for different types of information. The three sources which can output information via this pin are:

  • Instrumentation Trace Macrocell (ITM) for application-driven trace source that supports printf-style debugging. It supports 32 different channels, which allow it to be used for other purposes such as real-time kernel information as well.
  • Data Watchpoint and Trace (DWT) for real-time variable monitoring and PC-sampling, which can in turn be used to periodically output the PC or various CPU-internal counters, which can be used to obtain profiling information from the target.
  • Timestamping. Timestamps are emitted relative to packets.

Further Application Documents

Refer to the following documents for detailed information about SWO/SWV:

 

CoreSight Components - Technical Reference Manual

Cortex™-M3 - Technical Reference Manual

cJTAG Compatibility

cJTAG Overview

The J-Link and J-Trace support cJTAG for ARM and RISC-V. cJTAG (IEEE 1149.7) is an extension to the JTAG standard (IEEE 1149.1), that reduces the number of required pins by multiplexing the TMS, TDI and TDO signals on a single bi-directional pin, providing all the normal JTAG debug and test functionality.

cJTAG Connector Pinout

The J-Link and J-Trace JTAG connector is also compatible to cJTAG.

The following table lists the J-Link / J-Trace cJTAG pinout.

PinSignalTypeDescription
1VTrefInputThis 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.
2VsupplyNCThis pin is not connected in J-Link. It is reserved for compatibility with other equipment. Connect to Vdd or leave open in target system.
3Not usedNCThis pin is not used by J-Link when operating in cJTAG mode.
5Not usedNCThis pin is not used by J-Link when operating in cJTAG mode.
7TMSCI/OBi-directional data pin. Used to transmit serialized TDI, TMS and TDO data
9TCKCOutputClock 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.
11Not usedNCThis pin is not used by J-Link when operating in cJTAG mode.
13Not UsedNCThis pin is not used by J-Link when operating in cJTAG mode.
15nRESETI/OTarget CPU reset signal. Typically connected to the RESET pin of the target CPU, which is typically called "nRST", "nRESET" or "RESET". This signal is an active low signal.
17Not usedNCThis pin is not connected in J-Link.
195V-SupplyOutputThis pin can be used to supply power to some eval boards.

Pins 4, 6, 8, 10, 12, 14, 16, 18, 20 are GND pins connected to GND in J-Link. They should also be connected to GND in the target system.

181129 cJTAG
*On later J-Link products like the J-Link ULTRA+, these pins are reserved for firmware extension purposes. They can be left open or connected to GND in normal debug environment. They are not essential for cJTAG in general.

Headquarters

SEGGER Microcontroller GmbH

Ecolab-Allee 5
40789 Monheim am Rhein, Germany
info@segger.com
Tel.: +49-2173-99312-0
Fax: +49-2173-99312-28

Locations

USA: SEGGER Microcontroller Systems LLC

Boston area
101 Suffolk Lane
Gardner, MA 01440, USA
us-east@segger.com
Tel.: +1-978-874-0299
Fax: +1-978-874-0599

Silicon Valley
Milpitas, CA 95035, USA
us-west@segger.com
Tel.: +1-408-767-4068

China: SEGGER Microcontroller China Co., Ltd.

Room 218, Block A, Dahongqiaoguoji
No. 133 Xiulian Road
Minhang District, Shanghai 201199, China
china@segger.com
Tel.: +86-133-619-907-60

ISO 9001 certified

ISO 9001

30+ years of experience

First-class embedded software tools since 1992
  • Imprint
  • Disclaimer
  • Privacy Policy
© 2025 SEGGER - All rights reserved.