Using Application Registers In Core Debug; Table 10-5 Application Registers For Use In Core Debug - ARM Cortex-M3 Technical Reference Manual

R2p0
Hide thumbs Also See for Cortex-M3:
Table of Contents

Advertisement

10.4

Using application registers in core debug

ARM DDI 0337G
Unrestricted Access
You can also use the application registers for status access and to effect change on the
system.
If you intend to use the application registers for core debug, be aware that:
There are read-modify-write issues if both AHB-AP and the application are
modifying these registers.
For the write registers like PENDSET and PENDCLR, there are
read-modify-write issues because these are not read first.
For registers containing priority and other read-write registers, the register can
change between the read and the write when performing a read-modify-write
operation. In some cases the registers enable byte access to alleviate this situation,
and the debugger must be aware of these issues when the processor is running.
Table 10-5 shows the application registers and the register bits that are most useful for
use in core debug. For a complete list of the application registers see the ARMv7-M
Architecture Reference Manual.
Register
Interrupt Control State
Vector Table Offset
Application Interrupt/Reset Control
Configuration Control
System Handler Control and State
Copyright © 2005-2008 ARM Limited. All rights reserved.

Table 10-5 Application registers for use in core debug

Non-Confidential
Bits or fields for use in core debug
ISRPREEMPT
ISRPENDING
VECTPENDING.
To find vector table
VECTCLRACTIVE
ENDIANESS
DIV_0_TRP
UNALIGN_TRP.
ACTIVE
PENDED
Core Debug
10-13

Advertisement

Table of Contents
loading

Table of Contents