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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Condition for breakpoint generation on IVA match, without address range masking<br />

Debug Events<br />

When BRPn is programmed for IVA match, without address range masking, <strong>and</strong> all other conditions for<br />

generating a breakpoint are met, a Breakpoint debug event is generated only if both:<br />

bits [31:2] of the IVA are equal to the value of bits [31:2] of DBGBVRn<br />

the Byte address select field, bits [8:5], of DBGBCRn is programmed for an IVA match for the<br />

current Instruction set state <strong>and</strong> IVA[1:0] value, see Byte address selection behavior on IVA match or<br />

mismatch on page C10-55.<br />

Note<br />

In v7 Debug, to perform IVA comparison without address range masking you must set DBGBCR[28:24],<br />

the Address range mask field, to zero.<br />

Condition for breakpoint generation on IVA mismatch, without address range masking<br />

When BRPn is programmed for IVA mismatch, without address range masking, <strong>and</strong> all other conditions for<br />

generating a breakpoint are met, a Breakpoint debug event is generated only if either:<br />

bits [31:2] of the IVA are not equal to the value of bits [31:2] of DBGBVRn<br />

the Byte address select field, bits [8:5], of DBGBCRn is programmed for an IVA mismatch for the<br />

current Instruction set state <strong>and</strong> IVA[1:0] value, see Byte address selection behavior on IVA match or<br />

mismatch on page C10-55.<br />

Note<br />

In v7 Debug, to perform IVA comparison without address range masking you must set DBGBCR[28:24],<br />

the Address range mask field, to zero.<br />

Breakpoint address range masking behavior, v7 Debug<br />

When BRPn is programmed for IVA matching, the comparison is masked using the value held in the<br />

Address range mask field, DBGBCRn[28:24].<br />

You can use the Address range mask field when programming the BRP for IVA mismatch, that is, when<br />

DBGBCR[28:24] != 0b00000 <strong>and</strong> DBGBCR[22] == 1. In this case, the address comparison portion of<br />

breakpoint generation hits for all addresses outside the masked address region.<br />

If an implementation does not support breakpoint address range masking, the Address range mask field is<br />

RAZ.<br />

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

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

Saved successfully!

Ooh no, something went wrong!