Skip to main content
FixturFab

Boundary Scan (JTAG) Testing: A Complete Guide

How boundary scan testing uses JTAG to verify connections on complex PCBs with BGAs and limited physical access. When boundary scan is the right choice.

Boundary scan testing uses JTAG (IEEE 1149.1) infrastructure built into modern ICs to verify connections without physical probe access. For boards with BGAs and other fine-pitch packages, boundary scan tests what traditional bed-of-nails fixtures cannot reach.

What Is Boundary Scan?#

Boundary scan is a test method that uses dedicated test cells built into compliant ICs. These cells sit at the boundary between an IC's core logic and its external pins—hence the name.

Through a four-wire JTAG interface (TCK, TMS, TDI, TDO), test equipment can:

  • Set pin states: Drive outputs from any boundary scan-compliant device
  • Capture pin states: Read the value at any input pin
  • Chain devices: Connect multiple ICs through a serial scan chain

This allows testing of interconnections between ICs without physical access to the nodes themselves.

IEEE 1149.1

Boundary scan is standardized as IEEE 1149.1, commonly called JTAG after the Joint Test Action Group that developed it. Most modern FPGAs, processors, and complex digital ICs include boundary scan cells.

How Boundary Scan Works#

A typical boundary scan test sequence:

  1. Chain Detection: The test system identifies all devices in the JTAG chain
  2. Device Identification: Each device reports its ID code, verifying correct parts are installed
  3. Interconnect Testing: The system drives outputs from one device and reads inputs at connected devices
  4. Fault Diagnosis: Stuck-at faults, shorts, and opens are detected and localized

Test times vary based on chain length and test coverage, typically 1-10 seconds for interconnect testing.

What Boundary Scan Tests#

Effective for:

  • Interconnections between JTAG-compliant devices
  • Solder joint integrity at BGA and fine-pitch packages
  • Device presence and correct orientation
  • Short circuits between adjacent pins or traces
  • Open connections on digital nets

Not effective for:

  • Analog components (resistors, capacitors, inductors)
  • Non-JTAG devices
  • Component values (only connectivity is tested)
  • Power supply and ground connections (typically)

When Boundary Scan Makes Sense#

Boundary scan is appropriate when:

  • BGAs dominate your design: You can't physically probe under a BGA—boundary scan accesses these connections
  • Devices support JTAG: Your digital ICs include boundary scan cells (check device BSDL files)
  • Digital interconnects are critical: Memory buses, processor interfaces, and FPGA connections
  • Test point access is limited: High-density boards with minimal exposed test points

Consider alternatives when:

  • Few JTAG-compliant devices on the board
  • Analog functionality is primary
  • Simple designs with good physical test access

Equipment and Setup#

Boundary scan test system: Test equipment from vendors like JTAG Technologies, Goepel, or XJTAG provides the hardware interface and test software.

Requirements:

  • JTAG access to the board (four signals: TCK, TMS, TDI, TDO, plus GND)
  • BSDL (Boundary Scan Description Language) files for each device in the chain
  • Test development software to create and execute tests

Fixture considerations: Boundary scan requires minimal fixturing—often just a connection to the JTAG header and power. However, for production use, a simple fixture provides reliable contact:

Need a JTAG Test Fixture?

Even boundary scan benefits from reliable connections. Configure a fixture with JTAG interface support in FixturFab Studio.

Advantages and Limitations#

Advantages:

  • Tests connections that traditional probing can't reach
  • Minimal fixturing required (just JTAG access)
  • Non-intrusive to device operation
  • Can be used for in-system programming and debugging
  • Tests shorts between adjacent fine-pitch pins

Limitations:

  • Only works on JTAG-compliant devices
  • Doesn't test analog components
  • Requires BSDL files for all devices in chain
  • Some devices have limited boundary scan coverage
  • Test development requires chain design knowledge

Combining Boundary Scan with Other Methods#

Boundary scan works best alongside other test methods:

Boundary Scan + ICT: ICT tests analog components and power connections; boundary scan tests digital interconnects under BGAs. This combination provides comprehensive coverage.

Boundary Scan + Functional Testing: Boundary scan verifies connections; functional testing validates behavior. Together, they catch both manufacturing defects and design issues.

Boundary Scan + AOI: AOI verifies component placement and solder appearance before boundary scan tests electrical connectivity.

Design for Boundary Scan#

To maximize boundary scan effectiveness:

JTAG chain design:

  • Include a dedicated JTAG header or test points
  • Document the chain order and device positions
  • Consider chain partitioning for large designs
  • Include pull-up/pull-down resistors on JTAG signals

Device selection:

  • Choose JTAG-compliant devices when alternatives exist
  • Verify BSDL files are available from manufacturers
  • Consider boundary scan coverage when selecting between similar parts

Documentation:

  • Maintain BSDL library for all chain devices
  • Document chain topology and signal routing
  • Include JTAG testing in design reviews

Best Practices#

Test development:

  • Develop tests early in the design cycle
  • Verify chain continuity before running interconnect tests
  • Include device ID verification as first test step
  • Document limitations and uncovered nets

Production deployment:

  • Combine with other test methods for complete coverage
  • Track yield data to identify recurring defects
  • Use boundary scan data for failure analysis

Key Takeaways#

Boundary scan testing provides access to connections that physical probing cannot reach. For modern boards with BGAs and fine-pitch packages, it's often the only practical way to verify digital interconnects.

The most effective test strategies combine boundary scan with traditional ICT and functional testing—boundary scan handles the unreachable connections, ICT covers analog components and accessible nodes, and functional testing validates overall behavior.

Last updated:January 13, 2025