Why Boundary Scan Needed?
Why Boundary Scan Needed?
Why Boundary Scan Needed?
Internal Scan means stitching internal flops of a system logic in to a scan chain
By this we cannot control system inputs and outputs
In External scan, we stich system inputs and outputs as a chain, so that we can observe and
control system inputs and outputs
External scan is also called Boundary Scan
To perform boundary scan, a standared need to followed as IEEE 1149.1 by all the vendors, So
different chips from the vendors are tested together on a same board
Bridging fault among two chips / Stuck at fault at the interconnect wire
Registers:
Data Register
o Mandatory Registers
Bypass Register (BR)
Boundary Scan Register (BSR)
Instruction Register
Optional Register
o Device ID Register
o Device Specific Register
Registers share same TDI/TDO
Bypass Register:
Input and Output Boudary , Direction of Operation changes for Capture and Update mode
Instruction Register:
Instruction decoder generated Mode , select signals to Data registers
Select signals Control the scan output from the data register
TAP controller generated Clock DR, Shift DR, Update DR to Data register
Clock IR, Shift IR, Update IR to Instruction Register
Clock DR, Clock IR take transition at Rising edge of TCK
Update DR, Update IR take transition at Falling edge of TCK
TDO is available at failing edge of TCK
JTAG Instructions:
Scan In Data in CHIP 1:
Preload : Control system I/O pins by the output flip flop of boundary scan register
Sample:
Suppose we need to observe the 101 at chip 2
RUNBIST targets some register between TDI and TDO as specified by the IC designer.
It may be a dedicated register or it may be an existing register such as the Bypass or Boundary
Registers.
The purpose of this register is to accumulate the result of the self-test so it can be shifted out for
observation
The actual self-test runs when the TAP is placed in the RUN-TEST-IDLE state
The test result is captured by the target register in each component upon passing through
CAPTURE-DR.
Then all results can be shifted out for examination.
IDCODE:
HIGHZ:
It is an optional instruction
By loading an IC with HIGHZ we make it release control of its output nodes
HIGHZ targets the Bypass Register between TDI and TDO, to shorten the shift path
It also causes all output and bidirectional pins to go into high-impedance states.
This switching to a disabled state occurs when HIGHZ becomes effective, upon passing through
UPDATE-IR.
CLAMP:
It is an optional instruction
HIGHZ targets the Bypass Register between TDI and TDO, to shorten the shift path
CLAMP is intended for “digital guarding.”
When testing a board, it is often necessary to force static “0”s or “l”s on selected nodes in order to
set up testable conditions or to block interfering signals
If the nodes of interest are sourced from Boundary-Scan devices that possess the CLAMP
function, then this digital guarding activity can be performed without nail access or potentially
damaging overdrive