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
  • Yes, that is the question I had linked to in the main description, the J-link never connects so I can't write to the device access port or the registers. I get an error as follows: (this is with device set as NRF52832_XXAA, using the SWD and speed as 12000)

    `Found SWD-DP with ID 0x2BA01477 Found SWD-DP with ID 0x2BA01477

    ****** Error: Communication timed out: Requested 20 bytes, received 0 bytes ! Could not transfer JTAG data. DAP error while reading DP-Ctrl-Stat register.` This is irrespective of what speed I try with (1000, 4000 or 12000). Could you please try reproducing the issue?

Reply
  • Yes, that is the question I had linked to in the main description, the J-link never connects so I can't write to the device access port or the registers. I get an error as follows: (this is with device set as NRF52832_XXAA, using the SWD and speed as 12000)

    `Found SWD-DP with ID 0x2BA01477 Found SWD-DP with ID 0x2BA01477

    ****** Error: Communication timed out: Requested 20 bytes, received 0 bytes ! Could not transfer JTAG data. DAP error while reading DP-Ctrl-Stat register.` This is irrespective of what speed I try with (1000, 4000 or 12000). Could you please try reproducing the issue?

Children
No Data