JTAG
acronymKept in this browser · My desk
Stands for: Joint Test Action Group
The Joint Test Action Group (JTAG) port, standardized as IEEE 1149.1: four or five pins (TCK, TMS, TDI, TDO and optional TRST) that drive a test state machine on a chip, created to test boards and later reused for on-chip debugging.
Texas Instruments' primer records that the Joint Test Action Group formed in 1985, grew to over 200 members, and produced IEEE Std 1149.1-1990, adopted in February 1990; the latest revision, IEEE 1149.1-2013, is listed by the IEEE Standards Association as inactive-reserved. The standard defines nine instructions, three required (BYPASS, SAMPLE/PRELOAD, EXTEST), and an optional 32-bit IDCODE register holding a version, a part number and a JEDEC manufacturer code.
Worked identifier. OpenOCD expects 0x3BA00477 from the JTAG port of an STM32F1 microcontroller: version 0x3, part 0xBA00, manufacturer field 0x23B, which OpenOCD splits into bank 4 and identifier 0x3B, the entry for ARM Ltd in JEP106; bit 0 is always 1, which is how scan tools recognize a real test access port. Security. Protection is vendor-specific and not part of the standard: software disable, removed traces, security fuses, passwords, challenge-response or encrypted debug, each of which, Joe Grand's slides note, may be exploited by brute force, timing, glitching or an attack on the silicon die. MITRE catalogues the failure as CWE-1191, and its example CVE-2019-18827 is a JTAG port left enabled during boot ROM execution. Relatives. Arm's Serial Wire Debug keeps the debugging on two wires and drops boundary scan.
Also known as: joint test action group, ieee 1149.1, test access port, jtag port, jtag interface
Sources
- Texas Instruments, IEEE Std 1149.1 (JTAG) Testability Primer, SSYA002C, 1997 (read 2026-11-16): Joint Test Action Group formed in 1985, over 200 members; IEEE Std 1149.1-1990 adopted in February 1990; four extra pins; TAP reset with TMS high for five TCKs; nine instructions, three required; IDCODE layout and JEP106
- IEEE Standards Association, IEEE 1149.1-2013 (read 2026-11-16): approved 6 February 2013, published 13 May 2013, Inactive-Reserved
- OpenOCD, tcl/target/stm32f1x.cfg and src/helper/jep106.h (read 2026-11-16 and 2026-11-17): expected IDCODE 0x3BA00477 over JTAG; manufacturer field split into bank and 7-bit identifier
- Grand Idea Studio, JTAGulator slides, revised 16 September 2018 (read 2026-11-16): on-chip debug as an attack vector; JTAG protection vendor-specific, not part of the standard: software disable, removed traces, fuses, passwords, challenge-response, encryption
- MITRE, CWE-1191, On-Chip Debug and Test Interface With Improper Access Control (read 2026-11-16): the weakness; CVE-2019-18827, JTAG not disabled during ROM code execution