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 I've tried to use the nrf Connect Desktop Programmer App, yet it complain as well:

    19:46:46.005 Initialising nrfutil module: device
    19:46:46.639 Using nrfutil-device core version: 7.13.0
    19:46:46.857 Using nrfutil-device version: 2.1.1
    19:46:46.857 Using nrf-device-lib version: 0.17.5
    19:46:46.857 Using nrfjprog DLL version: 10.24.0
    19:46:46.857 Using JLink version: JLink_V7.94e
    19:47:41.804 Getting serialport options from persistent store 001050855131.pc-nrfconnect-programmer
    19:47:41.806 Getting serialport options from persistent store 001050855131.pc-nrfconnect-programmer
    19:47:49.787 Error: Failed with exit code 1. Failed to device info one or more devices: * 1050855131: [jlink] UNKNOWN_DEVICE, code: Nrfjlink. Message: Operation device-info failed, [jlink] UNKNOWN_DEVICE.
    19:47:49.788 Using nrfutil device to communicate with target via JLink
    19:47:51.945 Reading readback protection status for Application core
    19:47:51.945 Reading readback protection status for Application core 0%
    19:47:51.947 Reading readback protection status for Application core 100%
    19:47:51.947 Application core protection status 'NRFDL_PROTECTION_STATUS_NONE'
    19:47:51.948 Reading readback protection status for Application core completed
    19:47:54.116 Loading core information for Application core
    19:47:54.116 Loading core information for Application core 0%
    19:47:54.120 Loading core information for Application core 100%
    19:47:54.120 Loading core information for Application core completed
    19:47:54.120 Reading memory for Application core
    19:47:54.121 Reading memory for Application core 0%
    19:47:54.973 Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] NOT_AVAILABLE_BECAUSE_TRUST_ZONE, code: Nrfjlink. Message: Bath task fw-read failed, [jlink] NOT_AVAILABLE_BECAUSE_TRUST_ZONE.
    19:47:54.973 Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] NOT_AVAILABLE_BECAUSE_TRUST_ZONE, code: Nrfjlink. Message: Batch task fw-read failed, [jlink] NOT_AVAILABLE_BECAUSE_TRUST_ZONE.
    19:48:33.954 Recovering Application core
    19:48:33.955 Recovering Application core 0%
    19:48:34.021 Failed "recovering application core". Error: code: 9, description: Nrfjlink, message: Batch task recover failed, [jlink] RECOVER_FAILED
    19:48:34.098 Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] RECOVER_FAILED, code: Nrfjlink. Message: Batch task recover failed, [jlink] RECOVER_FAILED.
    19:48:48.268 Reading memory for Application core
    19:48:48.269 Reading memory for Application core 0%
    19:48:49.144 Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] NOT_AVAILABLE_BECAUSE_TRUST_ZONE, code: Nrfjlink. Message: Batch task fw-read failed, [jlink] NOT_AVAILABLE_BECAUSE_TRUST_ZONE
Reply
  • Updating that I've tried to use the nrf Connect Desktop Programmer App, yet it complain as well:

    19:46:46.005 Initialising nrfutil module: device
    19:46:46.639 Using nrfutil-device core version: 7.13.0
    19:46:46.857 Using nrfutil-device version: 2.1.1
    19:46:46.857 Using nrf-device-lib version: 0.17.5
    19:46:46.857 Using nrfjprog DLL version: 10.24.0
    19:46:46.857 Using JLink version: JLink_V7.94e
    19:47:41.804 Getting serialport options from persistent store 001050855131.pc-nrfconnect-programmer
    19:47:41.806 Getting serialport options from persistent store 001050855131.pc-nrfconnect-programmer
    19:47:49.787 Error: Failed with exit code 1. Failed to device info one or more devices: * 1050855131: [jlink] UNKNOWN_DEVICE, code: Nrfjlink. Message: Operation device-info failed, [jlink] UNKNOWN_DEVICE.
    19:47:49.788 Using nrfutil device to communicate with target via JLink
    19:47:51.945 Reading readback protection status for Application core
    19:47:51.945 Reading readback protection status for Application core 0%
    19:47:51.947 Reading readback protection status for Application core 100%
    19:47:51.947 Application core protection status 'NRFDL_PROTECTION_STATUS_NONE'
    19:47:51.948 Reading readback protection status for Application core completed
    19:47:54.116 Loading core information for Application core
    19:47:54.116 Loading core information for Application core 0%
    19:47:54.120 Loading core information for Application core 100%
    19:47:54.120 Loading core information for Application core completed
    19:47:54.120 Reading memory for Application core
    19:47:54.121 Reading memory for Application core 0%
    19:47:54.973 Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] NOT_AVAILABLE_BECAUSE_TRUST_ZONE, code: Nrfjlink. Message: Bath task fw-read failed, [jlink] NOT_AVAILABLE_BECAUSE_TRUST_ZONE.
    19:47:54.973 Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] NOT_AVAILABLE_BECAUSE_TRUST_ZONE, code: Nrfjlink. Message: Batch task fw-read failed, [jlink] NOT_AVAILABLE_BECAUSE_TRUST_ZONE.
    19:48:33.954 Recovering Application core
    19:48:33.955 Recovering Application core 0%
    19:48:34.021 Failed "recovering application core". Error: code: 9, description: Nrfjlink, message: Batch task recover failed, [jlink] RECOVER_FAILED
    19:48:34.098 Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] RECOVER_FAILED, code: Nrfjlink. Message: Batch task recover failed, [jlink] RECOVER_FAILED.
    19:48:48.268 Reading memory for Application core
    19:48:48.269 Reading memory for Application core 0%
    19:48:49.144 Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] NOT_AVAILABLE_BECAUSE_TRUST_ZONE, code: Nrfjlink. Message: Batch task fw-read failed, [jlink] NOT_AVAILABLE_BECAUSE_TRUST_ZONE
Children
No Data
Related