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.

Note<br />

The Baseline CP14 instructions are not affected by:<br />

Debug Register Interfaces<br />

the recommended Debug Software Enable control in the Debug Access Port, see Permissions in<br />

relation to locks on page C6-27<br />

the Sticky Power-down status bit in the Device Power-down <strong>and</strong> Reset Status Register (DBGPRSR),<br />

see Device Power-down <strong>and</strong> Reset Status Register (DBGPRSR), v7 Debug only on page C10-34.<br />

For more information on access permissions <strong>and</strong> restrictions see Access permissions on page C6-26.<br />

In addition:<br />

Table C6-9 Access to Baseline CP14 debug registers in v7 Debug<br />

Conditions<br />

Debug state Processor mode DBGDSCR.UDCCdis b<br />

OS Lock<br />

Yes X X 0 Proceed<br />

Baseline CP14<br />

instructions a<br />

Yes X X 1 UNPREDICTABLE c<br />

No User 0 0 Proceed<br />

No User 0 1 UNPREDICTABLE c<br />

No User 1 X UNDEFINED d<br />

No Privileged X 0 Proceed<br />

No Privileged X 1 UNPREDICTABLE c<br />

a. Read DBGDIDR, DBGDSAR, DBGDRAR, DBGDSCRint, DBGDTRRXint, or write DBGDTRTXint.<br />

Attempting to use an MCR instruction to read DBGDIDR, DBGDSAR, DBGDRAR, or DBGDSCRint is<br />

UNPREDICTABLE, except in the case shown by footnote d.<br />

b. DCC user accesses disable bit, see Debug Status <strong>and</strong> Control Register (DBGDSCR) on page C10-10.<br />

c. Apart from reads of DBGDIDR, which proceed.<br />

d. Under these conditions, attempting to use an MCR instruction to read DBGDIDR, DBGDSAR,<br />

DBGDRAR, or DBGDSCRint always causes an Undefined Instruction exception.<br />

if the debug power domain is powered down, instructions that access the debug registers are<br />

UNPREDICTABLE<br />

when the processor is in debug logic reset, reads of the debug registers return UNKNOWN values.<br />

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

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

Saved successfully!

Ooh no, something went wrong!