What are the various JTAG Instructions used in Boundary Scan ?
The prerequisite to understand JTAG Instructions are JTAG and its components ; which has been discussed in a post linked below:
The IEEE 1149.1 standardizes the use of certain instruction so as to perform Boundary Scan related operations/tests. They can be divided into two categories:
Every instruction has an instruction code and first we need to load that instruction code using the TAP controller to perform that particular operation.
The steps of how to load an instruction has been discussed in a article linked below:
The JTAG specified instruction codes are:
Now let us study the mandatory instructions and intest in detail:
EXTEST
Steps for EXTEST instruction:
Step1: Scan in chip#1 : shiftDR = 1 , clockDR.....
Step2: Update chip#1 : updateDR
Step3: Capture chip#2 : shiftDR = 0 , clockDR....
Step4: Scan out chip #2 : shiftDR = 1 , clockDR.....
Keep mode signal always 1
BYPASS
???????????????????????????????????????????????????SAMPLE/PRELOAD
领英推荐
Steps for SAMPLE instruction:
Step1: Capture : shiftDR = 0 , clockDR
Step1: Capture : shiftDR = 1 , clockDR.......
Mode signal is kept to 0 so that this operation does not interfere with normal operation of the chip
Steps for PRELOAD instruction:
Step1: Scan in : shiftDR = 1 , clockDR......
Step1: Update : updateDR
Mode signal is kept to 0 so as to isolate system logic
???????????????????????????????????????????????????INTEST
Steps for INTEST instruction:
Step1: Scan in : shiftDR = 1 , clockDR.....
Step2: Update input BSR : updateDR
Step3: Capture output BSR : shiftDR = 0 , clockDR
Step4: Scan out : shiftDR = 1 , clockDR.....
Keep mode signal always 1
Sources:
Semicon Shots
Wikipedia
Prom CM Li, NTU Lectures