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.

12.4.4 CP14 c0, Debug Self Address Offset Register<br />

Debug<br />

The Debug Self Address Offset Register is a read-only register that returns a 20-bit offset value<br />

from the Debug ROM Address Register to the physical address of the processor debug registers.<br />

The address read from this register depends on the DBGSELFADDR[31:12] and<br />

DBGSELFADDRV inputs. DBGSELFADDRV must be tied off to 1 if<br />

DBGSELFADDR[31:12] is tied off to a valid value.<br />

The Debug Self Address Offset Register is:<br />

• in CP14 c0<br />

• a read-only register<br />

• accessible in User and privileged modes.<br />

Figure 12-4 shows the bit arrangement of the Debug Self Address Offset Register.<br />

Figure 12-4 Debug Self Address Offset Register format<br />

Table 12-13 shows how the bit values correspond with the Debug Self Address Offset Register<br />

functions.<br />

Bits Field Function<br />

[31:12] Debug bus<br />

self-address<br />

offset value<br />

To access the Debug Self Address Offset Register, read CP14 c0 with:<br />

MRC p14, 0, , c2, c0, 0 ; Read Debug Self Address Offset Register<br />

12.4.5 CP14 c1, Debug Status and Control Register<br />

31 12 11 2 1 0<br />

[11:2] - Reserved. RAZ, SBZP.<br />

Debug bus self-address offset value Reserved<br />

The DSCR is a read-only register that contains status and control information about the debug<br />

unit. Figure 12-5 on page 12-16 shows the bit arrangement of the DSCR.<br />

Note<br />

For the APB interface, the DSCR is a read/write register.<br />

Valid bits<br />

Table 12-13 Debug Self Address Offset Register bit functions<br />

Indicates bits [31:12] of the 2’s complement offset from the debug ROM physical address<br />

to the physical address of the start of the region where the debug registers are mapped. The<br />

value read by this field corresponds to the value of DBGSELFADDR[31:12].<br />

[1:0] Valid bits Reads b11 if DBGSELFADDRV is set to 1, reads b00 otherwise. DBGSELFADDRV must<br />

be set to 1 if DBGSELFADDR[31:12] is set to a valid value.<br />

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

ID060510 Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!