Got stuck with the getting nrf54h20 started guide with `NotAvailableBecauseProtection` error

Following the getting nrf54h20 started guide - https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/device_guides/working_with_nrf/nrf54h/ug_nrf54h20_gs.html#ug-nrf54h20-gs

I got stuck after the UICR flashing step - it seems there a readback protection. I've tried to erase the UICR but with no success. How do I continue?

~/dev/nrf54h20 » nrfutil device recover


X Failed to recover 1050855131, [jlink] RECOVER_FAILED
Error: One or more recover tasks failed:
* 1050855131: [jlink] RECOVER_FAILED, code: Nrfjlink


~/dev/nrf54h20 » nrfutil device erase --all

X Failed to erase 1050855131, [jlink] The operation is unavailable due to readback protection
Error: One or more erase tasks failed:
* 1050855131: [jlink] The operation is unavailable due to readback protection, code: NotAvailableBecauseProtection

The operation was unavailable for some of the devices because they had readback protection enabled. These devices might be possible to unlock using the `recover` subcommand. See `nrfutil device recover --help` for more information.

nrfutil Version:  7.13.0 (8289424 2024-07-01)

Installed nrfutil tools:
* completion 1.5.0
* device 2.4.6 Work with Nordic Semiconductor devices
* nrf5sdk-tools 1.1.0 nRF5 SDK tools that were available in nRF Util 6
* toolchain-manager 0.15.0 Manage and use toolchains for nRF Connect SDK

Found 4 installed command(s)

Parents
  • Updating that even when I try to reprogram with the UICR, it failed:

    ➜ Downloads nrfjprog --program /home/gbrandwine/Downloads/bicr.hex --chiperase (dev-odeaks/gbrandwine)
    [error] [ Client] - Encountered error -93: Command erase_file executed for 691 milliseconds with result -93
    [error] [haltium] - Can't check security mapping of peripheral @0x5201E000 with coprocessor APPLICATION without secure debugging available.
    [error] [haltium] - Failed while erasing device. -93: Exception encountered while enabling coprocessor
    [error] [ Worker] - Exception encountered while enabling coprocessor
    ERROR: Access to the selected address is blocked by the SPU.
    NOTE: For additional output, try running again with logging enabled (--log).
    NOTE: Any generated log error messages will be displayed.

Reply
  • Updating that even when I try to reprogram with the UICR, it failed:

    ➜ Downloads nrfjprog --program /home/gbrandwine/Downloads/bicr.hex --chiperase (dev-odeaks/gbrandwine)
    [error] [ Client] - Encountered error -93: Command erase_file executed for 691 milliseconds with result -93
    [error] [haltium] - Can't check security mapping of peripheral @0x5201E000 with coprocessor APPLICATION without secure debugging available.
    [error] [haltium] - Failed while erasing device. -93: Exception encountered while enabling coprocessor
    [error] [ Worker] - Exception encountered while enabling coprocessor
    ERROR: Access to the selected address is blocked by the SPU.
    NOTE: For additional output, try running again with logging enabled (--log).
    NOTE: Any generated log error messages will be displayed.

Children
No Data
Related