14.3 JTAG Controller and Registers

Test Access Port (TAP)


The Test Access Port (TAP) consists of the four signal pins: JTDI, JTDO, JTMS, and JTCK. Serial test data and instructions are communicated over these four signal pins, along with control of the test to be executed.

As Figure 14-6 shows, data is serially scanned into one of the three registers (Instruction register, Bypass register, or the Boundary-scan register) from the JTDI pin, or it is scanned from one of these three registers onto the JTDO pin.

The JTDI input feeds the least-significant bit (LSB) of the selected register, whereas the most-significant bit (MSB) of the selected register appears on the JTDO output.

The JTMS input controls the state transitions of the main TAP controller state machine.

The JTCK input is a dedicated test clock that allows serial JTAG data to be shifted synchronously, independent of any chip-specific or system clocks.



Figure 14-6 JTAG Test Access Port

Data on the JTDI and JTMS pins is sampled on the rising edge of the JTCK input clock signal. Data on the JTDO pin changes on the falling edge of the JTCK clock signal.

TAP Controller

The processor implements the 16-state TAP controller as defined in the IEEE JTAG specification.

Controller Reset

The TAP controller state machine can be put into Reset state by one of the following:

In either case, keeping JTMS asserted maintains the Reset state.

Controller States

The TAP controller has four states: Reset, Capture, Shift, and Update. They can reflect either instructions (as in the Shift-IR state) or data (as in the Capture-DR state).

Table 14-2 shows the boundary scan order of the processor signals.

Table 14-2 JTAG Scan Order of R4000 Processor Pins

Table 14-2 (cont.) JTAG Scan Order of R4000 Processor Pins

Table 14-2 (cont.) JTAG Scan Order of R4000 Processor Pins

See the section titled Boundary-Scan Register earlier in this chapter, for a description of the last three output enable bits, 319:317.



Copyright 1996, MIPS Technologies, Inc. -- 21 MAR 96

Generated with CERN WebMaker
statistics