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

nrfjroog --recover gives error

Hi all,

I have recently upgraded my tools to SDK 5.2 and JLink V4.84f, and started using nRF51822 G0 chips. The issue I have is with recovering the part in the Studio 1.16.1. With reference to below, you can see that nrfjprog -e will erase the chip OK but nrfjprog --recover gives an error (Could not Start CPU Core) when at the Applying pin reset. step.

Maybe I need to roll back the JLink drivers? I've tried all the tips form other posts but no joy.

From my command prompt:

C:\Users\S3>nrfjprog -e
Applying system reset.
Disabling flash write and erase protection mechanism.
Erasing all flash (code region 0, code region 1 and UICR).
Applying system reset.
Enabling flash write and erase protection mechanism.

C:\Users\S3>nrfjprog --recover
WARNING: Attempting to recover the device. This operation may take up to 30s.
Applying system reset.
Halting the device.
Disabling flash write and erase protection mechanism.
Erasing all flash (code region 0, code region 1 and UICR).
Applying system reset.
Applying pin reset.
ERROR: JLinkArm.dll returned an error condition. Try again. If the condition per
sists, please report the error to Nordic Semiconductor support with the text "pi
n_reset_ignore_pall: return code 8".

C:\Users\S3>

Simon

Related