Debug Support
5-44
Copyright © 1998, 1999 ARM Limited. All rights reserved.
ARM DDI0145B
5.13.4
Debug control register
The ARM9TDMI debug control register is four bits wide and is shown in Figure 5-12:
Figure 5-12 Debug control register
Bit 3 controls the single-step hardware, and this is explained in more detail in
Figure 5-15 on page 5-48.
5.13.5
Debug status register
The debug status register is five bits wide. This register is read only and attempts to
write to it will be ignored. If it is accessed for a read (with the read/write bit LOW), the
status bits are read.
Figure 5-13 Debug status register
The function of each bit in this register is as follows:
Bits 1 and 0
Allow the values on the synchronized versions of
DBGRQ
and
DBGACK
to be read.
Bit 2
Allows the state of the core interrupt enable signal (
IFEN
) to be read.
Since the capture clock for the scan chain may be asynchronous to the
processor clock, the
DBGACK
output from the core is synchronized
before being used to generate the
IFEN
status bit.
Bit 3
Allows the state of the
SYSCOMP
bit from the core (synchronized to
TCK
) to be read. This allows the debugger to determine that a memory
access from the debug state has completed.
Bit 4
Allows
ITBIT
to be read. This enables the debugger to determine what
state the processor is in, and hence which instructions to execute.
6LQJOHVWHS
,17',6
'%*54
'%*$&.
,7%,7
6<6&203
,)(1
'%*54
'%*$&.
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 ...