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.

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

Security state control, bits [15:14], when the Security Extensions are implemented<br />

Note<br />

The Security Extensions cannot be implemented with v6 Debug.<br />

When a processor implements the Security Extensions, these bits enable the breakpoint to<br />

be conditional on the security state of the processor:<br />

0b00 breakpoint generated on match in both Non-secure state <strong>and</strong> Secure state<br />

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

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

0b11 Reserved.<br />

This field must be programmed to 0b00 if the DBGBVR meaning field, bits [22:20], is<br />

programmed for Linked Context ID match.<br />

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

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

See also Generation of debug events on page C3-40.<br />

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

Reserved, UNK/SBZP.<br />

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

This field enables match or mismatch comparisons on only certain bytes of the word address<br />

held in the DBGBVR. The operation of this field depends also on:<br />

the DBGBVR meaning field being programmed for IVA match or mismatch<br />

in v7 Debug, the Address range mask field being programmed to 0b00000, no mask<br />

the instruction set state of the processor, indicated by the CPSR.J <strong>and</strong> CPSR.T bits.<br />

For details of the use of this field see Byte address selection behavior on IVA match or<br />

mismatch on page C10-55.<br />

This field must be programmed to 0b1111 if either:<br />

the DBGBVR meaning field, bits [22:20], is programmed for Linked or Unlinked<br />

Context ID match<br />

in v7 Debug, the Address range mask field, bits [28:24], is programmed to a value<br />

other than 0b00000.<br />

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

Privileged mode control, bits [2:1]<br />

This field enables breakpoint matching conditional on the mode of the processor. Possible<br />

values of this field are:<br />

0b00 Match any of User, System <strong>and</strong> Supervisor modes.<br />

This value is supported in v7 Debug only.<br />

0b01 Match in any privileged mode.<br />

0b10 Match in User mode only.<br />

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

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

Saved successfully!

Ooh no, something went wrong!