05.02.2013 Views

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

0b01 watchpoint generated on match only in Non-secure state<br />

0b10 watchpoint generated on match only in Secure state<br />

0b11 Reserved.<br />

Debug Registers <strong>Reference</strong><br />

For more information about watchpoint matching when this field is set to a value other than<br />

0b00, see About security state control on page C10-66.<br />

Bits [15:14], when the Security Extensions are not implemented<br />

Reserved, UNK/SBZP.<br />

Bit [12:9], v6 Debug <strong>and</strong> v6.1 Debug<br />

Reserved, UNK/SBZP.<br />

Byte address select, bits [12:5] or bits [8:5]<br />

The width of this field can depend on the <strong>ARM</strong> Debug architecture version:<br />

v6 Debug <strong>and</strong> v6.1 Debug<br />

The Byte address select field is always 4 bits, DBGWCR[8:5]<br />

v7 Debug<br />

It is IMPLEMENTATION DEFINED whether a 4-bit or an 8-bit Byte address select<br />

field is implemented:<br />

an 8-bit Byte address select field is DBGWCR[12:5]<br />

if a 4-bit Byte address select field is implemented then the Byte address<br />

select field is DBGWCR[8:5] <strong>and</strong> DBGWCR[12:9] is RAZ/WI.<br />

DBGWVRs are programmed with word-aligned addresses. This field enables the<br />

watchpoint to hits only if certain byte addresses are accessed. The watchpoint hits if an<br />

access hits any byte being watched, even if:<br />

the access size is larger than the size of the region being watched<br />

the access is unaligned, <strong>and</strong> the base address of the access is not in the same word of<br />

memory as the address in the DBGWVR.<br />

For details of the use of this field see Byte address masking behavior on DVA match on<br />

page C10-65.<br />

If the Address range mask field is implemented <strong>and</strong> programmed to a value other than<br />

0b00000, no mask, then this field must be programmed to:<br />

0b1111, if a 4-bit Byte address select field is implemented.<br />

0b11111111, an 8-bit Byte address select field is implemented.<br />

If this is not done, the generation of Watchpoint debug events is UNPREDICTABLE.<br />

Load/store access control, bits [4:3]<br />

This field enables watchpoint matching conditional on the type of access being made.<br />

Possible values of this field are:<br />

0b00 Reserved.<br />

0b01 Match on any load, Load-Exclusive, or swap.<br />

<strong>ARM</strong> DDI 0406B Copyright © 1996-1998, 2000, 2004-2008 <strong>ARM</strong> Limited. All rights reserved. C10-63

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!