AnsweredAssumed Answered

What type of bug could cause SWD / J-Link to stop?

Question asked by Chris Cowdery on Jun 10, 2020
Latest reply on Jun 21, 2020 by Chris Cowdery

Hi All,

 I have a strange bug on my iMXRT1021.

I am using IAR Embedded Workbench, and a J-Link on the SWD debug port.


Under normal operation, everything is fine. The debugger works OK.


I have a bug that I am trying to track down. It occurs fairly regularly. But when it occurs, the system hangs up, and so does the debugger!!


If I hit 'stop', so I can find out where the core is, I get an error message like "Cannot stop target" or "cannot read AICR".


Question - what sort of bug can disable the debug port?


Any ideas?