Professional Documents
Culture Documents
JTAG (IEEE 1149.1/P1149.4) Tutorial - Introductory JTAG (IEEE 1149.1/P1149.4) Tutorial - Introductory
Agenda
■ What Is JTAG? (5 minutes)
JTAG ■
■
The Increasing Problem of Test
Conventional Methods of Test
(5 minutes)
(10 minutes)
■ The Boundary-Scan Idea (15 minutes)
(IEEE 1149.1/P1149.4) ■ The Boundary-Scan Architecture (15 minutes)
■ Typical Applications (15 minutes)
Tutorial —
—
Interconnect Testing
Logic Cluster Testing
Introductory ■
—
—
Memory Testing
System-Level Test
Real JTAG Applications (10 minutes)
■ For More Information (5 minutes)
■ Q&A (10 minutes)
AL 10Sept.-97 1149.1(JTAG)-Tut.I-1 1997 TI Test Symposium AL 10Sept.-97 1149.1(JTAG)-Tut.I-2 1997 TI Test Symposium
JTAG (IEEE 1149.1/P1149.4) Tutorial - Introductory JTAG (IEEE 1149.1/P1149.4) Tutorial - Introductory
AL 10Sept.-97 1149.1(JTAG)-Tut.I-3 1997 TI Test Symposium AL 10Sept.-97 1149.1(JTAG)-Tut.I-4 1997 TI Test Symposium
JTAG (IEEE 1149.1/P1149.4) Tutorial - Introductory JTAG (IEEE 1149.1/P1149.4) Tutorial - Introductory
AL 10Sept.-97 1149.1(JTAG)-Tut.I-5 1997 TI Test Symposium AL 10Sept.-97 1149.1(JTAG)-Tut.I-6 1997 TI Test Symposium
JTAG (IEEE 1149.1/P1149.4) Tutorial - Introductory JTAG (IEEE 1149.1/P1149.4) Tutorial - Introductory
The Increasing
Problem of Test
AL 10Sept.-97 1149.1(JTAG)-Tut.I-7 1997 TI Test Symposium AL 10Sept.-97 1149.1(JTAG)-Tut.I-8 1997 TI Test Symposium
JTAG (IEEE 1149.1/P1149.4) Tutorial - Introductory JTAG (IEEE 1149.1/P1149.4) Tutorial - Introductory
1 0 ■ Dissatisfied Customers
1 C1 C1
?
1D 1D
AL 10Sept.-97 1149.1(JTAG)-Tut.I-9 1997 TI Test Symposium AL 10Sept.-97 1149.1(JTAG)-Tut.I-10 1997 TI Test Symposium
JTAG (IEEE 1149.1/P1149.4) Tutorial - Introductory JTAG (IEEE 1149.1/P1149.4) Tutorial - Introductory
Conventional Methods
of Board Test
Functional Test
Conventional (‘Edge-Connector’ Test)
■ Based on board function,
Test manual
AL 10Sept.-97 1149.1(JTAG)-Tut.I-11 1997 TI Test Symposium AL 10Sept.-97 1149.1(JTAG)-Tut.I-12 1997 TI Test Symposium
JTAG (IEEE 1149.1/P1149.4) Tutorial - Introductory JTAG (IEEE 1149.1/P1149.4) Tutorial - Introductory
AL 10Sept.-97 1149.1(JTAG)-Tut.I-13 1997 TI Test Symposium AL 10Sept.-97 1149.1(JTAG)-Tut.I-14 1997 TI Test Symposium
JTAG (IEEE 1149.1/P1149.4) Tutorial - Introductory JTAG (IEEE 1149.1/P1149.4) Tutorial - Introductory
Boundary-Scan
CORE CORE
■ Boundary scan cells bound
each net, providing for
continuity testing
AL 10Sept.-97 1149.1(JTAG)-Tut.I-15 1997 TI Test Symposium AL 10Sept.-97 1149.1(JTAG)-Tut.I-16 1997 TI Test Symposium
JTAG (IEEE 1149.1/P1149.4) Tutorial - Introductory JTAG (IEEE 1149.1/P1149.4) Tutorial - Introductory
J
T
A
G
AL 10Sept.-97 1149.1(JTAG)-Tut.I-17 1997 TI Test Symposium AL 10Sept.-97 1149.1(JTAG)-Tut.I-18 1997 TI Test Symposium
JTAG (IEEE 1149.1/P1149.4) Tutorial - Introductory JTAG (IEEE 1149.1/P1149.4) Tutorial - Introductory
NI (Normal Input)
SO (Serial Output)
■ Chip function need not be
considered for board test
OBSERVE CONTROL
(shorted/open nets)
TEST/DATA
MUX
NO (Normal Output)
■ Test generation is highly CAPTURE/SCAN MUX
supplied or
EDA-generated SI (Serial Input)
AL 10Sept.-97 1149.1(JTAG)-Tut.I-19 1997 TI Test Symposium AL 10Sept.-97 1149.1(JTAG)-Tut.I-20 1997 TI Test Symposium
JTAG (IEEE 1149.1/P1149.4) Tutorial - Introductory JTAG (IEEE 1149.1/P1149.4) Tutorial - Introductory
input value 0 0
TCK
TAP IR Instruction Register
to TCK using TMS for state ONLY
Exit 2-DR Exit 2-IR — UPDATE
Controller
selection 1 1
Update-DR Update-IR
1 0 1 0
AL 10Sept.-97 1149.1(JTAG)-Tut.I-21 1997 TI Test Symposium AL 10Sept.-97 1149.1(JTAG)-Tut.I-22 1997 TI Test Symposium
JTAG (IEEE 1149.1/P1149.4) Tutorial - Introductory JTAG (IEEE 1149.1/P1149.4) Tutorial - Introductory
CORE Input data captured in BSC scan CORE Input pin data and core logic
latches prior to shift operation output data captured in BSC
scan latches
■ Shift operation allows test
response to be observed at TDO ■ Shift operation allows test
ID Register ID Register
TDI TDO
while next test stimulus inserted TDI TDO response to be observed while
Bypass Register
at TDI Bypass Register
next test stimulus inserted at
TMS
DR Decode Logic TMS
DR Decode Logic TDI
TAP
Following shift operation, new TAP
TCK IR TCK IR Instruction Register
Controller
Instruction Register
test stimulus transferred to BSC Controller Following shift operation,
update latches new stimulus transferred to
BSC update latches
AL 10Sept.-97 1149.1(JTAG)-Tut.I-23 1997 TI Test Symposium AL 10Sept.-97 1149.1(JTAG)-Tut.I-24 1997 TI Test Symposium
JTAG (IEEE 1149.1/P1149.4) Tutorial - Introductory JTAG (IEEE 1149.1/P1149.4) Tutorial - Introductory
TMS
DR Decode Logic ■ Mandatory that an all-ones
TCK
TAP
Controller
IR Instruction Register value updated into the IR
decodes to Bypass, as well as
any opcodes which are
otherwise undefined
AL 10Sept.-97 1149.1(JTAG)-Tut.I-25 1997 TI Test Symposium AL 10Sept.-97 1149.1(JTAG)-Tut.I-26 1997 TI Test Symposium
JTAG (IEEE 1149.1/P1149.4) Tutorial - Introductory JTAG (IEEE 1149.1/P1149.4) Tutorial - Introductory
AL 10Sept.-97 1149.1(JTAG)-Tut.I-27 1997 TI Test Symposium AL 10Sept.-97 1149.1(JTAG)-Tut.I-28 1997 TI Test Symposium
JTAG (IEEE 1149.1/P1149.4) Tutorial - Introductory JTAG (IEEE 1149.1/P1149.4) Tutorial - Introductory
scannable chips
Address
Microprocessor
(Non-Scan)
Buffer Buffer
LOGIC
outputs Control
AL 10Sept.-97 1149.1(JTAG)-Tut.I-29 1997 TI Test Symposium AL 10Sept.-97 1149.1(JTAG)-Tut.I-30 1997 TI Test Symposium
JTAG (IEEE 1149.1/P1149.4) Tutorial - Introductory JTAG (IEEE 1149.1/P1149.4) Tutorial - Introductory
■ BIST methods (PRPG/PSA) can 2A3 2Y3 IEEE 1149.1 Time To Apply 0.000041 Seconds < 0.01 Minutes
2Y4
Data be used for increased test 2A4 (with BIST Scans 7 28,000
G2 capability) Patterns 512 2,000,000
throughput G1
TDO TDI
TMS TCK
AL 10Sept.-97 1149.1(JTAG)-Tut.I-31 1997 TI Test Symposium AL 10Sept.-97 1149.1(JTAG)-Tut.I-32 1997 TI Test Symposium
JTAG (IEEE 1149.1/P1149.4) Tutorial - Introductory JTAG (IEEE 1149.1/P1149.4) Tutorial - Introductory
System-Level Test
■
System-level test
System design verification
Real JTAG
A A A
S
P
S
P
S
P TDO
TDI
TMS
TCK
■
■
Sys integration (Mfg test)
Sys self-test (Field Svc)
Applications
■ Supports in place board test and
board-to-board test
■ Allows reuse of device/
board test data
✦ ASP-Addressable Scan Port Device
AL 10Sept.-97 1149.1(JTAG)-Tut.I-33 1997 TI Test Symposium AL 10Sept.-97 1149.1(JTAG)-Tut.I-34 1997 TI Test Symposium
JTAG (IEEE 1149.1/P1149.4) Tutorial - Introductory JTAG (IEEE 1149.1/P1149.4) Tutorial - Introductory
T E S T — Hardware/software integration
— Can be used in standard system
CORE BIST
■
— Field test/diagnostics
AL 10Sept.-97 1149.1(JTAG)-Tut.I-35 1997 TI Test Symposium AL 10Sept.-97 1149.1(JTAG)-Tut.I-36 1997 TI Test Symposium
JTAG (IEEE 1149.1/P1149.4) Tutorial - Introductory JTAG (IEEE 1149.1/P1149.4) Tutorial - Introductory
coverage/diagnostic without
J diagnostics
T
large capital expense A — Built-in self-test
G
— Highly automated test — In-field upgradability
AL 10Sept.-97 1149.1(JTAG)-Tut.I-37 1997 TI Test Symposium AL 10Sept.-97 1149.1(JTAG)-Tut.I-38 1997 TI Test Symposium
JTAG (IEEE 1149.1/P1149.4) Tutorial - Introductory JTAG (IEEE 1149.1/P1149.4) Tutorial - Introductory
AL 10Sept.-97 1149.1(JTAG)-Tut.I-40 1997 TI Test Symposium AL 10Sept.-97 1149.1(JTAG)-Tut.I-42 1997 TI Test Symposium
JTAG (IEEE 1149.1/P1149.4) Tutorial - Introductory JTAG (IEEE 1149.1/P1149.4) Tutorial - Introductory
Tutorials/Handbooks Abbreviations/Acronyms
ASIC Application-Specific Integrated Circuit IEEE Institute of Electrical & Electronics Engineers IR
ASP Addressable Scan Port Instruction Register
■ The Test Access Port and Boundary-Scan Architecture, Colin M. Maunder, Rodham
ATE Automatic Test Equipment ISP In-System Programming
E. Tulloss, ed., IEEE CS Press, ISBN 0-8186-9070-4.
ATPG Automatic Test Pattern Generation JTAG Joint Test Action Group
— Edited by two principal chairs of the IEEE 1149.1 working group, this
BIST Built-In Self-Test MCM Multi-Chip Module
Computer Society tutorial compiles several of the seminal papers on boundary- Mfg Manufacturing
B/S Boundary-Scan
scan along with several invited papers on various topics including applications, PCB Printed Circuit Board
BSC Boundary-Scan Cell
implementation, and others. It will primarily be of interest to the design and/or PLD Programmable Logic Device
BSDL Boundary-Scan Description Language
test engineer.
BSR Boundary-Scan Register PRPG Pseudo-Random Pattern Generation
■ The Boundary-Scan Handbook, Kenneth P. Parker, Kluwer Academic Publishers, PSA Parallel Signature Analysis
BST Boundary-Scan Test
ISBN 0-7923-9270-1. PWB Printed Wiring Board
CAE Computer-Aided Engineering
— Authored by the principal force behind the Boundary-Scan Description SPL Scan Path Linker
DFT Design-for-Test
Language (BSDL) and an IEEE 1149.1 working group principal as well as a DR Data Register SVF Serial Vector Format
long time manufacturing and design-for-test expert, this is truly considered DSP Digital Signal Processing/Processor TAP Test Access Port
THE indispensable handbook on boundary scan for the design and/or test TBC Test Bus Controller
EDA Electronic Design Automation
engineer. TCK Test Clock
eTBC Embedded Test Bus Controller
■ Boundary-Scan Test - A Practical Approach, Harry Bleeker, Peter van den Eijnden, TDI Test Data Input
FPGA Field-Programmable Gate Array
Frans de Jong, Kluwer Academic Publishers, ISBN 0-792-9296-5. HSDL Hierarchical Scan Description Language TDO Test Data Output
— Authored by several JTAG and IEEE 1149.1 working group principals, this TMS Test Mode Select
ICE In-Circuit Emulation
book is a ready reference to boundary-scan technology, its benefits, and ICT In-Circuit Test TRST Test Reset
considerations for design and test managers and engineers. UUT Unit Under Test
AL 10Sept.-97 1149.1(JTAG)-Tut.I-43 1997 TI Test Symposium AL 10Sept.-97 1149.1(JTAG)-Tut.I-46 1997 TI Test Symposium