boundary scan
termKept in this browser · My desk
A board-test method in which a shift register built around a chip's pins can set and read each pin through the JTAG port, so connections between chips can be tested without physical probes.
JTAG was created for it: the Boundary Scan Register intercepts the signals between a chip's core logic and its pins, invisibly in normal operation, and in test mode lets a tester drive and sample the pins. The required instructions SAMPLE/PRELOAD and EXTEST use it, and each chip's identification code links it to a Boundary Scan Description Language (BSDL) file describing its cells.
Why it mattered. Texas Instruments' 1997 primer shows test-program development time growing from months to up to two years by 1987 to 1990, and dense boards that probes could no longer reach; boundary scan made connectivity testing a matter of shifting bits. Security relevance. Because EXTEST can drive a chip's pins, boundary scan can toggle signals or read buses on a powered board even when the processor is not cooperating, which is one reason JTAG ports are disabled on production devices. Limits. Arm's Serial Wire Debug, as OpenOCD notes, is debug-oriented and does not support boundary scan.
Also known as: boundary-scan register, bsr, bsdl, boundary scan description language
Sources
- XJTAG, JTAG: A technical overview (read 2026-11-16): the Boundary Scan Register intercepts the signals between core logic and pins and can set and read pin values in test mode; IDCODE links a device to its BSDL file
- Texas Instruments, IEEE Std 1149.1 (JTAG) Testability Primer, SSYA002C, 1997 (read 2026-11-16): the board-test problem behind the standard; BYPASS, SAMPLE/PRELOAD and EXTEST required
- OpenOCD User's Guide, Debug Adapter Configuration, 8.3.2 SWD Transport (read 2026-11-17): SWD is debug-oriented and does not support boundary scan testing