Mitsubishi Electric M32R Series User Manual page 772

Mitsubishi 32-bit risc single-chip microcomputers
Table of Contents

Advertisement

19
19.4.3 DR Path Sequence
The data register that was selected during the IR path sequence prior to the DR path sequence is
operated on to inspect or set data in it. The DR path sequence is performed following the procedure
described below.
(1) Enter JTMS = high for a period of one JTCK cycle from "Run-Test/Idle" state to go to "Select-
DR-Scan" state. Which data register will be selected at this time depends on the instruction
that was set during the IR path sequence performed prior to the DR path sequence.
(2) Set JTMS = low to go to "Capture-DR" state. At this time, the result of boundary-scan test or
the fixed data defined for each register is set in the data register's shift register stage.
(3) Subsequently, enter JTMS = low to go to "Shift-DR" state. In "Shift-DR" state, the DR value
is shifted right one bit every cycle, and the data that was set in (2) is serially output from the
JTDO in. At the same time, the setup data serially entered from the JTDI pin is set in the data
register's shift register stage bit by bit. By continuing the "Shift-DR" state as long as the
number of bits of the selected data register (by entering JTMS = low), all bits of data can be
set in and read out from the shift register stage. To stop the shift operation in the middle, go
to "Pause-DR" state via temporarily "Exit1-DR" state (by setting JTMS input from high to
low). Also, to return from "Pause-DR" state, go to "Shift-DR" state via temporarily "Exit1-DR"
state (by setting JTMS input from high to low).
(4) Set JTMS = high to go from "Shift-DR" state to "Exit2-DR" state. This completes the shift
operation.
(5) Subsequently, enter JTMS = high to go to "Update-DR" state. In "Update-DR" state, the data
that was set in the data register's shift register stage is transferred to the parallel output
stage and, thus, the setup data becomes ready for use.
(6) Subsequently, enter JTMS = high to go to "Select-DR-Scan" state or JTMS = low to go to
"Run-Test/Idle" state.
19-10
19.4 Basic Operation of JTAG
JTAG
Ver.0.10

Advertisement

Table of Contents
loading

Table of Contents