Debug Support
ARM DDI0145B
Copyright © 1998, 1999 ARM Limited. All rights reserved.
5-27
5.8
Clock switching during debug
When the ARM9TDMI enters debug state, it must switch from
GCLK
to
DCLK
. This
is handled automatically by logic in the ARM9TDMI. On entry to debug state, the
ARM9TDMI asserts
DBGACK
in the HIGH phase of
GCLK
. The switch between the
two clocks occurs on the next falling edge of
GCLK
.
Figure 5-6 Clock switching on entry to debug state
The ARM9TDMI is forced to use
DCLK
as the primary clock until debugging is
complete. On exit from debug, the core must be allowed to synchronize back to
GCLK
.
This must be done in the following sequence. The final instruction of the debug
sequence must be shifted into the instruction data bus scan chain, and clocked in by
asserting
DCLK
. At this point, RESTART must be clocked into the TAP controller
register.
The ARM9TDMI will now automatically resynchronize back to
GCLK
when the TAP
controller enters the RUN-TEST/IDLE mode and start fetching instructions from
memory at
GCLK
speed. For more information, refer to
Summary of Contents for ARM9TDMI
Page 6: ...Contents vi Copyright 1998 1999 ARM Limited All rights reserved ARM DDI0145B ...
Page 12: ...Preface xii Copyright 1998 1999 ARM Limited All rights reserved ARM DDI0145B ...
Page 16: ...Introduction 1 4 Copyright 1998 1999 ARM Limited All rights reserved ARM DDI0145B ...
Page 22: ...Programmer s Model 2 6 Copyright 1998 1999 ARM Limited All rights reserved ARM DDI0145B ...
Page 110: ...Test Issues 6 6 Copyright 1998 1999 ARM Limited All rights reserved ARM DDI0145B ...
Page 154: ...Index Index 4 Copyright 1998 1999 ARM Limited All rights reserved ARM DDI0145B ...