Win11: ERROR: No debuggers were discovered.

Hi there,

I'm trying to get the entire toolchain running on a new Win 11 AMD machine. Visual Studio Code has version 1.88.0, toolchain has v2.6.0 and SDK v2.6.0.

Therefore I followed: https://www.youtube.com/watch?v=EAJdOqsL9m8

However, I get the following error while trying to flash a sample blinky to a nRF5340 DK

ERROR: No debuggers were discovered.
NOTE: For additional output, try running again with logging enabled (--log).
NOTE: Any generated log error messages will be displayed.
FATAL ERROR: command exited with status 41: nrfjprog --program 'c:\repos\blinky\build\zephyr\merged.hex' --chiperase --verify -f NRF53 --coprocessor CP_APPLICATION --snr 1050035893

 *  The terminal process terminated with exit code: 41. 
 *  Terminal will be reused by tasks, press any key to close it. 

The command line tools are installed with version 10.24.0 as version 10.24.1 gave me the same error:

nrfjprog version: 10.24.0 external
JLinkARM.dll version: 7.94e

Can you please give me a hand to get everything running?

Kind regards,

Patrick

Parents Reply
  • Other USB ports and cable are still leading to the same issue,

    On the Kubuntu PC is everything fine. What somehow bothers me on the Win11 is, that in the VSCode under connected devices there is one icon missing with the chip information:

    The output of the "nrfjprog --recover --log" is:

    C:\Users\someone>nrfjprog --recover --log
    ERROR: No debuggers were discovered.

    Any further ideas?

Children
No Data
Related