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

In Monitor debug-mode the behavior on the exception generated as a result of a Breakpoint, BKPT<br />

Instruction, or Vector Catch debug events is as follows:<br />

the IFSR is updated with the encoding for a debug event, IFSR[10,3:0] = 0b00010<br />

the IFAR is UNKNOWN following these debug exceptions<br />

the DFSR, DFAR <strong>and</strong> DBGWFAR are unchanged.<br />

In Monitor debug-mode the behavior on the exception generated as a result of a Watchpoint debug event is<br />

as follows:<br />

the IFSR <strong>and</strong> IFAR are unchanged.<br />

the DFSR is updated with the encoding for a debug event, DFSR[10,3:0] = 0b00010.<br />

the Domain <strong>and</strong> Write fields in the DFSR, DFSR[11,7:4], are UNKNOWN. However, an <strong>ARM</strong>v6<br />

watchpoint sets the Domain field.<br />

the DFAR is UNKNOWN.<br />

the DBGWFAR is updated with the Instruction Virtual Address (IVA) of the instruction that accessed<br />

the watchpointed address, plus an offset that depends on the instruction set state of the processor for<br />

that instruction:<br />

— 8 in <strong>ARM</strong> state<br />

— 4 in Thumb <strong>and</strong> ThumbEE states<br />

— IMPLEMENTATION DEFINED in Jazelle state.<br />

See Memory addresses on page C3-23 for a definition of the IVA used to update the DBGWFAR.<br />

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

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

Saved successfully!

Ooh no, something went wrong!