Research Careers Contact

GlossaryBoundary scan

Boundary scan

Boundary scan is a test method, defined by IEEE 1149.1 (JTAG), that uses a serial test bus and test cells built into chips to control and read their pins. It tests connections between chips on an assembled board without physical probes on each net.

How it works

A scan-capable chip has a boundary-scan cell between its core logic and each pin, chained into a shift register. The test access port has four required signals, TCK, TMS, TDI and TDO, plus an optional reset. A test controller shifts patterns into the chain, drives chosen pins high or low, and reads back what other pins see. If a net between two chips is open or shorted to another net, the pattern comes back wrong, and software names the net and pins.

Each chip's scan features are described in a BSDL file, which test software combines with the netlist to generate tests automatically.

Boundary scan vs in-circuit test

In-circuit test reaches nets with physical probes or fixture pins. Boundary scan reaches them from inside the chips through the test bus. Boundary scan works where probes cannot go, such as nets under a BGA, but only on nets connected to scan-capable pins. It does not measure analog values. Many flows use both.

Why it matters

Dense boards leave little room for test points. BGAs hide their joints from AOI and their nets from probes. X-ray inspection shows the joints, and boundary scan shows whether each net connects. Boundary scan restores test coverage on those digital interconnects with only a small header or a few pads. It also gives a path to program flash, FPGAs and microcontrollers during test.

On some boards, flying probe test or a test-pad plan still covers nets and parts that have no scan cells.

How to get it right

  • Design the chain on purpose. Route TCK, TMS, TDI and TDO correctly, bring out a header or test pads, and do not leave devices off the chain by accident. This is part of design for test.
  • Use it where probes cannot go. It is strongest on digital interconnects between scan-capable parts. Analog nets and parts without scan cells still need probes or a functional test.
  • Get the BSDL files early. Test generation depends on them.

Boundary scan in robotics and drone hardware

Robot compute boards and drone flight controllers carry BGA processors, FPGAs and memory on dense, multilayer boards with little room for probes. Boundary scan checks the processor-to-memory and processor-to-peripheral connections that matter most, and the same port loads firmware. It is one of the most practical test tools for small, dense boards built in small lots.

Learn more