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
Содержание ARM9TDMI
Страница 1: ...Copyright 1998 1999 ARM Limited All rights reserved ARM DDI0145B ARM9TDMI Technical Reference Manual ...
Страница 6: ...Contents vi Copyright 1998 1999 ARM Limited All rights reserved ARM DDI0145B ...
Страница 12: ...Preface xii Copyright 1998 1999 ARM Limited All rights reserved ARM DDI0145B ...
Страница 16: ...Introduction 1 4 Copyright 1998 1999 ARM Limited All rights reserved ARM DDI0145B ...
Страница 22: ...Programmer s Model 2 6 Copyright 1998 1999 ARM Limited All rights reserved ARM DDI0145B ...
Страница 36: ...ARM9TDMI Processor Core Memory Interface 3 14 Copyright 1998 1999 ARM Limited All rights reserved ARM DDI0145B ...
Страница 54: ...ARM9TDMI Coprocessor Interface 4 18 Copyright 1998 1999 ARM Limited All rights reserved ARM DDI0145B ...
Страница 110: ...Test Issues 6 6 Copyright 1998 1999 ARM Limited All rights reserved ARM DDI0145B ...
Страница 138: ...ARM9TDMI AC Characteristics 8 20 Copyright 1998 1999 ARM Limited All rights reserved ARM DDI0145B ...
Страница 150: ...ARM9TDMI Signal Descriptions A 12 Copyright 1998 1999 ARM Limited All rights reserved ARM DDI0145B ...
Страница 154: ...Index Index 4 Copyright 1998 1999 ARM Limited All rights reserved ARM DDI0145B ...