LOGBOOK

HELP

Quiz Entry - updated: 2026.11.10

What is the idea behind JTAG boundary scan, and why is it cheaper than a bed-of-needles tester?

Every pin of every chip gets a small test cell inside the chip, and all the cells on the board are wired into one long shift register. A tester clocks bits in and out through a single connector, so it can read or set every pin without touching it.

Three chips on a PC board; boundary-scan cells sit at every pin and form one chain from the JTAG connector's bit stream in, through all three chips, back to bit stream out

* Each cell sits between the chip's logic and its pin. The chain links the cells of all the chips on the board to one connector. *

JTAG is named after the Joint Test Action Group, the industry group that wrote it down as IEEE 1149.1 in 1990. The trick is to move the test equipment from outside the board to inside the chips:

  1. Each chip that supports JTAG has a boundary-scan cell between its internal logic and each of its pins. In normal operation the cell is transparent. In test mode it can capture the value present at the pin or drive a value of its own onto it.
  2. The cells are connected one after another into a shift register, and the chips on the board are connected in a daisy chain: the data output of one chip feeds the data input of the next.
  3. A tester connected to the board's one JTAG connector shifts a pattern in. Chip A drives a 1 on an output pin, chip B captures what arrives on the pin that should be connected to it, and the result is shifted back out. If the bit came back wrong, that trace is broken or shorted.

So the "needles" are now cells inside the silicon. There are no test pads, no custom fixture and no physical contact problems, and pins hidden under a BGA package can be tested too. The board only needs the connector and four traces.

Go deeper:

From Quiz: SIOT / JTAG Debugging with OpenOCD and GDB | Updated: Nov 10, 2026