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

C3.4 Generation of debug events<br />

The generation of Breakpoint <strong>and</strong> Watchpoint debug events can be dependent on the context of the<br />

processor, including:<br />

the current processor mode<br />

the contents of the CONTEXTIDR<br />

the Secure security state setting, if the processor implements Security Extensions.<br />

The generation of debug events is also dependent on the state of the debug event generation logic:<br />

Breakpoint debug events are dependent on the contents of the relevant Breakpoint Register Pair<br />

(BRP)<br />

Watchpoint debug events are dependent on the contents of the relevant Watchpoint Register Pair<br />

(WRP)<br />

Linked Breakpoint or Watchpoint debug events are dependent on the settings of a second BRP<br />

Vector Catch debug events are dependent on the settings in the Vector Catch Register (DBGVCR)<br />

OS Unlock Catch debug events are dependent on the setting of the Event Catch Register (DBGECR).<br />

In addition, as shown in Table C3-1 on page C3-2, the generation of debug events is dependent on:<br />

the invasive debug authentication settings, see Chapter C2 Invasive Debug Authentication<br />

the values of the DBGDSCR.HDBGen <strong>and</strong> DBGDSCR.MDBGen bits, see Debug Status <strong>and</strong> Control<br />

Register (DBGDSCR) on page C10-10.<br />

The following events are guaranteed to take effect on the debug event generation logic by the end of the next<br />

ISB operation, exception entry, or exception return:<br />

Context changing operations, including:<br />

— mode changes<br />

— writes to the CONTEXTIDR<br />

— security state changes.<br />

Operations that change the state of the debug event generation logic, including:<br />

— writes to BRP registers, for Breakpoint debug events, or Linked Breakpoint or Watchpoint<br />

debug events<br />

— writes to WRP registers, for Watchpoint debug events<br />

— writes to the DBGVCR, for Vector Catch debug events<br />

— writes to the DBGECR, for OS Unlock Catch debug events<br />

— changes to the authentication signals<br />

— writes to the DBGDSCR.<br />

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