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
  • in the nRF Connect for Desktop Programmer Tool, the nRF5340 DK can be seleted. However, I can't erase the chip or similar and get the following error messages:

    17:09:54.861	Error: Failed with exit code 1. Failed to device info one or more devices: * 1050035893: [jlink] NO_EMULATOR_CONNECTED, code: Nrfjlink. Message: Operation device-info failed, [jlink] NO_EMULATOR_CONNECTED.
    17:09:54.862	Using nrfutil device to communicate with target via JLink
    17:09:56.516	Reading readback protection status for Application core
    17:09:56.516	Failed to reading readback protection status for application core core. Error: [object Object], message: Batch task protection-get failed, [jlink] NO_EMULATOR_CONNECTED
    17:09:56.677	Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] NO_EMULATOR_CONNECTED, code: Nrfjlink. Message: Batch task protection-get failed, [jlink] NO_EMULATOR_CONNECTED.
    17:09:56.677	Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] NO_EMULATOR_CONNECTED, code: Nrfjlink. Message: Batch task protection-get failed, [jlink] NO_EMULATOR_CONNECTED.

Reply
  • in the nRF Connect for Desktop Programmer Tool, the nRF5340 DK can be seleted. However, I can't erase the chip or similar and get the following error messages:

    17:09:54.861	Error: Failed with exit code 1. Failed to device info one or more devices: * 1050035893: [jlink] NO_EMULATOR_CONNECTED, code: Nrfjlink. Message: Operation device-info failed, [jlink] NO_EMULATOR_CONNECTED.
    17:09:54.862	Using nrfutil device to communicate with target via JLink
    17:09:56.516	Reading readback protection status for Application core
    17:09:56.516	Failed to reading readback protection status for application core core. Error: [object Object], message: Batch task protection-get failed, [jlink] NO_EMULATOR_CONNECTED
    17:09:56.677	Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] NO_EMULATOR_CONNECTED, code: Nrfjlink. Message: Batch task protection-get failed, [jlink] NO_EMULATOR_CONNECTED.
    17:09:56.677	Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] NO_EMULATOR_CONNECTED, code: Nrfjlink. Message: Batch task protection-get failed, [jlink] NO_EMULATOR_CONNECTED.

Children
Related