Debug
ARM DDI 0388I
Copyright © 2008-2012 ARM. All rights reserved.
10-12
ID073015
Non-Confidential
[15:14]
Secure
state access
control
Secure state access control. This field enables the watchpoint to be conditioned on the security state of the
processor:
b00
Watchpoint matches in both Secure and Non-secure state.
b01
Watchpoint only matches in Non-secure state.
b10
Watchpoint only matches in Secure state.
b11
Reserved.
[13]
-
RAZ on reads, SBZP on writes.
[12:9]
-
RAZ/WI.
[8:5]
Byte
address
select
Byte address select. The WVR 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.
[4:3]
L/S
Load/store access. The watchpoint can be conditioned to the type of access being done:
b00
Reserved.
b01
Load, load exclusive, or swap.
b10
Store, store exclusive or swap.
b11
Either.
SWP
and
SWPB
trigger a watchpoint on b01, b10, or b11. A load exclusive instruction triggers a watchpoint on
b01 or b11. A store exclusive instruction triggers a watchpoint on b10 or b11 only if it passes the local
monitor within the processor.
a
[2:1]
SP
Privileged access control. The watchpoint can be conditioned to the privilege of the access being done:
b00
Reserved.
b01
Privileged, match if the processor does a privileged access to memory.
b10
User, match only on nonprivileged 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, reset value.
1
Watchpoint enabled.
a. A store exclusive can generate an MMU fault or cause the processor to take a data watchpoint exception regardless of the state of the local
monitor.
Table 10-8 WCR Register bit assignments (continued)
Bits
Name
Description