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 />

The generation of Breakpoint debug events is UNPREDICTABLE if:<br />

BRPn is linked to BRPm but is not configured for Linked IVA match or Linked IVA mismatch<br />

WRPn is linked to BRPm but is not configured to enable linking<br />

WRPn or BRPn is linked to BRPm <strong>and</strong> either:<br />

— BRPm does not support Linked Context ID matching<br />

— BRPm is not configured for Linked Context ID matching.<br />

C10.5.3 Watchpoint Value Registers (DBGWVR)<br />

A Watchpoint Value Register, DBGWVR, holds a Data Virtual Address (DVA) value for use in watchpoint<br />

matching. Each DBGWVR is associated with a DBGWCR to form a Watchpoint Register Pair (WRP).<br />

DBGWVRn is associated with DBGWCRn to form WRPn, where n takes the values from 0 to 15. A debug<br />

event is generated when the WRP is matched. For more information, see Watchpoint debug events on<br />

page C3-15.<br />

A watchpoint can be set on either:<br />

a DVA match<br />

a DVA match occurring with a Context ID match.<br />

For the second case:<br />

a WRP <strong>and</strong> a BRP with Context ID comparison capability have to be linked, see Watchpoint Control<br />

Registers (DBGWCR) on page C10-61 <strong>and</strong> Linked comparisons on page C10-59.<br />

a debug event is generated when, on the same instruction, both:<br />

— the DVA matches<br />

— the Context ID matches.<br />

See Memory addresses on page C3-23 for a definition of the DVA used to program a DBGWVR.<br />

The DBGWVRs are:<br />

debug registers 96-111, at offsets 0x180-0x1BC<br />

read/write registers<br />

when the Security Extensions are implemented, Common registers.<br />

The format of a DBGWVR is:<br />

31 2 1 0<br />

Watchpoint Address[31:2]<br />

Bits [31:2] Bits [31:2] of the value for comparison, DVA[31:2].<br />

Bits [1:0] Reserved. UNK/SBZP.<br />

The debug logic reset value of a DBGWVR is UNKNOWN.<br />

UNK/<br />

SBZP<br />

C10-60 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!