What is jtag

Last updated: April 1, 2026

Quick Answer: JTAG (Joint Test Action Group) is a technical standard that defines a method for testing and debugging circuits on printed circuit boards through a dedicated communication protocol.

Key Facts

Overview

JTAG is a technical standard developed by the Joint Test Action Group that provides a systematic method for testing and debugging electronic circuits. Originally standardized as IEEE 1149.1 in 1990, JTAG has become an industry standard for accessing internal signals of integrated circuits and printed circuit boards without requiring physical access to every connection point.

How JTAG Works

JTAG operates through a Test Access Port (TAP) that uses four essential signals: TDI (Test Data In), TDO (Test Data Out), TMS (Test Mode Select), and TCK (Test Clock). Data is transmitted serially through these pins, allowing a host computer to communicate with and control testing of the target device. The TAP controller implements a state machine that controls the testing process.

Applications and Uses

JTAG is used for several critical purposes in electronics development:

Advantages and Benefits

JTAG provides significant advantages over traditional testing methods. It requires minimal physical access to test points, reducing the need for complex probe setups. The protocol enables non-intrusive debugging, allowing developers to inspect system state and set breakpoints without stopping execution. JTAG is also standardized across manufacturers, making it a universal interface for embedded development.

JTAG in Modern Development

Today, JTAG is an essential tool in embedded systems development. Nearly all microcontroller and FPGA development boards include JTAG ports. Common JTAG debuggers include Segger J-Link, ST-Link, and various open-source probes that connect computers to target devices for real-time debugging and programming.

Related Questions

How does JTAG differ from SWD?

JTAG uses four pins (TDI, TDO, TMS, TCK) while SWD uses two pins (SWDIO, SWDCLK). SWD requires fewer connections and is simpler but JTAG offers broader compatibility and additional capabilities for boundary scan testing.

What devices support JTAG?

JTAG is supported by most modern microcontrollers, FPGAs, and complex integrated circuits including ARM Cortex processors, STM32 microcontrollers, and various Xilinx and Intel FPGAs.

What is a JTAG debugger?

A JTAG debugger is a hardware device that connects a computer to a target system via the JTAG protocol, enabling real-time debugging, breakpoint setting, and memory programming of embedded systems.

Sources

  1. Wikipedia - JTAG CC-BY-SA-4.0
  2. Texas Instruments - JTAG Overview Public Domain