##### Synopsis

    TargetInterface.stopAndReset(delay)

##### Description

TargetInterface.stopAndReset resets the target by stopping the processor 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 as 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.