09.12.2012 Views

Cortex-A8 Technical Reference Manual - ARM Information Center

Cortex-A8 Technical Reference Manual - ARM Information Center

Cortex-A8 Technical Reference Manual - ARM Information Center

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

• The sequence can be abandoned and restarted from the beginning by writing the key again<br />

to the OSLAR. However, the results of accesses issued before it was abandoned are<br />

committed.<br />

• If this register is read or written while the core is powered-down or the OS lock is not set,<br />

the results are Unpredictable.<br />

12.4.20 Device Power Down and Reset Control Register<br />

The PRCR is a read/write register that controls reset and power-down related functionality.<br />

Figure 12-17 shows the bit arrangement of the PRCR.<br />

31 3 2 1 0<br />

Figure 12-17 PRCR format<br />

Table 12-30 shows how the bit values correspond with the Device Power Down and Reset<br />

Control Register functions.<br />

Bits Field Function<br />

[31:3] - Reserved. RAZ, SBZP.<br />

12.4.21 Device Power Down and Reset Status Register<br />

Reserved<br />

Hold internal reset<br />

Reserved<br />

No power down<br />

Table 12-30 PRCR bit functions<br />

[2] Hold internal reset Hold internal reset bit. This bit prevents the processor from running again before the<br />

debugger detects a power-down event and restores the state of the debug registers in the<br />

core power domain. This bit is also used to detect a reset (ARESETn) event. By<br />

examining PRSR[1], the debugger can determine whether a power-down or a reset event<br />

occurred. The effect of this bit is that if it is set to 1 and a processor reset occurs,<br />

ARESETn or nPORESET, then the processor behaves as if ARESETn is still asserted,<br />

until the debugger clears PRCR[2] to 0. This bit does not have any effect on initial system<br />

power up as PRESETn clears it to 0:<br />

0 = does not hold internal reset on power up or reset, reset value<br />

1 = holds the processor nondebug logic in reset on power up or reset until this bit is cleared<br />

to 0.<br />

[1] - Reserved. RAZ, SBZP.<br />

[0] No power down No power down. When set to 1, the DBGNOPWRDWN output signal is HIGH. This<br />

output is connected to the system power controller and is interpreted as a request to operate<br />

in emulate mode. In this mode, the core and ETM are not actually powered down when<br />

requested by software or hardware handshakes. This mode is useful when debugging<br />

applications on top of working operating systems:<br />

0 = DBGNOPWRDWN is LOW, reset value<br />

1 = DBGNOPWRDWN is HIGH.<br />

The PRSR is a read-only register that provides information about the reset and power-down<br />

state of the processor.<br />

<strong>ARM</strong> DDI 0344K Copyright © 2006-2010 <strong>ARM</strong> Limited. All rights reserved. 12-36<br />

ID060510 Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!