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

For more information about these registers see:<br />

— c12, Vector Base Address Register (VBAR) on page B3-148<br />

— c12, Monitor Vector Base Address Register (MVBAR) on page B3-149.<br />

Note<br />

The Reset exception vectors address never depends on the Vector Base Address values, <strong>and</strong> when<br />

SCTLR.VE == 1 the IRQ <strong>and</strong> FIQ exception vector addresses do not depend on the Vector Base<br />

Address values, see Table C10-16 on page C10-73 for more information.<br />

Except for the Secure state vector catches on the Monitor mode vectors, on the exception vector<br />

configuration in the SCTLR:<br />

— whether the SCTLR.V bit is programmed for Normal or High exception vectors<br />

— for catches on the FIQ <strong>and</strong> IRQ exception vectors, on the programming of the SCTLR.VE bit.<br />

Generation of Vector Catch debug events also depends on the security state of the processor:<br />

the Non-secure state vector catches are generated only in Non-secure state<br />

the Secure state vector catches are generated only in Secure state<br />

in v6 Debug <strong>and</strong> v6.1 Debug, Reset vector catches are generated only in Secure state.<br />

In v7 Debug, if Reset vector catch is enabled the Reset vector catches are generated regardless of the security<br />

state of the processor.<br />

Generation of Vector Catch debug events takes no account of the values in the Secure Configuration<br />

Register (SCR), except for SCR.NS. For example, if the DBGVCR is programmed to catch Secure state<br />

IRQs on the Monitor mode vector, by setting bit [14] of the DBGVCR to 1, <strong>and</strong> the processor is in the Secure<br />

state, a Vector Catch debug event is generated on any instruction prefetch from (MVBAR + 0x18). This<br />

debug event is generated even if the SCR is programmed for IRQs to be h<strong>and</strong>led in IRQ mode.<br />

Table C10-15 on page C10-71 shows, for each active bit of the DBGVCR:<br />

the security state in which the Vector Catch debug event can occur<br />

how the corresponding vector address depends on the configuration settings.<br />

C10-72 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!