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

nrfjprog readback protection problem on nRF52 Chip-Revision 1

In general, I'm working on my own dfu-bootloader project which was developped on the "Engineering A" chip-revision of the nRF52832. We finally have new hardware with the chip-revision 1 and I now have the following problem:

Flashing the SD with nrfjprog --program s132_nrf52_2.0.0_softdevice.hex -f nrf52 --verify --chiperase --log leads to:

Erasing code and UICR flash areas.

ERROR: The operation attempted is unavailable due to readback protection in your device. Please use --recover to unlock the device.

When I then do nrfjprog --recover -f nrf52 --log before the flash command, nothing changes and it still does not work. The UICR APPROTECT registered aren't set anyway, which I explicitly checked.

The produced Logs aren't helping either. I would like to insert them here, but the format is presented terribly.

It's pretty annoying, because everything worked fine on the old chip and now I cannot use my standard build routine to erase the chip and flash the SD. Instead I do it with SEGGER J-Flash Lite.

I'm working with an Eclipse makefile Project with Cross ARM GCC on a nRF52832 with s132_nrf52_2.0.0_softdevice.hex and the nRF5_SDK_11.0.0_89a8197. I flash the fw via Segger J-Link Base Debugger. The Segger J-Link sw on my pc is at version 6.12f. nrfjprog has the version 9.2.1.

Related