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 configurationsIgnore bad JTAG IDCODEBy default, debug hardware reads <strong>the</strong> device JTAG IDCODE to verify <strong>the</strong>integrity of <strong>the</strong> JTAG connection. The JTAG standard restricts <strong>the</strong> JTAGIDCODE value to be 32 bits long and requires <strong>the</strong> least significant bit to be a 1.If debug hardware reads an invalid (bad) JTAG IDCODE, it assumes that <strong>the</strong>JTAG connection is not functioning properly, and fails <strong>the</strong> attempt to connect to<strong>the</strong> processor.You must set <strong>the</strong> Ignore bad JTAG IDCODE option according to whe<strong>the</strong>r youwant to instruct debug hardware to enable connection to <strong>the</strong> processor even if itdetects that <strong>the</strong> JTAG IDCODE is invalid.Ignore debug privilege errors when starting coreWhen <strong>the</strong> SPIDEN line is changed from HIGH to LOW, <strong>the</strong> following errorsmight be seen:• Insufficient debug privilege to restore core state for restart.• Insufficient debug privilege to write software breakpoint to memory.• Set Ignore debug privilege errors when starting core to suppress <strong>the</strong>seerrors.If set to True, debug hardware starts <strong>the</strong> processor running even though <strong>the</strong>breakpoints/processor state is incorrect.If set to False (<strong>the</strong> default), debug hardware refuses to start <strong>the</strong> processor andreports <strong>the</strong> errors.IP Address IP address of <strong>the</strong> target when using virtual E<strong>the</strong>rnet. Used with <strong>the</strong> DefaultGateway and Network Mask settings to enable access to your target from <strong>the</strong>network.JTAG timeouts enabledJTAG timeouts are enabled by default. You must disable <strong>the</strong>se when debughardware is connected to a processor using a low clock speed and adaptiveclocking, because debug hardware cannot detect <strong>the</strong> clock speed when adaptiveclocking is used, so cannot scale its internal timeouts. If a JTAG timeout occurs,<strong>the</strong> JTAG is left in an unknown state, and debug hardware cannot operatecorrectly without reconnecting to <strong>the</strong> processor.Network MaskNet Mask of <strong>the</strong> target when using virtual E<strong>the</strong>rnet. Used with <strong>the</strong> IP Address andDefault Gateway settings to enable access to your target from <strong>the</strong> network.No error if step-instr can't stop.Controls generation of error messages if a debugger step instruction operationfails because a timeout attempts to stop <strong>the</strong> SecurCore processor after a step iscomplete. This can occur on <strong>the</strong> SecurCore if an instruction execution results in<strong>the</strong> processor clock being disabled using CLKEN. The processor appears to be ina running state.If set to True (<strong>the</strong> default), <strong>the</strong>n no error message appears if an instruction stepresults in <strong>the</strong> processor running.If set to False, <strong>the</strong>n an error dialog box is displayed in your debugger.Post Reset StateSet to <strong>the</strong> required state for <strong>the</strong> target hardware:Running The target hardware is running.<strong>ARM</strong> DUI 0498F Copyright © 2010-2012 <strong>ARM</strong>. All rights reserved. 5-28ID021112Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!