RM0453 Rev 5 1317/1450
RM0453 Debug support (DBG)
1435
Figure 385. JTAG TAP state machine
The operation of the JTAG-DP is as follows:
• When the TAPSM goes through the Capture-IR state, 0b0001 is transferred onto the
instruction register (IR) scan chain. The IR scan chain is connected between JTDI and
JTDO.
• While the TAPSM is in the Shift-IR state, the IR scan chain shifts one bit for each rising
edge of JTCK. This means that, on the first tick:
– The LSB of the IR scan chain is output on JTDO.
– Bit[n] of the IR scan chain is transferred to bit[n-1].
– The value on JTDI is transferred to the MSB of the IR scan chain.
• When the TAPSM goes through the Update-IR state, the value scanned into the IR
scan chain is transferred into the instruction register.
• When the TAPSM goes through the Capture-DR state, a value is transferred from one
of the data registers onto one of the DR scan chains, connected between JTDI and
JTDO.
• The value held in the instruction register determines which data register and associated
DR scan chain are selected.
MSv60366V1
Test-Logic-
Reset
Run-Test/
Idle
Select-
DR-Scan
Shift-DR
Capture-
DR
Exit1-DR
Pause-
DR
Exit2-DR
Update-
DR
Select-
IR-Scan
Shift-IR
Capture-
IR
Exit1-IR
Pause-IR
Exit2-IR
Update-
IR
JTMS=0
JTMS=1
JTMS=1
JTMS=0
JTMS=1
JTMS=0
JTMS=1
JTMS=1
JTMS=0
JTMS=0
JTMS=0
JTMS=1 JTMS=0 JTMS=0JTMS=1
JTMS=0
JTMS=1
JTMS=1
JTMS=0
JTMS=0
JTMS=1
JTMS=1 JTMS=0
JTMS=0
JTMS=1
JTMS=1
JTMS=0
JTMS=0
JTMS=1
JTMS=1 JTMS=0
JTMS=1