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

Asynchronous abort<br />

The behavior depends on the Debug architecture version:<br />

v6.1 Debug, v7 Debug<br />

When an asynchronous abort is signalled in Debug state, no Data Abort<br />

exception is generated <strong>and</strong> the processor behaves as follows:<br />

The setting of the CPSR.A bit is ignored.<br />

PC, CPSR, SPSR_abt, LR_abt, SCR.NS, <strong>and</strong> DBGDSCR.MOE are<br />

unchanged.<br />

The processor remains in Debug state.<br />

The DFSR is unchanged.<br />

If DBGDSCR.ADAdiscard is 1:<br />

— DBGDSCR.ADABORT_l, the Sticky Asynchronous Data Abort<br />

bit, is set to 1.<br />

— On exit from Debug state, this asynchronous abort is not acted on.<br />

— If the ISR is implemented, the ISR.A bit is not changed, because<br />

no abort is pended.<br />

If DBGDSCR.ADAdiscard is 0:<br />

— In v7 Debug, DBGDSCR.ADABORT_l is unchanged.<br />

— In v6.1 Debug, DBGDSCR.ADABORT_l is set to 1.<br />

— On exit from Debug state, this asynchronous abort is acted on.<br />

— If the asynchronous abort is an external asynchronous abort, <strong>and</strong><br />

the ISR is implemented, the ISR.A bit is set to 1 indicating that an<br />

external abort is pending.<br />

See also:<br />

Asynchronous aborts <strong>and</strong> entry to Debug state on page C5-5.<br />

the descriptions of the ADABORT_l <strong>and</strong> ADAdiscard bits in Debug<br />

Status <strong>and</strong> Control Register (DBGDSCR) on page C10-10.<br />

v6 Debug When an asynchronous abort is signalled in Debug state, then:<br />

if the CPSR.A bit is 0, the abort is generated when the CPSR.A bit is<br />

cleared to 0<br />

if the CPSR.A bit is 1, a Data Abort exception is generated, see<br />

Undefined Instruction <strong>and</strong> Data Abort exceptions in Debug state in<br />

v6 Debug on page C5-23.<br />

C5-22 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!