J-Link cannot connect to the CPU
Issue: After downloading an application, J-Link is not able to connect to the CPU
This can have different reasons:
- Application disables the debug interface
- Application reconfigures debug pins
- Application enters some kind of low power mode
- etc....
Preventing connection errors:
- Delay of 1 second at the start of a debug session, so in any case J-Link can halt the CPU before executing the "bad code"