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

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

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

Debug Register Interfaces<br />

bits [23:16] of DBGDIDR are read into bits [15:8] of the destination register<br />

bits [31:24] of DBGDIDR are read into bits [7:0] of the destination register.<br />

Similarly the bytes of a data value written to a debug register, for example the DBGDSCR,<br />

are reversed in big-endian configuration.<br />

If an <strong>ARM</strong>v7 processor, with the E bit set for little-endian operation, reads the DBGDIDR of a second<br />

<strong>ARM</strong>v7 processor with an LDR instruction, then bits [7:0] of the DBGDIDR of the second processor are read<br />

into bits [7:0] of the destination register of the LDR, on the first processor. Similarly, the other bytes of the<br />

DBGDIDR are copied to the corresponding bytes of the destination register. However, if the E bit of the first<br />

processor is set for big-endian operation the bytes are reversed during the LDR operation, with bits [31:24]<br />

of the DBGDIDR of the second processor being read to bits [7:0] of the destination register of the LDR.<br />

Note<br />

The ordering of the bytes in the destination register on the first processor is not affected in any way by the<br />

setting of the CPSR.E bit of the second processor.<br />

These examples assume that no additional manipulation of the data occurs in the interconnect fabric of the<br />

system. For example, an interconnect might perform byte transposition for accesses made across a boundary<br />

between a little-endian subsystem <strong>and</strong> a big-endian subsystem. Such transformations are beyond the scope<br />

of the architecture.<br />

C6.7.4 Permission summaries for memory-mapped <strong>and</strong> external debug interfaces<br />

This section gives summaries of the permission controls <strong>and</strong> their effects for different implementations of<br />

v7 Debug systems. The following subsections describe the access permissions for the two interfaces:<br />

Access permissions for the external debug interface on page C6-47<br />

Access permissions for the memory-mapped interface on page C6-48.<br />

Note<br />

For more information about access permissions in an implementation that includes the OS Save <strong>and</strong> Restore<br />

mechanism but does not provide access to the DBGOSSRR through the external debug interface, see the<br />

Note in The OS Save <strong>and</strong> Restore mechanism on page C6-8.<br />

The remaining subsections apply to both interfaces:<br />

Meanings of terms <strong>and</strong> abbreviations used in this section on page C6-46<br />

Permissions summary for separate debug <strong>and</strong> core power domains on page C6-48<br />

Permissions summary for SinglePower (debug <strong>and</strong> core in single power domain) on page C6-50.<br />

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

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

Saved successfully!

Ooh no, something went wrong!