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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Creating debug hardware target configurations5.22 Configuring TrustZone enabled processor behavior when debug privileges arereducedThe target does not allow invasive debug, that is when <strong>the</strong> processor enters debug state, while<strong>the</strong> execution environment is in <strong>the</strong> Secure World. Any attempt to do so might result in <strong>the</strong>following errors:• Insufficient debug privilege to restore processor state for restart.• Insufficient debug privilege to write software breakpoint to memory.To suppress <strong>the</strong>se errors, set <strong>the</strong> Ignore debug privilege errors when starting core(IGNORE_START_DEBUG_PRIV_FAIL) configuration item.This option is useful if you are trying to debug an application in Normal World, while <strong>the</strong> currentconnection state of <strong>the</strong> target is in Secure World.In this setup, <strong>the</strong> debug information and breakpoints are applied to <strong>the</strong> Normal World. However,<strong>the</strong> initial connection still happens while <strong>the</strong> target is in Secure World. The debug hardware unithas no control in this state, so debug control must be delayed until <strong>the</strong> target enters NormalWorld. Until that time, any errors arising from debug operations must be silently ignored.5.22.1 See alsoTasks• Configuring SecurCore behavior if <strong>the</strong> processor clock stops when stepping instructionson page 5-38.Reference• <strong>Debug</strong> hardware Advanced configuration reset options on page 5-37.<strong>ARM</strong> DUI 0498F Copyright © 2010-2012 <strong>ARM</strong>. All rights reserved. 5-39ID021112Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!