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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

• accessible in privileged modes only.<br />

Figure 3-6 shows the bit arrangement of the Debug Feature Register 0.<br />

System Control Coprocessor<br />

31 24 23 20 19 16 15 12 11 8 7 4 3 0<br />

Reserved<br />

Microcontroller debug model – memory-mapped<br />

Trace debug model – memory-mapped<br />

Trace debug model – coprocessor-based<br />

Core debug model – memory-mapped<br />

Secure debug model – coprocessor-based<br />

Core debug model – coprocessor-based<br />

Figure 3-6 Debug Feature Register 0 format<br />

Table 3-16 shows how the bit values correspond with the Debug Feature Register 0 functions.<br />

Bits Field Function<br />

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

[23:20] Microcontroller<br />

debug model –<br />

memory-mapped<br />

[19:16] Trace debug model –<br />

memory-mapped<br />

[15:12] Trace debug model –<br />

coprocessor-based<br />

[11:8] Core debug model –<br />

memory mapped<br />

[7:4] Secure debug model –<br />

coprocessor-based<br />

[3:0] Core debug model –<br />

coprocessor-based<br />

Table 3-17 shows the results of attempted access for each mode.<br />

To access the Debug Feature Register 0, read CP15 with:<br />

Table 3-16 Debug Feature Register 0 bit functions<br />

Indicates support for the microcontroller debug model:<br />

0x0 = Processor does not support the microcontroller debug<br />

model – memory-mapped.<br />

Indicates support for the trace debug model – memory-mapped:<br />

0x1 = Processor supports the trace debug model – memory-mapped<br />

0x0 = Processor does not support the trace debug model – memory-mapped. a<br />

Indicates support for the coprocessor-based trace debug model:<br />

0x0 = Processor does not support the trace debug model – coprocessor.<br />

Indicates support for the memory-mapped debug model:<br />

0x4 = Processor supports the memory mapped debug model.<br />

Indicates support for the secure debug model – coprocessor:<br />

0x0 = Processor does not support the secure debug model – coprocessor.<br />

Indicates support for the coprocessor debug model:<br />

0x0 = Processor does not support the coprocessor debug model.<br />

a. A value of 0x0 indicates that the ETM option is not configured for the processor, see Configurable options on page 1-10<br />

Table 3-17 Results of access to Debug Feature Register 0 a<br />

Secure privileged Nonsecure privileged Secure User Nonsecure User<br />

Read Write Read Write Read Write Read Write<br />

Data Undefined Data Undefined Undefined Undefined Undefined Undefined<br />

a. An entry of Undefined in the table means that the access gives an Undefined Instruction exception when the coprocessor<br />

instruction is executed.<br />

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

ID060510 Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!