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
  • Turns out I had to do a full reboot. I was running Windows 10 on Parallels on a Macbook, and prior to this I had just tried rebooting the Windows. I did a clean reboot after updating my OSX. Although now I am not able to run nrfjprog -f NRF52 --recover successfully. It says it should take 30s but it never completes. I'll try method 3 in the above link and see if that works. I had tried with the JLink commander before I did the reboot, and even that couldn't connect to it.

Reply
  • Turns out I had to do a full reboot. I was running Windows 10 on Parallels on a Macbook, and prior to this I had just tried rebooting the Windows. I did a clean reboot after updating my OSX. Although now I am not able to run nrfjprog -f NRF52 --recover successfully. It says it should take 30s but it never completes. I'll try method 3 in the above link and see if that works. I had tried with the JLink commander before I did the reboot, and even that couldn't connect to it.

Children
No Data
Related