English
Language : 

ARM920T_14 Datasheet, PDF (202/350 Pages) ATMEL Corporation – Technical Reference Manual
Debug Support
9.9 Clock switching during test
Under serial test conditions, when test patterns are being applied to the core through the
JTAG interface, the ARM9TDMI CPU core must be clocked using DCLK. Entry into
test is less automatic than debug and some care must be taken.
On the way into test, GCLK must be held LOW. You can now use the TAP controller
to perform serial testing on the ARM9TDMI core. If scan chain 0 and INTEST are
selected, DCLK is generated while the state machine is in RUN-TEST/IDLE state.
During EXTEST, DCLK is not generated.
On exit from test, you must select RESTART as the TAP controller instruction. When
this is done, you can allow GCLK to resume. After INTEST testing, you must take care
to ensure that the core is in a sensible state before switching back. The safest way to do
this is either:
• select RESTART and then cause a system reset
• insert MOV PC,#0 into the instruction pipeline before switching back.
9-44
Copyright © 2000, 2001 ARM Limited. All rights reserved.
ARM DDI 0151C