SlideShare ist ein Scribd-Unternehmen logo
1 von 21
Downloaden Sie, um offline zu lesen
JTAG


(JOINT TEST ACTION GROUP)

            By
      Arthi Varadarajan
    (avaradar@uncc.edu)
Topics Discussed….

n   BED OF NAILS(BON TESTER)
n   What is JTAG ???
n   Advantages
n   Boundary Scan logic and Architecture
n   Real JTAG Applications
BED OF NAILS FIXTURE

n   PCB Testing was done using Bed of
    Nails in circuit testing
INCREASED PROBLEM OF TEST
Circuit Complexity
DEVELOPMENT COST
JTAG (1149.1 STANDARD)

    IEEE 1149.1, a standard 4 wire serial protocol
    protocol that established the details of access to
    any chip with a JTAG port .

n   Boundary scan testing of Integrated Circuits(IC’s) and boards.
n   Debug Embedded devices.
n   System level debug capability
What can it be used for?

    The standard defines instructions that can be used to perform :


n    Functional Tests
n    Interconnect tests
n    Built-in self test procedures.
Advantages


n   The need for physical test points on the board is eliminated
    leading to significant savings as a result of simpler board
    layouts.

n   Less costly test fixtures.

n   reduced time on in-circuit test systems.

n   increased use of standard interfaces.

n   faster time-to-market.
Boundary Scan

n   What is Boundary Scan?

    Boundary scan is a methodology allowing complete
    controllability and observability of the boundary pins of a JTAG
    compatible device via software control.
Boundary Scan Architecture
BOUNDARY SCAN PRINCIPLE

n    How does it work?

     The top level schematic of the test logic defined by IEEE Std 1149.1 includes
     three key blocks:

    The TAP Controller
     This responds to the control sequences supplied through the test access port
     (TAP) and generates the clock and control signals required for correct
     operation of the other circuit blocks.

    The Instruction Register
     This shift register-based circuit is serially loaded with the instruction that
     selects an operation to be performed.

    The Data Registers
     These are a bank of shift register based circuits. The stimuli required by an
     operation are serially loaded into the data registers selected by the current
     instruction. Following execution of the operation, results can be shifted out for
     examination.
JTAG Test Access Port


n   The JTAG Test Access Port (TAP) contains four pins that
    drive the circuit blocks and control the operations specified.
    The TAP facilitates the serial loading and unloading of
    instructions and data.
    The four pins of the TAP are:

n       TMS – Test Mode Select
n       TCK – Test Clock
n       TDI - Test Data Input
n       TDO – Test Data Output
JTAG Test Access Port (Contd)

The function of each TAP pin is as follows:
n   TCK - this pin is the JTAG test clock. It sequences
    the TAP controller as well as all of the JTAG
    registers

n   TMS - this pin is the mode input signal to the TAP
    Controller. The state of TMS at the rising edge of
    TCK determines the sequence of states for the TAP
    controller.
JTAG Test Access Port
                     (Contd)
n   TDI - this pin is the serial data input to all JTAG
    instruction and data registers. TDI is sampled into the
    JTAG registers on the rising edge of TCK.



n   TDO - this pin is the serial data output for all JTAG instruction and
    data registers.. TDO changes state on the falling edge of TCK and
    is only active during the shifting of data through the device. This pin
    is three-stated at all other times
JTAG TAP Controller


         The JTAG TAP Controller is a
1.       16-state finite state machine, that controls the scanning of
         data into the various registers of the JTAG architecture.
2.       The state of the TMS pin at the rising edge of TCK is
         responsible for determining the sequence of state transitions.
3.       There are two state transition paths for scanning the signal at
         TDI in to the device,

     ¡      one for shifting in an instruction to the instruction register ,and ,
     ¡       one for shifting data into the active data register as determined
            by the current instruction.
JTAG TAP Controller logic
Data Registers
n   The Device ID register (IDR) reads-out an
    identification number which is hardwired into the
    chip.

n   The Bypass register (BR) is a 1-cell pass-through
    register which connects the TDI to the TDO with a
    1-clock delay to give test equipment easy access to
    another device in the test chain on the same board.

n   The Boundary Scan register (BSR), intercepts all
    the signals between the core-logic and the pins.
Test Process

    The standard test process for verifying a device or
     circuit board using boundary-scan technology is as
     follows:
n    The tester applies test or diagnostic data on the
     input pins of the device.
n    The boundary-scan cells capture the data in the
     boundary scan registers monitoring the input pins.
n    Data is scanned out of the device via the TDO pin,
     for verification.
n    Data can then be scanned into the device via the
     TDI pin.
n    The tester can then verify data on the output pins of
     the device.
REAL JTAG APPLICATIONS
References

n   http://www.ee.ic.ac.uk/pcheung/teachi
    ng/ee3_DSD/ti_jtag_seminar.pdf
n   http://www.inaccessnetworks.com/proj
    ects/ianjtag/jtag-intro/jtag-intro.html
n   http://toolbox.xilinx.com/docsan/3_1i/d
    ata/common/jtg/dppa/appa.htm

Weitere ähnliche Inhalte

Was ist angesagt?

SOC Verification using SystemVerilog
SOC Verification using SystemVerilog SOC Verification using SystemVerilog
SOC Verification using SystemVerilog Ramdas Mozhikunnath
 
Spartan-II FPGA (xc2s30)
Spartan-II FPGA (xc2s30)Spartan-II FPGA (xc2s30)
Spartan-II FPGA (xc2s30)A B Shinde
 
Fpga(field programmable gate array)
Fpga(field programmable gate array) Fpga(field programmable gate array)
Fpga(field programmable gate array) Iffat Anjum
 
I2C Bus (Inter-Integrated Circuit)
I2C Bus (Inter-Integrated Circuit)I2C Bus (Inter-Integrated Circuit)
I2C Bus (Inter-Integrated Circuit)Varun Mahajan
 
Verification Engineer - Opportunities and Career Path
Verification Engineer - Opportunities and Career PathVerification Engineer - Opportunities and Career Path
Verification Engineer - Opportunities and Career PathRamdas Mozhikunnath
 
42 PPT-5 BOUNDARY SCAN....pptx
42 PPT-5 BOUNDARY SCAN....pptx42 PPT-5 BOUNDARY SCAN....pptx
42 PPT-5 BOUNDARY SCAN....pptxsaisudheerkotta
 
Introduction to pic microcontroller
Introduction to pic microcontrollerIntroduction to pic microcontroller
Introduction to pic microcontrollerSiva Kumar
 
Design for testability and automatic test pattern generation
Design for testability and automatic test pattern generationDesign for testability and automatic test pattern generation
Design for testability and automatic test pattern generationDilip Mathuria
 
Challenges in Using UVM at SoC Level
Challenges in Using UVM at SoC LevelChallenges in Using UVM at SoC Level
Challenges in Using UVM at SoC LevelDVClub
 
ATPG Methods and Algorithms
ATPG Methods and AlgorithmsATPG Methods and Algorithms
ATPG Methods and AlgorithmsDeiptii Das
 
System verilog assertions
System verilog assertionsSystem verilog assertions
System verilog assertionsHARINATH REDDY
 

Was ist angesagt? (20)

SOC Verification using SystemVerilog
SOC Verification using SystemVerilog SOC Verification using SystemVerilog
SOC Verification using SystemVerilog
 
ASIC design verification
ASIC design verificationASIC design verification
ASIC design verification
 
Spartan-II FPGA (xc2s30)
Spartan-II FPGA (xc2s30)Spartan-II FPGA (xc2s30)
Spartan-II FPGA (xc2s30)
 
dft
dftdft
dft
 
Fpga(field programmable gate array)
Fpga(field programmable gate array) Fpga(field programmable gate array)
Fpga(field programmable gate array)
 
I2C Protocol
I2C ProtocolI2C Protocol
I2C Protocol
 
I2C Bus (Inter-Integrated Circuit)
I2C Bus (Inter-Integrated Circuit)I2C Bus (Inter-Integrated Circuit)
I2C Bus (Inter-Integrated Circuit)
 
Verification Engineer - Opportunities and Career Path
Verification Engineer - Opportunities and Career PathVerification Engineer - Opportunities and Career Path
Verification Engineer - Opportunities and Career Path
 
42 PPT-5 BOUNDARY SCAN....pptx
42 PPT-5 BOUNDARY SCAN....pptx42 PPT-5 BOUNDARY SCAN....pptx
42 PPT-5 BOUNDARY SCAN....pptx
 
UVM TUTORIAL;
UVM TUTORIAL;UVM TUTORIAL;
UVM TUTORIAL;
 
Spyglass dft
Spyglass dftSpyglass dft
Spyglass dft
 
Introduction to pic microcontroller
Introduction to pic microcontrollerIntroduction to pic microcontroller
Introduction to pic microcontroller
 
Design for testability and automatic test pattern generation
Design for testability and automatic test pattern generationDesign for testability and automatic test pattern generation
Design for testability and automatic test pattern generation
 
Challenges in Using UVM at SoC Level
Challenges in Using UVM at SoC LevelChallenges in Using UVM at SoC Level
Challenges in Using UVM at SoC Level
 
ARM CORTEX M3 PPT
ARM CORTEX M3 PPTARM CORTEX M3 PPT
ARM CORTEX M3 PPT
 
ATPG Methods and Algorithms
ATPG Methods and AlgorithmsATPG Methods and Algorithms
ATPG Methods and Algorithms
 
Design for Testability
Design for Testability Design for Testability
Design for Testability
 
Scan insertion
Scan insertionScan insertion
Scan insertion
 
System verilog assertions
System verilog assertionsSystem verilog assertions
System verilog assertions
 
SOC design
SOC design SOC design
SOC design
 

Ähnlich wie Jtag presentation

Design of IEEE 1149.1 Tap Controller IP Core
Design of IEEE 1149.1 Tap Controller IP Core Design of IEEE 1149.1 Tap Controller IP Core
Design of IEEE 1149.1 Tap Controller IP Core csandit
 
DESIGN OF IEEE 1149.1 TAP CONTROLLER IP CORE
DESIGN OF IEEE 1149.1 TAP CONTROLLER IP COREDESIGN OF IEEE 1149.1 TAP CONTROLLER IP CORE
DESIGN OF IEEE 1149.1 TAP CONTROLLER IP COREcscpconf
 
Level sensitive scan design(LSSD) and Boundry scan(BS)
Level sensitive scan design(LSSD) and Boundry scan(BS)Level sensitive scan design(LSSD) and Boundry scan(BS)
Level sensitive scan design(LSSD) and Boundry scan(BS)Praveen Kumar
 
IRJET- PCB Test, Debug & Programming Made Easy with Universal Test Jig
IRJET-  	  PCB Test, Debug & Programming Made Easy with Universal Test JigIRJET-  	  PCB Test, Debug & Programming Made Easy with Universal Test Jig
IRJET- PCB Test, Debug & Programming Made Easy with Universal Test JigIRJET Journal
 
Boundary Scan Basics - x1149 de Keysight
Boundary Scan Basics - x1149 de KeysightBoundary Scan Basics - x1149 de Keysight
Boundary Scan Basics - x1149 de KeysightInterlatin
 
design and testability.pptx
design and testability.pptxdesign and testability.pptx
design and testability.pptx19445KNithinbabu
 
Lorenzo 1210 features
Lorenzo 1210   featuresLorenzo 1210   features
Lorenzo 1210 featuresMark Chien
 
Tools using for Repair Electronic devices.pptx.
Tools using for Repair Electronic devices.pptx.Tools using for Repair Electronic devices.pptx.
Tools using for Repair Electronic devices.pptx.Fasial Ghazanfar
 
Pin pointpresentation
Pin pointpresentationPin pointpresentation
Pin pointpresentationLevan Huan
 
Bhabha atomic research Centre (BARC)
Bhabha atomic research Centre (BARC)Bhabha atomic research Centre (BARC)
Bhabha atomic research Centre (BARC)Utkarsh Tiwari
 
IRJET- Broadcasting Test Patterns to Integrated Circuit Via Single Bidirectio...
IRJET- Broadcasting Test Patterns to Integrated Circuit Via Single Bidirectio...IRJET- Broadcasting Test Patterns to Integrated Circuit Via Single Bidirectio...
IRJET- Broadcasting Test Patterns to Integrated Circuit Via Single Bidirectio...IRJET Journal
 
Applications - embedded systems
Applications - embedded systemsApplications - embedded systems
Applications - embedded systemsDr.YNM
 

Ähnlich wie Jtag presentation (20)

Design of IEEE 1149.1 Tap Controller IP Core
Design of IEEE 1149.1 Tap Controller IP Core Design of IEEE 1149.1 Tap Controller IP Core
Design of IEEE 1149.1 Tap Controller IP Core
 
DESIGN OF IEEE 1149.1 TAP CONTROLLER IP CORE
DESIGN OF IEEE 1149.1 TAP CONTROLLER IP COREDESIGN OF IEEE 1149.1 TAP CONTROLLER IP CORE
DESIGN OF IEEE 1149.1 TAP CONTROLLER IP CORE
 
JTAG-Technical-Primer.pdf
JTAG-Technical-Primer.pdfJTAG-Technical-Primer.pdf
JTAG-Technical-Primer.pdf
 
JTAG
JTAGJTAG
JTAG
 
Jtagppt
JtagpptJtagppt
Jtagppt
 
Level sensitive scan design(LSSD) and Boundry scan(BS)
Level sensitive scan design(LSSD) and Boundry scan(BS)Level sensitive scan design(LSSD) and Boundry scan(BS)
Level sensitive scan design(LSSD) and Boundry scan(BS)
 
IRJET- PCB Test, Debug & Programming Made Easy with Universal Test Jig
IRJET-  	  PCB Test, Debug & Programming Made Easy with Universal Test JigIRJET-  	  PCB Test, Debug & Programming Made Easy with Universal Test Jig
IRJET- PCB Test, Debug & Programming Made Easy with Universal Test Jig
 
Prezentare tcs2011
Prezentare tcs2011Prezentare tcs2011
Prezentare tcs2011
 
What is JTAG..pdf
What is JTAG..pdfWhat is JTAG..pdf
What is JTAG..pdf
 
What is JTAG?
What is JTAG?What is JTAG?
What is JTAG?
 
JTAG
JTAGJTAG
JTAG
 
Boundary Scan Basics - x1149 de Keysight
Boundary Scan Basics - x1149 de KeysightBoundary Scan Basics - x1149 de Keysight
Boundary Scan Basics - x1149 de Keysight
 
design and testability.pptx
design and testability.pptxdesign and testability.pptx
design and testability.pptx
 
Lorenzo 1210 features
Lorenzo 1210   featuresLorenzo 1210   features
Lorenzo 1210 features
 
Tools using for Repair Electronic devices.pptx.
Tools using for Repair Electronic devices.pptx.Tools using for Repair Electronic devices.pptx.
Tools using for Repair Electronic devices.pptx.
 
Pin pointpresentation
Pin pointpresentationPin pointpresentation
Pin pointpresentation
 
Bhabha atomic research Centre (BARC)
Bhabha atomic research Centre (BARC)Bhabha atomic research Centre (BARC)
Bhabha atomic research Centre (BARC)
 
Soc.pptx
Soc.pptxSoc.pptx
Soc.pptx
 
IRJET- Broadcasting Test Patterns to Integrated Circuit Via Single Bidirectio...
IRJET- Broadcasting Test Patterns to Integrated Circuit Via Single Bidirectio...IRJET- Broadcasting Test Patterns to Integrated Circuit Via Single Bidirectio...
IRJET- Broadcasting Test Patterns to Integrated Circuit Via Single Bidirectio...
 
Applications - embedded systems
Applications - embedded systemsApplications - embedded systems
Applications - embedded systems
 

Jtag presentation

  • 1. JTAG (JOINT TEST ACTION GROUP) By Arthi Varadarajan (avaradar@uncc.edu)
  • 2. Topics Discussed…. n BED OF NAILS(BON TESTER) n What is JTAG ??? n Advantages n Boundary Scan logic and Architecture n Real JTAG Applications
  • 3. BED OF NAILS FIXTURE n PCB Testing was done using Bed of Nails in circuit testing
  • 7. JTAG (1149.1 STANDARD) IEEE 1149.1, a standard 4 wire serial protocol protocol that established the details of access to any chip with a JTAG port . n Boundary scan testing of Integrated Circuits(IC’s) and boards. n Debug Embedded devices. n System level debug capability
  • 8. What can it be used for? The standard defines instructions that can be used to perform : n Functional Tests n Interconnect tests n Built-in self test procedures.
  • 9. Advantages n The need for physical test points on the board is eliminated leading to significant savings as a result of simpler board layouts. n Less costly test fixtures. n reduced time on in-circuit test systems. n increased use of standard interfaces. n faster time-to-market.
  • 10. Boundary Scan n What is Boundary Scan? Boundary scan is a methodology allowing complete controllability and observability of the boundary pins of a JTAG compatible device via software control.
  • 12. BOUNDARY SCAN PRINCIPLE n How does it work? The top level schematic of the test logic defined by IEEE Std 1149.1 includes three key blocks: The TAP Controller This responds to the control sequences supplied through the test access port (TAP) and generates the clock and control signals required for correct operation of the other circuit blocks. The Instruction Register This shift register-based circuit is serially loaded with the instruction that selects an operation to be performed. The Data Registers These are a bank of shift register based circuits. The stimuli required by an operation are serially loaded into the data registers selected by the current instruction. Following execution of the operation, results can be shifted out for examination.
  • 13. JTAG Test Access Port n The JTAG Test Access Port (TAP) contains four pins that drive the circuit blocks and control the operations specified. The TAP facilitates the serial loading and unloading of instructions and data. The four pins of the TAP are: n TMS – Test Mode Select n TCK – Test Clock n TDI - Test Data Input n TDO – Test Data Output
  • 14. JTAG Test Access Port (Contd) The function of each TAP pin is as follows: n TCK - this pin is the JTAG test clock. It sequences the TAP controller as well as all of the JTAG registers n TMS - this pin is the mode input signal to the TAP Controller. The state of TMS at the rising edge of TCK determines the sequence of states for the TAP controller.
  • 15. JTAG Test Access Port (Contd) n TDI - this pin is the serial data input to all JTAG instruction and data registers. TDI is sampled into the JTAG registers on the rising edge of TCK. n TDO - this pin is the serial data output for all JTAG instruction and data registers.. TDO changes state on the falling edge of TCK and is only active during the shifting of data through the device. This pin is three-stated at all other times
  • 16. JTAG TAP Controller The JTAG TAP Controller is a 1. 16-state finite state machine, that controls the scanning of data into the various registers of the JTAG architecture. 2. The state of the TMS pin at the rising edge of TCK is responsible for determining the sequence of state transitions. 3. There are two state transition paths for scanning the signal at TDI in to the device, ¡ one for shifting in an instruction to the instruction register ,and , ¡ one for shifting data into the active data register as determined by the current instruction.
  • 18. Data Registers n The Device ID register (IDR) reads-out an identification number which is hardwired into the chip. n The Bypass register (BR) is a 1-cell pass-through register which connects the TDI to the TDO with a 1-clock delay to give test equipment easy access to another device in the test chain on the same board. n The Boundary Scan register (BSR), intercepts all the signals between the core-logic and the pins.
  • 19. Test Process The standard test process for verifying a device or circuit board using boundary-scan technology is as follows: n The tester applies test or diagnostic data on the input pins of the device. n The boundary-scan cells capture the data in the boundary scan registers monitoring the input pins. n Data is scanned out of the device via the TDO pin, for verification. n Data can then be scanned into the device via the TDI pin. n The tester can then verify data on the output pins of the device.
  • 21. References n http://www.ee.ic.ac.uk/pcheung/teachi ng/ee3_DSD/ti_jtag_seminar.pdf n http://www.inaccessnetworks.com/proj ects/ianjtag/jtag-intro/jtag-intro.html n http://toolbox.xilinx.com/docsan/3_1i/d ata/common/jtg/dppa/appa.htm