EasyManua.ls Logo

ARM Cortex-R4 - Page 304

Default Icon
436 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Debug
ARM DDI 0363G Copyright © 2006-2011 ARM Limited. All rights reserved. 12-30
ID073015 Non-Confidential
12.4.16 Operating System Lock Status Register
The DBGOSLSR contains status information about the locked debug registers.
Figure 12-12 on page 12-31 shows the DBGOSLSR bit assignments.
[12:5] Byte
address
select
The DBGDSWVR is programmed with word-aligned address. You can use this field to program
the watchpoint so it only hits if certain byte addresses are accessed:
b00000000 The watchpoint never hits.
bxxxxxxx1 The watchpoint hits if the byte at address (DBGDSWVR[31:0] &
0xFFFFFFFC
)
+0 is accessed.
bxxxxxx1x The watchpoint hits if the byte at address (DBGDSWVR[31:0] &
0xFFFFFFFC
)
+1 is accessed.
bxxxxx1xx The watchpoint hits if the byte at address (DBGDSWVR[31:0] &
0xFFFFFFFC
)
+2 is accessed.
bxxxx1xxx The watchpoint hits if the byte at address (DBGDSWVR[31:0] &
0xFFFFFFFC
)
+3 is accessed.
bxxx1xxxx The watchpoint hits if the byte at address (DBGDSWVR[31:0] &
0xFFFFFFF8
)
+4 is accessed.
bxx1xxxxx The watchpoint hits if the byte at address (DBGDSWVR[31:0] &
0xFFFFFFF8
)
+5 is accessed.
bx1xxxxxx The watchpoint hits if the byte at address (DBGDSWVR[31:0] &
0xFFFFFFF8
)
+6 is accessed.
b1xxxxxxx The watchpoint hits if the byte at address (DBGDSWVR[31:0] &
0xFFFFFFF8
)
+7 is accessed.
[4:3] L/S Load/store access. The watchpoint can be conditioned to the type of access:
b00 = Reserved
b01 = load, load exclusive, or swap
b10 = store, store exclusive or swap
b11 = either.
A
SWP
or
SWPB
triggers on load, store, or either. A load exclusive instruction triggers on load or
either. A store exclusive instruction triggers on store or either, whether it succeeds or not.
[2:1] S Privileged access control. The watchpoint can be conditioned to the privilege of the access:
b00 = reserved
b01 = Privileged, match if the processor does a privileged access to memory
b10 = User, match only on non-privileged accesses
b11 = either, match all accesses.
Note
For all cases, the match refers to the privilege of the access, not the mode of the processor.
[0] W Watchpoint enable:
0 = Watchpoint disabled. This is the reset value.
1 = Watchpoint enabled.
Table 12-20 DBGWCR Register bit assignments (continued)
Bits Name Function

Table of Contents

Related product manuals