This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

JLink not recognized after setting --rbp ALL

I'm using the nRF52 Dev board and set the --rbp ALL option while using nrfjprog. It worked fine, and I am able to do OTA updates as I was testing the bootloader example. But the jlink is no longer recognized. I cannot undo the readback protection as I can no longer recognize the jlink on the board. I get the following error in keil: ***JLink Error: Communication timed out: Requested 20 bytes, received 0 bytes ! Could not transfer JTAG data. DAP error while reading DP-Ctrl-Stat register. Error: Flash Download failed - Target DLL has been cancelled

And I can't use any of the methods given here to disable the RBP: devzone.nordicsemi.com/.../

Has anyone seen this problem before? Any help would be appreciated, thanks!

Parents
  • No, I'm afraid this is different. Reasons:

    1. Issue tracked in this question was strictly linked to read-back protected code (RBPALL flag in UICR). You mention that you care able to debug your firmware which is impossible to do when you have RBPALL enabled.
    2. Issue mentioned in this question was resolved by NRFTOOLS v9.0.0. You seems to be using the latest version so it's probably different problem.

    Have you tried to connect under reset (SEGGER can do it I believe)? Change the way you power it? Cheers

Reply
  • No, I'm afraid this is different. Reasons:

    1. Issue tracked in this question was strictly linked to read-back protected code (RBPALL flag in UICR). You mention that you care able to debug your firmware which is impossible to do when you have RBPALL enabled.
    2. Issue mentioned in this question was resolved by NRFTOOLS v9.0.0. You seems to be using the latest version so it's probably different problem.

    Have you tried to connect under reset (SEGGER can do it I believe)? Change the way you power it? Cheers

Children
No Data
Related