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 />

If the external interface input DBGEN is LOW, the MDBGen bit reads as 0. The<br />

programmed value is masked until DBGEN is taken HIGH. When DBGEN goes HIGH, the<br />

value read <strong>and</strong> the behavior of the processor correspond to the programmed value.<br />

Note<br />

If Halting debug-mode is enabled, by setting the HDBGen bit to 1, then the Monitor<br />

debug-mode setting is disabled regardless of the setting of the MDBGen bit.<br />

It is the programmed value of the MDBGen bit, not the value returned by reads of the<br />

DBGDSCR, that is saved by the OS Save <strong>and</strong> Restore Register in a power-down<br />

sequence. For more information, see The OS Save <strong>and</strong> Restore mechanism on<br />

page C6-8.<br />

HDBGen, bit [14]<br />

Halting debug-mode enable bit. The possible values of this bit are:<br />

0 Halting debug-mode disabled<br />

1 Halting debug-mode enabled.<br />

If the external interface input DBGEN is LOW, the HDBGen bit reads as 0. The<br />

programmed value is masked until DBGEN is taken HIGH. When DBGEN goes HIGH, the<br />

value read <strong>and</strong> the behavior of the processor correspond to the programmed value.<br />

Note<br />

It is the programmed value of the HDBGen bit, not the value returned by reads of the<br />

DBGDSCR, that is saved by the OS Save <strong>and</strong> Restore Register in a power-down sequence.<br />

For more information, see The OS Save <strong>and</strong> Restore mechanism on page C6-8.<br />

ITRen, bit [13]<br />

Execute <strong>ARM</strong> instruction enable bit. This bit enables the execution of <strong>ARM</strong> instructions<br />

through the DBGITR, see Instruction Transfer Register (DBGITR) on page C10-46. The<br />

possible values of this bit are:<br />

0 ITR mechanism disabled<br />

1 The ITR mechanism for forcing the processor to execute instructions in Debug<br />

state via the external debug interface is enabled.<br />

Setting this bit to 1 when the processor is in Non-debug state causes UNPREDICTABLE<br />

behavior. The effect of writing to DBGITR when this bit is set to 0 is UNPREDICTABLE.<br />

The implementation of this bit can depend on the Debug architecture version:<br />

<strong>ARM</strong>v6 If the external debug interface does not have a mechanism for forcing the<br />

processor to execute instructions in Debug state via the external debug interface,<br />

this bit is RAZ/WI.<br />

v7 Debug This bit, <strong>and</strong> the DBGITR, are required.<br />

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

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

Saved successfully!

Ooh no, something went wrong!