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

Accesses to the external views DBGDSCRext, DBGDTRRXext <strong>and</strong> DBGDTRTXext can be made through<br />

the st<strong>and</strong>ard mapping of these registers, in addition to the instructions to access the internal views<br />

DBGDSCRint, DBGDTRRXint <strong>and</strong> DBGDTRTXint provided in the Baseline CP14 interface. See Internal<br />

<strong>and</strong> external views of the DBGDSCR <strong>and</strong> the DCC registers on page C6-21.<br />

Features specific to v6 Debug <strong>and</strong> v6.1 Debug<br />

Table C6-6 lists the exceptions, in the Extended CP14 interface in v6 Debug <strong>and</strong> v6.1 Debug, to the st<strong>and</strong>ard<br />

mapping. All the instructions listed are UNDEFINED in <strong>ARM</strong>v6.<br />

Table C6-6 Exceptions to the st<strong>and</strong>ard mapping, v6 Debug <strong>and</strong> v6.1 Debug<br />

Register number Name Access St<strong>and</strong>ard mapping, all UNDEFINED<br />

32 Host to Target Data Transfer<br />

Register<br />

33 Program Counter Sampling<br />

Register<br />

Read/write MRC p14,0,,c0,c0,2<br />

MCR p14,0,,c0,c0,2<br />

Read-only MRC p14,0,,c0,c1,2<br />

Instruction Transfer Register Write-only MCR p14,0,,c0,c1,2<br />

34 Debug Status <strong>and</strong> Control Register Read/write MRC p14,0,,c0,c2,2<br />

35 Target to Host Data Transfer<br />

Register<br />

MCR p14,0,,c0,c2,2<br />

See also footnote e on Table C6-2 on page C6-18, regarding registers 32, 33, 34, <strong>and</strong> 35.<br />

In v6 Debug <strong>and</strong> v6.1 Debug, no debug registers map to CP14 instructions with != 0b0000. All<br />

instruction encodings with != 0b0000 <strong>and</strong> =0 are UNDEFINED in User mode <strong>and</strong><br />

UNPREDICTABLE in privileged modes. All reserved encodings with = 0b0000 are UNDEFINED in all<br />

modes.<br />

Table C6-7 defines an additional <strong>ARM</strong>v6 instruction for making an internal access write to the DBGDSCR.<br />

Instruction Mnemonic Name<br />

Read/write MRC p14,0,,c0,c3,2<br />

MCR p14,0,,c0,c3,2<br />

Table C6-7 Additional <strong>ARM</strong>v6 CP14 debug instruction<br />

MCR p14,0,,c0,c1,0 DBGDSCRint Debug Status <strong>and</strong> Control Register (DBGDSCR) on page C10-10<br />

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

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

Saved successfully!

Ooh no, something went wrong!