How Does Boundary Scan Know How Your Board Is Connected?
The C word stands for Connections – because understanding what is connected to what is fundamental to understanding your PCB. When something doesn’t behave as expected, knowing the intended connections, and being able to test them, can turn thousands of individual nets into meaningful information that helps engineers quickly understand what’s happening on the board.
Over the past few weeks, we’ve explored how Boundary Scan works, why it’s built into so many semiconductor devices and how software uses BSDL (Boundary Scan Description Language) files to understand each device’s Boundary Scan capabilities.
But another question naturally follows.
How does the software know how all of those devices are connected together?
After all, knowing how a boundary scan device works is only part of the picture.
To test a board, you also need to understand the board itself.
One Source of Truth
Every PCB design starts as a schematic, which is much more than a simple drawing of components connected by lines.
The schematic is the authoritative description of the hardware design.
It is used to understand circuit intent, verify interfaces, support development, investigate faults, and confirm that the assembled hardware matches the intended design.
It describes how every device on the PCB is intended to interact with every other device.
It defines:
- Nets
- Components
- Pin connections
- Signal names
- Power domains
- Interfaces
For Boundary Scan software, it’s equally important.
From Devices to the Board
The schematic tells the engineer how devices are connected together. The netlist generated from the schematic tells the Boundary Scan software how the devices connect together.
JTAG devices are described by BSDL files. Non-JTAG devices are modelled or assigned reusable library files.
Only when these three pieces of information are combined does the Boundary Scan software gain a complete understanding of the hardware.
It can determine:
- Which Boundary Scan devices share signals
- Which non-JTAG devices are connected to them
- Which nets can be driven
- Which signals can be observed
This transforms a collection of individual devices into a complete board model.
Turning Design Information into Tests
One of the strengths of Boundary Scan software is that it can use this information to generate meaningful structural tests.
Rather than engineers manually describing every connection, the software understands the design and can automatically determine how many of those connections can be verified. This dramatically reduces the effort required to begin testing a design.
More importantly, it allows engineers to concentrate on understanding the results rather than creating the tests themselves.
More Than Just Connectivity
Understanding the schematic also makes fault diagnosis far more meaningful. When a problem is detected, software doesn’t simply report that a pin has failed.
It can identify:
- The signal name
- The devices involved
- The location of the connection
- The surrounding circuitry
Instead of raw data, engineers receive information they can immediately relate to the design.
That often makes the difference between spending hours interpreting results and understanding the problem within minutes.
Who Does This Benefit
Hardware engineers can use it to debug a design during bring-up and early validation.
Manufacturing teams can use it to quickly diagnose assembly and connectivity faults on the production line.
Test and support engineers rely on it to isolate issues in the field without needing full system access or software to be running.
By working from the same design data used across the engineering lifecycle, Boundary Scan ensures that structural tests remain aligned with the intended behaviour of the product from design through to deployment.
Building on the Design Process
One of the themes we’ve explored throughout this series is reducing uncertainty.
Every stage of Boundary Scan builds on information that already exists.
The semiconductor manufacturer provides the BSDL file. The hardware team creates the schematic / netlist. Boundary Scan software combines those sources to produce meaningful structural tests.
Nothing is guessed. Everything is based on the intended design.
Closing Thought
Boundary Scan is often described as a test technology.
In reality, it is much more than that.
It is a way of transforming the design information already available within a project into practical engineering insight.
The better the software understands the board, the more effectively it can help engineers validate, debug and support it throughout its lifecycle.
Board Design Tip of the Week
Treat your schematic as more than a design document.
It is also the foundation for bring-up, structural testing, manufacturing and long-term support.
Keeping schematics accurate, complete and well organised doesn’t just help during design reviews, it helps every engineer who works on the product throughout its lifetime.
Related Reading
