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

The ready flag for the DBGITR, InstrCompl, is an internal flag that cannot be accessed through any<br />

register.<br />

For details of the ready state of each flag, <strong>and</strong> details of when the latched flags are updated, see the<br />

descriptions of the DBGDSCR flag bits.<br />

Different external DCC access modes require the debugger to execute different sequences of accesses to the<br />

DBGDTRRXext <strong>and</strong> DBGDTRTXext registers, <strong>and</strong> to the DBGITR. This can affect the total number of<br />

accesses required.<br />

Table C10-2 shows the three external DCC access modes:<br />

Note<br />

Non-blocking mode is the default setting because improper use of the other modes can result in the<br />

external debug interface becoming deadlocked.<br />

For information that applies to all access modes see Restrictions on accesses to DBGITR,<br />

DBGDTRRXext <strong>and</strong> DBGDTRTXext on page C10-25.<br />

See Instruction <strong>and</strong> data transfer registers on page C10-40. The external DCC access mode field has no<br />

effect on accesses to DBGDTRRXint <strong>and</strong> DBGDTRTXint.<br />

Non-blocking mode<br />

Table C10-2 Meaning of the external DCC access mode values<br />

DBGDSCR.ExtDCCmode External DCC access mode Description<br />

0b00 Non-blocking mode Non-blocking mode<br />

0b01 Stall mode Stall mode on page C10-23<br />

0b10 Fast mode Fast mode on page C10-23<br />

When Non-blocking mode is selected, reads from DBGDTRTXext <strong>and</strong> writes to DBGDTRRXext <strong>and</strong><br />

DBGITR are ignored when the appropriate latched ready flag is not in the ready state:<br />

if RXfull_l is set to 1, writes to DBGDTRRXext are ignored<br />

if InstrCompl_l is set to 0, writes to DBGITR are ignored<br />

if TXfull_l is set to 0, reads from DBGDTRTXext are ignored <strong>and</strong> return an UNKNOWN value.<br />

Following a successful write to DBGDTRRXext, RXfull <strong>and</strong> RXfull_l are set to 1.<br />

Following a successful read from DBGDTRTXext, TXfull <strong>and</strong> TXfull_l are cleared to 0.<br />

Following a successful write to DBGITR, InstrCompl <strong>and</strong> InstrCompl_l are cleared to 0.<br />

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

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

Saved successfully!

Ooh no, something went wrong!