FATAL ERROR: command exited with status 33

Hello

I am started playing with nRF5340 DK some month ago and did simple things that worked as expected but now I get the following failure (occures at each trial)  that askes me to add --log to the command (currently I use only VSCode as IDE)

Please point me to the correct direction

See output below 

Thanks a lot

Gerhard

* Task wird ausgeführt: nRF Connect: Flash: ncs-avr-spi-example/build (active)

Flashing build to 1050065280
west flash -d /Users/gerhard/Desktop/nd/ncs-avr-spi-example/build --skip-rebuild --dev-id 1050065280

-- west flash: using runner nrfjprog
-- runners.nrfjprog: Flashing file: /Users/gerhard/Desktop/nd/ncs-avr-spi-example/build/zephyr/zephyr.hex
ERROR: Unable to connect to a debugger.
ERROR: JLinkARM DLL reported an error. Try again. If error condition
ERROR: persists, run the same command again with argument --log, contact Nordic
ERROR: Semiconductor and provide the generated log.log file to them.
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 33: nrfjprog --program /Users/gerhard/Desktop/nd/ncs-avr-spi-example/build/zephyr/zephyr.hex --sectorerase --verify -f NRF53 --coprocessor CP_APPLICATION --snr 1050065280

* Der Terminalprozess wurde mit folgendem Exitcode beendet: 33.

Parents
  • Hello,

    The problem could be about anything, have you tried a different PC and/or tried a different nRF5340-DK for comparison?

    What can you tell me about the nRF5340-DK, e.g. what version is is (see white sticker on the board)?

    Does updating nRF Command line tools help?

    Have you double checked that you have not modified the board in any way (e.g switches or solder bridges)?

    How have you connected the DK to the PC?

    Does running 'nrfjprog --recover' work?

    Kenneth

Reply
  • Hello,

    The problem could be about anything, have you tried a different PC and/or tried a different nRF5340-DK for comparison?

    What can you tell me about the nRF5340-DK, e.g. what version is is (see white sticker on the board)?

    Does updating nRF Command line tools help?

    Have you double checked that you have not modified the board in any way (e.g switches or solder bridges)?

    How have you connected the DK to the PC?

    Does running 'nrfjprog --recover' work?

    Kenneth

Children
No Data
Related