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 state entry is the acknowledge event that clears this request.<br />

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

Ab<strong>and</strong>oned accesses have the following behavior:<br />

an ab<strong>and</strong>oned data store writes an UNKNOWN value to the target address<br />

an ab<strong>and</strong>oned data load returns an UNKNOWN value to the register bank<br />

an ab<strong>and</strong>oned instruction fetch returns an UNKNOWN instruction for execution<br />

an ab<strong>and</strong>oned cache operation leaves the memory system in an UNPREDICTABLE state.<br />

However, an ab<strong>and</strong>oned access does not cause any exception.<br />

Additional BIU requests, after Debug state has been entered, have UNPREDICTABLE behavior.<br />

The number of ports on the processor <strong>and</strong> their protocols are implementation specific <strong>and</strong>, therefore, the<br />

detailed behavior of this bit is IMPLEMENTATION DEFINED. It is also IMPLEMENTATION DEFINED whether this<br />

behavior is supported on all ports of a processor. For example, an implementation can choose not to<br />

implement this behavior on instruction fetches.<br />

This control bit enables the debugger to release a deadlock on the system bus so Debug state can be entered.<br />

This Debug state entry is imprecise, because the debugger only wants to know what the state of the processor<br />

was at the time the deadlock occurred. At the point where the deadlock is released, one of the following must<br />

be pending:<br />

a Halt request, made by also writing 1 to the Halt request bit of the DBGDRCR<br />

an External Debug request.<br />

It might not be easy to infer the cause of the deadlock by reading the PC value after entering Debug state if,<br />

for example, either:<br />

the processor has a non-blocking cache design or a write buffer<br />

the deadlocked access corresponded to a load to the PC.<br />

The effect of this bit depends on the state of the external debug interface signals:<br />

If the processor implements Security Extensions, a write to this bit is ignored unless DBGEN <strong>and</strong><br />

SPIDEN are both HIGH, meaning that invasive debug is permitted in all processor states <strong>and</strong> modes.<br />

If the processor does not implement Security Extensions, a write to this bit is ignored unless DBGEN<br />

is HIGH.<br />

For details of invasive debug authentication see Chapter C2 Invasive Debug Authentication.<br />

C10.3.4 Device Power-down <strong>and</strong> Reset Control Register (DBGPRCR), v7 Debug only<br />

The Device Power-down <strong>and</strong> Reset Control Register, DBGPRCR, controls processor functionality related<br />

to reset <strong>and</strong> power-down.<br />

The DBGPRCR is:<br />

debug register 196, at offset 0x310<br />

a read/write register, with more restricted access to some bits<br />

implemented only in v7 Debug<br />

when the Security Extensions are implemented, a Common register.<br />

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

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

Saved successfully!

Ooh no, something went wrong!