What is jtag
Last updated: April 1, 2026
Key Facts
- JTAG was standardized in 1990 as IEEE 1149.1 for boundary scan testing
- JTAG uses a Test Access Port (TAP) with four signals: TCO, TDI, TDO, and TMS
- The protocol enables testing and debugging without physical access to all circuit pins
- JTAG is widely adopted for FPGA programming and microcontroller debugging
- JTAG can access internal signals and test memory on integrated circuits
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:
- Testing integrated circuits for manufacturing defects
- Programming and debugging FPGAs (Field Programmable Gate Arrays)
- Debugging microcontrollers and embedded systems
- Boundary scan testing of circuit board connections
- In-circuit programming of flash memory
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.
More What Is in Daily Life
Also in Daily Life
More "What Is" Questions
Trending on WhatAnswers
Browse by Topic
Browse by Question Type
Sources
- Wikipedia - JTAGCC-BY-SA-4.0
- Texas Instruments - JTAG OverviewPublic Domain