12.07.2015 Views

ARM DS-5 Using the Debug Hardware Configuration Utilities

ARM DS-5 Using the Debug Hardware Configuration Utilities

ARM DS-5 Using the Debug Hardware Configuration Utilities

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.

<strong>Debug</strong>ging with your debug hardware unit8.15 <strong>Debug</strong>ging with a simulated resetYou can, where supported, simulate a reset from within <strong>the</strong> debugger by setting:• <strong>the</strong> pc to <strong>the</strong> address of <strong>the</strong> reset vector• <strong>the</strong> CPSR to change into Supervisor mode with interrupts disabled.This simulates <strong>the</strong> state of <strong>the</strong> <strong>ARM</strong> processor at power-on or reset, but it does not performpost-reset tasks such as resetting <strong>the</strong> memory map, or initializing any target-specific featuressuch as peripheral registers. It is recommended that you modify <strong>the</strong>se target-specific features toresemble <strong>the</strong>ir startup state before executing <strong>the</strong> application again, if possible. You can automatethis procedure using <strong>the</strong> scripting facilities of your debugger.8.15.1 See alsoTasks• Post-mortem debugging on page 8-2.Concepts• <strong>Debug</strong>ging from reset on page 8-18• <strong>Debug</strong>ging with a reset register on page 8-20• <strong>Debug</strong>ging with a target reset on page 8-21• <strong>Debug</strong>ging systems with ROM at <strong>the</strong> exception vector on page 8-22.<strong>ARM</strong> DUI 0498F Copyright © 2010-2012 <strong>ARM</strong>. All rights reserved. 8-19ID021112Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!