11.07.2015 Views

CrossWorks for ARM User Guide

CrossWorks for ARM User Guide

CrossWorks for ARM User Guide

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.

DescriptionTargetInterface.setICEBreakerBreakpoint sets an ICEBreaker breakpoint. nis thenumber of the watchpoint unit to use, addressValue is the address value,addressMask is the address mask, dataValue is the data value, dataMask is the datamask, controlValue is the control value, and controlMask is the control mask.TargetInterface.resetAndStopSynopsisDescriptionTargetInterface.resetAndStop(delay)TargetInterface.resetAndStop resets the target by cycling nSRST and then stops theprocessor. The delay parameter specifies the number of milliseconds to hold the nSRSTsignal. This function allows the processor to run <strong>for</strong> a period of time be<strong>for</strong>e theprocessor is stopped which may cause unpredictable behaviour as the processor maybe left in an undefined state if it has been allowed to start up from reset.TargetInterface.stopAndResetSynopsisDescriptionTargetInterface.stopAndReset(delay)TargetInterface.stopAndReset resets the target by stopping the processor and thencycling nSRST. The delay parameter specifies the number of milliseconds to hold thenSRST signal. The difference between this function andTargetInterface.resetAndStopis that this function attempts to keep the processorstopped whilst it is reset and there<strong>for</strong>e allows you to start your program with theprocessor in a known state. Some <strong>ARM</strong> targets however can't do this as the reset alsoresets the debug interface which allows the processor to run when it is released fromreset. On these targets this function behaves in the same way asTargetInterface.resetAndStop.TargetInterface.setNSRSTSynopsisDescriptionTargetInterface.setNSRST(state)TargetInterface.setNSRST sets the level of the target's nSRST reset signal high if stateis non-zero.TargetInterface.setRegisterSynopsisDescriptionTargetInterface.setRegister(register, value)TargetInterface.setRegister sets the CPU regsister register to value.Chapter 14Target script file165

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

Saved successfully!

Ooh no, something went wrong!