3 Replies Latest reply on Apr 23, 2020 11:39 AM by user_1669321

    Unable to debug CYBLE-416045-02's CM4




      I want to debug the CM4 in my CYBLE-416045-02 project, but I get these two errors after the programming:


      dbg.M0007 The run request failed. Encountered error (Invalid thread id: 1)

      dbg.M0015 Debugger exited unexpectedly during run. Encountered error (Remote communication error. Target disconnected.: No error.)


      I tried with the example project Find Me (CE217637) and was able to debug the CM4, so the problem is not hardware.


      I validated that the linker scripts are identical (we use the bootloader scripts in release but we use the default ones when we need to debug).


      Both projects use PDL 3.0.4.