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.

DBGRESTART<br />

DBGRESTARTED<br />

The numbers in Figure A-1 have the following meanings:<br />

Recommended External Debug Interface<br />

Figure A-1 DBGRESTART / DBGRESTARTED h<strong>and</strong>shake<br />

1. If DBGRESTARTED is asserted HIGH the peripheral asserts DBGRESTART HIGH <strong>and</strong> waits for<br />

DBGRESTARTED to go LOW<br />

2. The processor drives DBGRESTARTED LOW to deassert the signal <strong>and</strong> waits for DBGRESTART<br />

to go LOW<br />

3. The peripheral drives DBGRESTART LOW to deassert the signal. This event indicates to the<br />

processor that it can start the transition from Debug state to Non-debug state.<br />

4. The processor leaves Debug state <strong>and</strong> asserts DBGRESTARTED HIGH.<br />

In the process of leaving Debug state the processor normally deasserts the DBGACK, DBGTRIGGER,<br />

<strong>and</strong> DBGCPUDONE signals. It is IMPLEMENTATION DEFINED when this change occurs relative to the<br />

changes in DBGRESTART <strong>and</strong> DBGRESTARTED.<br />

A.1.3 DBGACK <strong>and</strong> DBGCPUDONE<br />

DBGACK <strong>and</strong> DBGCPUDONE are active-HIGH.<br />

The processor asserts DBGACK to indicate that it is in Debug state. Therefore, the system can use<br />

DBGACK as a h<strong>and</strong>shake for EDBGRQ, instead of using DBGTRIGGER.<br />

In v6 Debug <strong>and</strong> v6.1 Debug, the system can use DBGACK for cross-triggering.<br />

1<br />

2 3<br />

Debug state Non-debug state<br />

The processor asserts DBGCPUDONE only after it has completed all Non-debug state memory accesses.<br />

Therefore the system can use DBGCPUDONE as an indicator that all memory accesses issued by the<br />

processor result from operations performed by a debugger.<br />

Figure A-2 on page AppxA-8 shows the signalling sequence for entry to Debug state. It is diagrammatic<br />

only, <strong>and</strong> does not imply any timings.<br />

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

4

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

Saved successfully!

Ooh no, something went wrong!