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 configurationsStopped Controls <strong>the</strong> state of a processor after a reset. It is only available fordevices that are capable of running (such as <strong>ARM</strong> processors). Eachdevice on <strong>the</strong> scan chain does not have to be set to <strong>the</strong> same value, soit is valid to have one processor running and ano<strong>the</strong>r stopped.NoteIf you want to connect to a running target without performing a reset and withoutstopping <strong>the</strong> target, you must do both of <strong>the</strong> following:• In debug hardware, set <strong>the</strong> Post Reset State to Running.• In your debugger, connect using <strong>the</strong> No Reset/No Stop connection mode.Soft TAP reset on JTAG sync lossIn some situations, such as a processor entering low power mode, <strong>the</strong>synchronization between <strong>the</strong> debug unit and <strong>the</strong> TAP controller in <strong>the</strong> JTAGsystem can be lost. This can result in invalid values for <strong>the</strong> debug status registerbeing read. To regain <strong>the</strong> synchronization, a soft TAP reset must be performed toget <strong>the</strong> TAP controller into a known state.If Soft TAP reset on JTAG sync loss is checked, a soft TAP reset is performed toget <strong>the</strong> TAP controller into a known state if <strong>the</strong> debug unit reads invalid values for<strong>the</strong> debug status register.Software breakpoint modeIf supported by your processors, this control enables you to configure how <strong>the</strong>debug hardware unit handles software breakpoints. Select <strong>the</strong> required breakpointmode:AUTO This is <strong>the</strong> default mode for all templates:• If <strong>the</strong> processor being debugged supports BKPT instructions,debug hardware automatically uses <strong>the</strong> BKPT instruction forsoftware breakpoints.• Only one watchpoint resource is used for multiple softwarebreakpoints. Therefore, if <strong>the</strong> processor being debugged does notsupport BKPT instructions, debug hardware uses <strong>the</strong> watchpointunit resource when you set a software breakpoint. The debughardware unit automatically frees <strong>the</strong> watchpoint unit resourcewhen all software breakpoints are cleared.NONE When this mode is selected, you cannot set software breakpoints. Ifyou attempt to set a software breakpoint, debug hardware gives anerror message telling you that <strong>the</strong>re are no free resources to set <strong>the</strong>breakpoint.WATCHPOINTThis mode instructs debug hardware to use one watchpoint unit toprovide software breakpoint instructions, whe<strong>the</strong>r or not <strong>the</strong> processorbeing debugged supports BKPT instructions. Select this option if <strong>the</strong>processor supports BKPT instructions but you want to use a watchpointunit.BKPT This mode instructs debug hardware to use <strong>the</strong> BKPT instruction toprovide software breakpoint instructions, whe<strong>the</strong>r or not <strong>the</strong> processorsupports this instruction. Select this option if you want to make surethat no watchpoints are used.<strong>ARM</strong> DUI 0498F Copyright © 2010-2012 <strong>ARM</strong>. All rights reserved. 5-29ID021112Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!