Difference between revisions of "J-Link cannot connect to the CPU"

From SEGGER Wiki
Jump to: navigation, search
Line 6: Line 6:
 
* Application enters some kind of low power mode
 
* Application enters some kind of low power mode
 
* etc....
 
* etc....
  +
   
 
Preventing connection errors:
 
Preventing connection errors:

Revision as of 13:22, 13 August 2015

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"