hackingsecuritynetworking

Kept 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

← Back to J Back to the glossary