Debug Support
Copyright © ARM Limited 2000. All rights reserved.
8-31
You are recommended to use the following instructions:
MRC p14, 0, Rd, c0, c0
This returns the debug comms control register into Rd.
MCR p14, 0, Rn, c1, c0
This writes the value in Rn to the comms data write register.
MRC p14, 0, Rd, c1, c0
This returns the debug data read register into Rd.
You are advised to access this data using
SWI
instructions when in Thumb state because
the Thumb instruction set does not contain coprocessor instructions.
8.11.3
Debug status register
A debug monitor can use the coprocessor 14 debug status register when the ARM9E-S
is configured into real-time debug mode.
The coprocessor 14 debug status register is a 1-bit wide read/write register with the
format shown in Figure 8-12.
Figure 8-12 Coprocessor 14 debug status register format
Bit 0 of the register, the DbgAbt bit, indicates whether the processor took a Prefetch or
Data Abort in the past because of a breakpoint or watchpoint. If the ARM9E-S core
takes a Prefetch Abort as a result of a breakpoint or watchpoint, then the bit is set. If on
a particular instruction or data fetch, both the debug abort and external abort signals are
asserted, the external abort takes priority and the DbgAbt bit is not set. You can
read/write the DbgAbt bit using
MRC/MCR
instructions.
A typical use of this bit is by a real-time debug aware abort handler. This examines the
DbgAbt bit to determine whether the abort has been externally or internally generated.
If the DbgAbt bit is set, the abort handler initiates communication with the debugger
over the comms channel.
31
1 0
SBZ
DbgAbt bit
Содержание ARM946E-S
Страница 1: ...ARM DDI 0155A ARM946E S Technical Reference Manual ...
Страница 6: ...vi Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A 04 Limited Confidential ...
Страница 54: ...Programmer s Model 2 34 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...
Страница 70: ...Caches 3 16 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...
Страница 78: ...Protection Unit 4 8 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...
Страница 98: ...Bus Interface Unit and Write Buffer 6 14 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...
Страница 112: ...Coprocessor Interface 7 14 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...