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.

Creating debug hardware target configurationsUnwind vector when halt on vector catchThis control is available if you are using an <strong>ARM</strong>10 processor. It instructs <strong>the</strong>debug unit to unwind <strong>the</strong> vector if you have set a vector catch on a SWI, anUndefined instruction, a Prefetch Abort or a Data abort. Unwinding <strong>the</strong> vectorsets <strong>the</strong> PC to <strong>the</strong> address of <strong>the</strong> code that caused <strong>the</strong> exception instead of leavingit at <strong>the</strong> vector address. The LR and CPSR are restored, and debugger displays <strong>the</strong>code at this address. This enables you to more easily examine <strong>the</strong> code that caused<strong>the</strong> exception. If you want to run <strong>the</strong> exception handling code, you must leave thisoption unchecked.NoteThis option is only activated if a vector catch occurs. If a vector catch is not set,<strong>the</strong>n <strong>the</strong> exception handler is run as normal.Unwind vector when halt on SWIThis control is available if you are using <strong>the</strong> following:• a Cortex-A8 or Cortex-R4 processor• <strong>ARM</strong>1136JFS-JTAG-AP, <strong>ARM</strong>1156T2FS-JTAG-AP, or<strong>ARM</strong>1176JZF-JTAG-AP device.It instructs debug hardware to unwind <strong>the</strong> Supervisor Call (SVC) vector if youhave set a vector catch on an SVC. Unwinding <strong>the</strong> vector sets <strong>the</strong> PC to <strong>the</strong>address of <strong>the</strong> code that caused <strong>the</strong> exception instead of leaving it at <strong>the</strong> vectoraddress. The LR and CPSR are restored, and your debugger displays <strong>the</strong> code atthis address. This enables you to more easily examine <strong>the</strong> code that caused <strong>the</strong>exception. If you want to run <strong>the</strong> exception handling code, you must leave thisoption unchecked.NoteThis option is only activated if an SVC vector catch occurs. If an SVC vectorcatch is not set, <strong>the</strong>n <strong>the</strong> exception handler is run as normal.Use LDM or STM for memory accessThis options controls whe<strong>the</strong>r or not to use Load Multiple Instructions (LDM) orStore Multiple Instructions (STM) to access target memory. You might need to setthis option if you have a peripheral that is not fully compatible with <strong>the</strong> AMBA2.0 standard, as in such cases LDM and STM might not be compatible.Write-Through L2 Cache when in debugThis option is available if you are using an <strong>ARM</strong>11 processor.Use this option with platforms that have a level 2 cache that interferes with debugoperations. By default it is set to False, but <strong>the</strong> platform configuration filessupplied for affected platforms set it to True.NoteIf you set this option for o<strong>the</strong>r platforms, unexpected behavior might result, andcause errors.<strong>ARM</strong> DUI 0498F Copyright © 2010-2012 <strong>ARM</strong>. All rights reserved. 5-30ID021112Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!