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.

Recommended External Debug Interface<br />

DBGSELFADDR specifies bits [31:12] of the two’s complement signed offset from the ROM Table<br />

physical address to the physical address where the debug registers are Memory-mapped. This is a<br />

configuration input. It must either:<br />

be a tie-off<br />

change only while the processor is in reset.<br />

If there is no ROM Table, DBGROMADDR must be configured as described in the section<br />

DBGROMADDR <strong>and</strong> DBGROMADDRV on page AppxA-10, <strong>and</strong> DBGSELFADDR must be tied off to<br />

zero with DBGSELFADDRV tied HIGH.<br />

DBGSELFADDRV is the valid signal for DBGSELFADDR. If the offset cannot be determined,<br />

DBGSELFADDR must be tied off to zero <strong>and</strong> DBGSELFADDRV tied LOW.<br />

A.1.10 DBGSWENABLE<br />

DBGSWENABLE is not required in v6 Debug <strong>and</strong> v6.1 Debug.<br />

In v7 Debug, DBGSWENABLE is driven by the Debug Access Port. For details see the <strong>ARM</strong> Debug<br />

Interface v5 <strong>Architecture</strong> Specification.<br />

DBGSWENABLE is an active-HIGH signal that must be asserted to enable system access to the debug<br />

register file. That is, if deasserted it prevents access through the memory-mapped <strong>and</strong> Extended CP14<br />

interfaces. This gives the debugger full control over the debug registers in the processor.<br />

When this signal is deasserted by the debugger by a means that is IMPLEMENTATION DEFINED,<br />

memory-mapped interface accesses return an error response <strong>and</strong> most Extended CP14 operations become<br />

UNDEFINED instructions. See CP14 debug registers access permissions on page C6-36 <strong>and</strong> Permission<br />

summaries for memory-mapped <strong>and</strong> external debug interfaces on page C6-45.<br />

In the <strong>ARM</strong> Debug Interface v5, DBGSWENABLE is asserted by setting the DbgSwEnable control bit in<br />

the access port Control Status Word Register (CSW) to 1. For the memory-mapped interface, when the<br />

DbgSwEnable control bit is set to 0 the generation of slave-generated errors is a function of the ADIv5<br />

Debug Access Port, <strong>and</strong> therefore the processor ignores the DBGSWENABLE signal for the<br />

memory-mapped interface. For details see the <strong>ARM</strong> Debug Interface v5 <strong>Architecture</strong> Specification.<br />

The DBGSWENABLE signal has no effect on accesses through the external debug interface.<br />

Normally, the DBGSWENABLE signal must be asserted at debug logic reset <strong>and</strong> deasserted under<br />

debugger control.<br />

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

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

Saved successfully!

Ooh no, something went wrong!