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.

Debug Events<br />

As a result, for an instruction that modifies the context in which the processor tests for debug events, the<br />

processor must test for all possible debug event in terms of the context before the memory access operation<br />

is observed or the instruction executes. For example:<br />

In a v7 Debug implementation that uses the memory-mapped interface, a write to the DBGWCR to<br />

enable a watchpoint on a Data Virtual Address (DVA) of the DBGWCR itself must not trigger the<br />

watchpoint.<br />

Conversely, a write to the DBGWCR to disable the same watchpoint must trigger the watchpoint. For<br />

more information, see Debug events in the debug monitor on page C3-26.<br />

An instruction that writes to a Breakpoint Control Register (DBGBCR) or Vector Catch Register<br />

(DBGVCR) to enable a debug event on the Instruction Virtual Address (IVA) of the instruction itself<br />

must not trigger the debug event.<br />

Conversely, a write to the DBGBCR or DBGVCR to disable the same debug event must trigger the<br />

debug event.<br />

C3-42 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!