I am using SDK9.0,
J-Link Lite-Cortex-M, HW: V8.00, DLL: V4.98C
But getting this error just in this project when debugging:
It was working with this project. not sure if this is caused by new SDK upgrade from 8 to 9 or I did anything.
Added debug screenshot for a Nordic example. which is working.
Could you let me know which debugger are you using? Was it KEIL or GDB ?
Have you made sure you changed the optimization level to 0 instead of 3 as in default configuration in C/C++ tab in project setting? Optimization compiling compresses the code and won't allow the debugger to halt the CPU correctly.
It is KEIL, and Level 0 (-O0).
@Paul: How did you do the upgrade ? Do you have the same problem when testing with the SDK v9 examples ? Could you try to upgrade the Jlink driver to v5.0 ?
DLL: V5.02f, compiled Oct 2 2015 20:51:34
Firmware: J-Link Lite-Cortex-M V8 compiled Aug 20 2015 17:57:19
S/N : 538001129
Feature(s) : GDB
I tried new firmware but same result. Yes, other projects are working with SDKV9 on my computer. I am going to create a new project to try.