Synopsis
TargetInterface.resetAndStopAtZero(delay)
Description
TargetInterface.resetAndStopAtZero resets the target by setting a breakpoint on address 0x00000000 (the reset vector) and then cycling nSRST. The delay parameter specifies the number of milliseconds to hold the nSRST signal. The difference between this function and TargetInterface.resetAndStop is that this function attempts to keep the processor stopped whilst it is reset and therefore allows you to start your program with the processor in a known state. Some ARM targets however can't do this because they have a bootloader program that runs before JTAG is enabled or the reset also resets the debug interface which allows the processor to run when it is released from reset. On these targets this function behaves in the same way as TargetInterface.resetAndStop.