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

Sticky<br />

Power- down<br />

set<br />

Conditions Registers:<br />

OS Lock<br />

set<br />

DBGECR,<br />

DBGDRCR,<br />

DBGOSLAR a,<br />

DBGOSLSR a ,<br />

DBGPRCR,<br />

DBGPRSR<br />

Table C6-12 Access to Extended CP14 interface debug registers<br />

DBGOSSRR a<br />

Other<br />

debug b<br />

In v7 Debug the behavior of Extended CP14 interface MRC <strong>and</strong> MCR instructions also depends on the access<br />

type of the register, as shown in Table C6-2 on page C6-18. Table C6-13 summarizes the behavior of these<br />

instructions, for:<br />

read accesses, using MRC p14,0,,,,<br />

write accesses, using MCR p14,0,,,,.<br />

Some read/write registers include bits that are read-only. These bits ignore writes.<br />

All reserved c<br />

No No OK UNPREDICTABLE OK UNPREDICTABLE OK<br />

No Yes OK OK UNDEFINED UNPREDICTABLE OK<br />

Yes X OK UNPREDICTABLE UNDEFINED UNPREDICTABLE OK<br />

Other<br />

mgmt d<br />

a. If the OS Save <strong>and</strong> Restore mechanism is not implemented, these registers addresses behave as reserved locations.<br />

b. Debug register numbers 0 to 127, except for the DBGECR, DBGDRCR, the registers defined as baseline registers, <strong>and</strong><br />

reserved registers. For details of the baseline registers see Table C6-4 on page C6-32.<br />

c. See also Access to implementation defined <strong>and</strong> reserved registers on page C6-29.<br />

d. Other management registers. This means debug register numbers 832 to 1023, except for the IMPLEMENTATION DEFINED<br />

locations, see Access to implementation defined <strong>and</strong> reserved registers on page C6-29.<br />

Table C6-13 Behavior of CP14 MRC <strong>and</strong> MCR instructions, v7 Debug<br />

with Extended CP14 interface<br />

Access type a<br />

Read access b<br />

Write access b<br />

- (Reserved) UNPREDICTABLE UNPREDICTABLE<br />

Read-only Returns register value in Rt UNPREDICTABLE<br />

Write-only UNPREDICTABLE Writes value in Rt to register<br />

Read/write Returns register value in Rt Writes value in Rt to register<br />

a. Register access type, as shown in Table C6-2 on page C6-18.<br />

b. In a privileged mode, or in Debug state.<br />

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

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

Saved successfully!

Ooh no, something went wrong!