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

nRF52810 flashing problem: NOT_AVAILABLE_BECAUSE_PROTECTION (ffffffa6)

Hi,

I'm trying to program a custom board with a nRF52810 via nRF Connect. I keep getting the following error messages:

Error when getting device info: Error: Error: Error occured when get device info. Errorcode: CouldNotCallFunction (0x9) Lowlevel error: NOT_AVAILABLE_BECAUSE_PROTECTION (ffffffa6)
20:06:57.641	Could not fetch memory size of target devkit: Cannot read property 'family' of undefined

I followed this post and tried the following commands:

$ nrfjprog.exe --coprocessor CP_APPLICATION --memrd 0x00FF8000
ERROR: The operation attempted is unavailable due to readback protection in
ERROR: your device. Please use --recover to unlock the device.

$ nrfjprog.exe --coprocessor CP_APPLICATION --recover
Recovering device. This operation might take 30s.
ERROR: Recover failed. Please make sure that the correct device family is given
ERROR: and try again.

I'm using a Segger j-link debugger with a 6-pin-needle adapter to connect the board with my PC via SWD.

Any advice on how to solve this problem is very much appreciated!

Parents
  • Have you tried specifying the family with  "-f NRF52"?

    The help output of nrfjprog says:

    -f  --family <family>       Selects the device family for the operation. Valid
                                 argument options are NRF51, NRF52, NRF53, NRF91,
                                 and UNKNOWN.
                                 If UNKNOWN family is given, an automatic family
                                 detection of the device is performed. Note that
                                 providing the actual family is faster than
                                 performing the automatic family detection. If
                                 --family option is not given, the default is taken
                                 from nrfjprog.ini. Must be combined with another
                                 command.

Reply
  • Have you tried specifying the family with  "-f NRF52"?

    The help output of nrfjprog says:

    -f  --family <family>       Selects the device family for the operation. Valid
                                 argument options are NRF51, NRF52, NRF53, NRF91,
                                 and UNKNOWN.
                                 If UNKNOWN family is given, an automatic family
                                 detection of the device is performed. Note that
                                 providing the actual family is faster than
                                 performing the automatic family detection. If
                                 --family option is not given, the default is taken
                                 from nrfjprog.ini. Must be combined with another
                                 command.

Children
Related