This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Problems with J-Link on nRF5340

Hi,

i'm using the nRF5340 DK and SEGGER Embedded Studio V5.50c. Today after starting SEGGER i was asked to perform a firmware restoration for the j-link if the nRF5340 which i proceeded and it looked like it was successful. Now i'm having some trouble with the connection to the DK. If i'm trying to debug or flash my project on the DK i'm getting the following errror:


The target output is:

Preparing target for download
Executing Reset script TargetInterface.resetAndStop()
Reset: ARMv8M core with Security Extension enabled detected.
Reset: Halt core after reset via DEMCR.VC_CORERESET.
Reset: Reset device via AIRCR.SYSRESETREQ.
Downloading ‘merged.hex’ to J-Link
Programming 211.0 KB of addresses 00000000 — 00034c5b
Failed to prepare for programming.
Failed to execute RAMCode for RAM check!
Target voltage too low (1 Volt is required, Measured: 0.0 Volt).
Failed to download application.
Undocumented error
Download failed

I tried ato recover the device with nrfjprog but i'm getting the error:

Recovering device. This operation might take 30s.
Writing image to disable ap protect.
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.

The log file is:

7266.log.log

Do you have any suggestions for this?

Kind regards

Eva

Parents
  • Sorry to ask, but have you tried the re-start PC and unplug/plugin DK and see if that make any difference?

    Possible also re-install the latest nRF command tools to see if that make any difference. You can run "nrfjprog --version" afterwards, and then "nrfjprog --recover --coprocessor CP_NETWORK" and "nrfjprog --recover". Please share screenshots.

    That said, if you still have problems, maybe take a picture of your DK so we can see if all jumpers and headers are in the correct position. Maybe you have by accident touched the nRF power source switch.

    Best regards,
    Kenneth

  • Hi,

    thanks a lot for your reply.

    Yes, i've restarted the PC and plugged/unplugged the device multiple times, but it didn't help. Strangely it seems when i tried again today, that the error has changed.

    I installed the latest nRF command tools (10_13_0) and tried the given commands:

    v10_13_0_log_recover_coprocessor.lognrfjprog_output.txt

    Since there appeared a lot of errors i also reinstalled the my previous used nRF command tool version (10_12_2) which lead to the following output/log:

    v10_12_2_log_recover_coprocessor.log

    I also took a picture of the used DK:

    the nRF power source is in the "USB" position. I didn't consciously change anything since it last worked.

Reply Children
Related