5.3 Boundary Scan Essentials: JTAG
As component packaging has evolved from traditional through-hole pins to high-density Ball Grid Arrays (
How Boundary Scan Works: The Virtual Probe
Section titled “How Boundary Scan Works: The Virtual Probe”The strength of
When a silicon vendor designs an IC compliant with IEEE 1149.1, they insert a microscopic shift register (a “
- The Test Access Port (TAP): The test station connects to the board via a 4-wire interface: TCK (Test Clock), TMS (Test Mode Select), TDI (Test Data In), and TDO (Test Data Out).
- Taking Control: By manipulating the TMS and TCK lines, the test station prompts the ICs on the board to momentarily disconnect from their normal internal core logic and hand control of their physical external pins over to the
boundary scan cells. - The Shift Operation: The test station shifts a sequence of 1s and 0s (data) serially into the TDI pin. This data ripples through the
boundary scan cells of the connected chips on the board (the “scan chain”). - The Update and Capture: Once the data is in place, the test station issues an “Update” command. The ICs force those 1s and 0s out onto the physical copper traces of the PCB. Simultaneously, the receiving ICs on the other end of those traces “Capture” the incoming signals.
- The Shift Out: Finally, the captured results are shifted serially back out through the TDO pin to the test station.
By comparing the data sent in versus the data shifted out, the test software can verify whether the copper trace connecting the two chips is intact, shorted to ground, or shorted to an adjacent trace—all without touching the trace with a probe.
The Strategic Value of JTAG on the Production Floor
Section titled “The Strategic Value of JTAG on the Production Floor”1. Guaranteeing BGA Integrity
Section titled “1. Guaranteeing BGA Integrity”This is a primary reason
2. In-System Programming (ISP) at Line Speed
Section titled “2. In-System Programming (ISP) at Line Speed”- The Advantage: This reduces the need to pre-program bare chips before SMT assembly, simplifying inventory management and ensuring the latest firmware version is flashed just before the board is functionally tested.
3. Reduced Fixture Complexity
Section titled “3. Reduced Fixture Complexity”Every net tested via
Design for Testability (DFT) Rules for Boundary Scan
Section titled “Design for Testability (DFT) Rules for Boundary Scan”| Design Rule | Engineering Rationale |
|---|---|
| Expose the TAP | The 4 |
| Maintain the Chain | TDO of Chip A should connect to TDI of Chip B, and so on, forming a continuous daisy chain. If the chain is broken by a missing component during assembly, testing cannot proceed smoothly. |
| Buffer the Clock | The TCK (Test Clock) should be distributed cleanly. If the chain is long, buffering TCK helps prevent signal degradation, ensuring all chips shift data reliably. |
| Compliance Pins | Some ICs require specific pins (e.g., reset lines or boot mode selects) to be held High or Low to enable |
Final Checkout: Boundary scan essentials (JTAG)
Section titled “Final Checkout: Boundary scan essentials (JTAG)”| Requirement | Goal / Verification Point | Responsibility |
|---|---|---|
| Chain Architecture | Design Engineer / Test Engineer | |
| Physical Access | A dedicated 5-pin TAP header or robust test pad arrangement must be confirmed to be present, and the PCB layout must align with the fixture’s probe grid. | Design Engineer |
| Coverage Scope | BSCAN must be guaranteed to verify the digital interconnects under | Test Engineer |
| Programming Task | In-line programming of Flash/MCUs must be validated to execute successfully via the | Test Engineer |
| Golden Data | The | Test Engineer |