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 Registers <strong>Reference</strong><br />

v7 Debug The Extended CP14 interface instructions that access DBGDTRRXext, if implemented, are<br />

UNPREDICTABLE in Debug state. For more information, see Internal <strong>and</strong> external views of<br />

the DBGDSCR <strong>and</strong> the DCC registers on page C6-21 <strong>and</strong> Extended CP14 interface on<br />

page C6-33.<br />

The format of the DBGDTRRX Register is:<br />

31 0<br />

Host to target data<br />

Host to target data, bits [31:0]<br />

One word of data for transfer from the debug host to the debug target.<br />

The debug logic reset value of the DBGDTRRX Register is UNKNOWN.<br />

Access to the DBGDTRRX Register<br />

The behavior on various accesses to the DBGDTRRX Register is described in the following tables:<br />

Table C10-4 shows the behavior of accesses to DBGDTRRXint<br />

Table C10-5 on page C10-42 shows the behavior of read accesses to DBGDTRRXext<br />

Table C10-6 on page C10-42 shows the behavior of write accesses to DBGDTRRXext.<br />

To access the DBGDTRRXint Register you read the CP14 registers using either:<br />

an MRC instruction with set to 0, set to c0, set to c5, <strong>and</strong> set to 0<br />

an STC instruction with set to c5.<br />

Both instructions read only one word from the DBGDTRRXint Register. For example:<br />

MCR p14,0,,c0,c5,0 ; Read DBGDTRRXint Register<br />

STC p14,c5,[],#4 ; Read a word from the DBGDTRRXint Register <strong>and</strong> write it to memory<br />

Note<br />

Table C10-4 Behavior of accesses to DBGDTRRXint<br />

Access RXfull Action New RXfull<br />

Read 0 Returns an UNKNOWN value. Unchanged<br />

1 Returns DBGDTRRX contents 0<br />

Write X Not possible. There is no operation that writes to DBGDTRRXint -<br />

If the STC instruction that reads DBGDTRRXint aborts, the contents of DBGDTRRX <strong>and</strong> the value<br />

of the RXfull flag are UNKNOWN.<br />

The behavior on accesses to DBGDTRRXint does not depend on the value of RXfull_l,<br />

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

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

Saved successfully!

Ooh no, something went wrong!