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.

SDABORT_l, bit [6]<br />

Debug Registers <strong>Reference</strong><br />

Sticky Synchronous Data Abort bit. This flag is set to 1 by any Data Abort exception that is<br />

generated by a synchronous data abort when the processor is in Debug state. The possible<br />

values of this bit are:<br />

0 No Data Abort exception has been generated by a synchronous data abort since<br />

the last time this bit was cleared to 0<br />

1 A Data Abort exception has been generated by a synchronous data abort since<br />

the last time this bit was cleared to 0.<br />

The behavior of the DBGITR depends on the value of the SDABORT_l bit, see Instruction<br />

Transfer Register (DBGITR) on page C10-46.<br />

The method of clearing this flag to 0 depends on the version of the Debug architecture:<br />

v7 Debug This flag is cleared to 0 only by writing to bit [2] of the DBGDRCR, see Debug<br />

Run Control Register (DBGDRCR), v7 Debug only on page C10-29.<br />

<strong>ARM</strong>v6 This flag is cleared to 0 when the external debugger reads the DBGDSCR.<br />

Some aspects of the behavior of this flag depend on the version of the Debug architecture:<br />

v7 Debug If the processor is in Non-debug state this flag is not set to 1 on a synchronous<br />

Data Abort exception.<br />

Leaving Debug state with this flag set to 1 causes UNPREDICTABLE behavior.<br />

v6.1 Debug<br />

If the processor is in Non-debug state this flag is not set to 1 on a synchronous<br />

Data Abort exception.<br />

v6 Debug If the processor is in Non-debug state, the value of this flag is UNKNOWN.<br />

For more information, see Exceptions in Debug state on page C5-20.<br />

MOE, bits [5:2]<br />

Method of Debug Entry field. The permitted values of this field depend on the Debug<br />

architecture. For details of this field see Method of Debug entry on page C10-26.<br />

RESTARTED, bit [1]<br />

Processor Restarted bit. The possible values of this bit are:<br />

0 The processor is exiting Debug state. This bit only reads as 0 between receiving<br />

a restart request, <strong>and</strong> restarting Non-debug state operation.<br />

1 The processor has exited Debug state. This bit remains set to 1 if the processor<br />

re-enters Debug state.<br />

After making a restart request, the debugger can poll this bit until it is set to 1. At that point<br />

it knows that the restart request has taken effect <strong>and</strong> the processor has exited Debug state.<br />

Note<br />

Polling the HALTED bit until it is set to 0 is not safe because the processor could re-enter<br />

Debug state as a result of another debug event before the debugger samples the DBGDSCR.<br />

See Chapter C5 Debug State for a definition of Debug state.<br />

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

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

Saved successfully!

Ooh no, something went wrong!