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 Registers <strong>Reference</strong><br />

In v6 Debug <strong>and</strong> v6.1 Debug, register 196 is not defined.<br />

The format of the DBGPRCR is:<br />

31<br />

Bits [31:3] Reserved, UNK/SBZP.<br />

Hold non-debug logic reset, bit [2]<br />

Reserved, UNK/SBZP<br />

Hold non-debug logic reset<br />

Warm reset request<br />

DBGnoPWRDWN<br />

The effects of the possible values of this bit are:<br />

0 Do not hold the non-debug logic reset on power-up or warm reset.<br />

1 Hold the non-debug logic of the processor in reset on power-up or warm reset.<br />

The processor is held in this state until this flag is cleared to 0.<br />

Hold non-debug logic reset is an IMPLEMENTATION DEFINED feature. If it is implemented<br />

writing 1 to this bit means the non-debug logic of the processor is held in reset after a<br />

power-up or warm reset.<br />

Note<br />

This bit never affects system power-up, because when implemented it resets to 0.<br />

An external debugger can use this bit to prevent the processor running again before the<br />

debugger has had the chance to detect a power-down occurrence <strong>and</strong> restore the state of the<br />

debug registers inside the core power domain. Also, this bit can be used in conjunction with<br />

an external reset controller to take the processor into reset <strong>and</strong> hold it there while the rest of<br />

the system comes out of reset. This means a debugger can hold the processor in reset while<br />

programming other debug registers.<br />

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

If the processor implements the Security Extensions, the value of this bit is ignored<br />

unless both the external debug interface signals DBGEN <strong>and</strong> SPIDEN are HIGH,<br />

meaning that invasive debug is permitted in all processor states <strong>and</strong> modes.<br />

If the processor does not implement the Security Extensions, the value of this bit is<br />

ignored unless DBGEN is HIGH.<br />

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

If both features are supported, the bit can be written at the same time as the Warm reset<br />

request bit to force the processor into reset <strong>and</strong> hold it there, for example while<br />

programming other debug registers such as setting the Halt request bit of the DBGDRCR to<br />

take the processor into Debug state on leaving Reset. For more information, see Debug Run<br />

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

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

3<br />

2<br />

1<br />

0

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

Saved successfully!

Ooh no, something went wrong!