JTAG Interface Joint Test Action Group Nitesh Bhatia- 200501071 - - PowerPoint PPT Presentation

jtag interface joint test action group
SMART_READER_LITE
LIVE PREVIEW

JTAG Interface Joint Test Action Group Nitesh Bhatia- 200501071 - - PowerPoint PPT Presentation

JTAG Interface Joint Test Action Group Nitesh Bhatia- 200501071 Shaik Khaja Ahmad - 200501074 Outline Background need for JTAG JTAG and Boundary Scan Advantages Atmel ICE mk-II and gdb Real JTAG


slide-1
SLIDE 1

JTAG Interface

Nitesh Bhatia- 200501071 Shaik Khaja Ahmad - 200501074

Joint Test Action Group

slide-2
SLIDE 2

Outline

Background – need for JTAG JTAG and Boundary Scan Advantages Atmel ICE mk-II and gdb Real JTAG Applications

slide-3
SLIDE 3

Bed of Nails fixture

PCB testing was done using Bed of Nails in circuit testing.

slide-4
SLIDE 4

Past to Future – Testing

Miniaturization results in loss of test access

Yesterday Tomorrow Today

slide-5
SLIDE 5

Circuit Complexity / Cost

Increasing integration at chip level complicates

controllability.

Yesterday Today

slide-6
SLIDE 6

JTAG (1149.1 Standard)

IEEE 1149.1, a standard 5-pin serial protocol that

established the details of access to any chip with JTAG port.

Features:

Boundary scan testing of ICs Debug Embedded devices System level debug capability

slide-7
SLIDE 7

JTAG – Boundary Scan

Boundary scan is a

methodology allowing complete controllability and

  • bservablity of the

boundary pins of a JTAG compatible device via software control.

slide-8
SLIDE 8

Boundary Scan Principle

The top level schematic of 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 circuit blocks

The Instruction Register

This shift register-based circuit is serially loaded with the instructions

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.

slide-9
SLIDE 9

What can it be used for

The standard defines instructions that can be used to

perform

Functional Tests Interconnect Tests Built-in self test procedures

slide-10
SLIDE 10

Advantages

Need for physical test points on board is eliminated =>

simpler board layouts

Cheap test fixtures Reduced time on in-circuit test systems Increased use of standard interfaces Faster time-to-market

slide-11
SLIDE 11

Widespread uses

A large proportion of high end embedded systems have a

JTAG port.

The PCI bus connector standard contains optional JTAG

signals (pins 1-5); PCI-Express contains JTAG signals (pins 5-9). A special JTAG card can be used to re-flash a corrupt BIOS.

Almost all FPGAs and CPLDs used today can be

programmed via the JTAG port.

slide-12
SLIDE 12

JTAG Software

Open Source

UrJTAG project supports many JTAG tools, processors, and boards. OpenOCD project supports various inexpensive JTAG adapters

including USB ones based on FT2232 chips, and is mostly used with ARM projects. It provides GDB and telnet interfaces, both from Linux and from MS-Windows.

Freeware

Atmel provides AVR Studio on MS-Windows, for AVR8

microcontrollers, and a cross-platform AVR32studio product to support AVR32 systems.

Xilinx provides lower end FPGA development tools at no cost HappyJTAG2 is embedded JTAG solution with FT2232 chip for AVR8

microcontrollers and Atmel AVR Studio on MS-Windows.

slide-13
SLIDE 13

Working

Source: http://www.corelis.com/products/ScanExpressJET.htm

slide-14
SLIDE 14

JTAG ICE mkII and gdb.

Functions -

Run Stop Step Write to Registers and memory Read from Registers and memory Exchange parameters with the JTAG host Display CPU status

Refer: http://www.youtube.com/watch?v=IwPWq9m0M6w

slide-15
SLIDE 15

Real applications

Design Verification/Debug

Provides control and observation of system under test without

need for physical access

Manufacturing Test

Provides test and diagnostic capabilities of in-circuit test

without need/expense of physical access

System Configuration Maintenance

slide-16
SLIDE 16

References

http://www.inaccessnetworks.com/ian/projects/ianjtag/

jtag-intro/jtag-intro.html

http://www.embedded.com/story/OEG20021028S0049 http://www.corelis.com/products/ScanExpressJET.htm http://www.ee.ic.ac.uk/pcheung/teaching/ee3_DSD/

ti_jtag_seminar.pdf

slide-17
SLIDE 17

Thankyou

slide-18
SLIDE 18

Extra Slides

slide-19
SLIDE 19

Test Access Ports

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.

Four pins of TAP are:

TMS – Test mode Select TCK – Test Clock TDI – Test Data Input TDO – Test Data Output

slide-20
SLIDE 20

The function of each TAP pin is as follows:

TCK- this pin is the JTAG test clock. It sequences the

TAP controller as well as all of the JTAG registers

TMS – this pin is the mode input signal to the TAP

  • Controller. The stare of TMS at the rising if TCK

determines the sequence of states for the TAP controller.

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.

TDO - this pin is serial data output for all JTAG

instruction and data registers. TDO changes state on the falling edge of TCK and only active during shifting of data through device. This pin is three-stated at all times.

slide-21
SLIDE 21

SECONS JTAG TESTER

Source: http://www.jtagtest.com/images/jtagtest_linux.png