nrf54h20-dk flash failed.

I strictly followed the tutorial in the document to develop

(docs.nordicsemi.com/.../ug_nrf54h20_gs.html

but the west flash still failed in the end. Here I record my operation process.

1.ncs version(with west update success)

2.the sample zephyr/samples/sysbuild/hello_world also build success.

3.some nrfutil command

4.flash always failed.

So please help to solve the flash issue.

Parents
  • Hi Bruce, 

    Have you made sure you went through the bring up process ? 
    https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/device_guides/working_with_nrf/nrf54h/ug_nrf54h20_gs.html#programming_the_bicr

    Could try try doing a nrfutil device recover --serial-number <your serial number>

    Then go through the BICR flashing and other steps again ? 
    Please send us  the log for each steps. 

  • As you can see the BICR flash is failed, but I'm sure the first time is OK.

  • Hi Bruce, 
    Could you continue with other steps and capture the response for each steps ?
    Did you flash anything before the BICR or before going through the bring  up process ? 

  • At the beginning, I didn't know how to activate the board correctly. I compiled and flashed the following examples according to zephyr's description

    https://docs.zephyrproject.org/latest/boards/nordic/nrf54h20dk/doc/index.html


    hello_world --> zephyr/samples/hello_world
    blinky --> zephyr/samples/basic/blinky


    Both examples can be flashed successfully, but they can't run, and they can't enter the debugging mode through west debug
    This is the log of successful flash

    sorry, is it because after flash the BICR, I did the west flash directly so caused the issue? 


    So I later found nordic's tutorial, here I will capture the response for each steps and record the log:

    (.venv) pi@inspiron:~/example/nordic/nrf54h20/hello_world$ nrfutil device list
    1051196159
    product         J-Link
    board version   PCA10175
    ports           /dev/ttyACM0, vcom: 0
                    /dev/ttyACM1, vcom: 1
    traits          boardController, devkit, jlink, seggerUsb, serialPorts, usb
    
    Found 1 supported device(s)
    
    (.venv) pi@inspiron:~/example/nordic/nrf54h20/hello_world$ nrfutil device recover --serial-number 1051196159
    ✔️ Recovered 1051196159
    (.venv) pi@inspiron:~/example/nordic/nrf54h20/hello_world$ nrfutil device program --options chip_erase_mode=ERASE_NONE --firmware ~/Downloads/bicr.hex --core Application --serial-number 1051196159
    [00:00:00] ------   0% [1/1 1051196159] Failed, [Probe] Device error: Failed to get access to memory range 0x0fff87b0..0x0fff87c0: Error in ADAC operation: The ADAC command SDFW_ADAC_MEM_CF
    Error: One or more program tasks failed:
     * 1051196159: [Probe] Device error: Failed to get access to memory range 0x0fff87b0..0x0fff87c0: Error in ADAC operation: The ADAC command SDFW_ADAC_MEM_CFG failed with status ADAC_FAILURE (0x0001), code: Generic
    (.venv) pi@inspiron:~/example/nordic/nrf54h20/hello_world$ nrfutil device x-provision-nrf54h --firmware ~/Downloads/nrf54h20_soc_binaries_v0.6.2.zip --serial-number 1051196159     
    ❌ Failed to provision 1051196159, [Probe] SDFW programming is supported only for devices in life cycle state EMPTY: Your device is in life cycle state LIFECYCLE_ROT (0x2000)
    Error: One or more provision tasks failed:
     * 1051196159: [Probe] SDFW programming is supported only for devices in life cycle state EMPTY: Your device is in life cycle state LIFECYCLE_ROT (0x2000), code: Generic
    (.venv) pi@inspiron:~/example/nordic/nrf54h20/hello_world$ nrfutil device x-adac-discovery --serial-number 1051196159
    001051196159
    adac_auth_version     1.0
    vendor_id             Nordic VLSI ASA
    soc_class             0x00005420
    soc_id                d95539f4-23d9-11ef-e503-41ba7340838a
    hw_permissions_fixed  [00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00]
    hw_permissions_mask   [01, 00, 00, 00, 87, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00]
    psa_lifecycle         LIFECYCLE_ROT (0x2000)
    sda_id                0x01
    secrom_revision       0xdb8bd920
    sysrom_revision       0x3df7dba0
    token_formats         [TokenAdac]
    cert_formats          [CertAdac]
    cryptosystems         [Ed25519Sha512]
    Additional TLVs:
      TargetIdentity: [ff, ff, ff, ff, 01, 26, 01, 00]
    
    (.venv) pi@inspiron:~/example/nordic/nrf54h20/hello_world$ nrfutil device x-adac-lcs-change --life-cycle rot --serial-number 1051196159
    ❌ Failed to change life cycle state 1051196159, [Probe] Device error: Error in ADAC operation: The ADAC command ADAC_LCS_CHANGE failed with status ADAC_UNSUPPORTED (0x0003)
    Error: One or more change life cycle state tasks failed:
     * 1051196159: [Probe] Device error: Error in ADAC operation: The ADAC command ADAC_LCS_CHANGE failed with status ADAC_UNSUPPORTED (0x0003), code: Generic
    (.venv) pi@inspiron:~/example/nordic/nrf54h20/hello_world$ nrfutil device x-adac-discovery --serial-number 1051196159
    001051196159
    adac_auth_version     1.0
    vendor_id             Nordic VLSI ASA
    soc_class             0x00005420
    soc_id                d95539f4-23d9-11ef-e503-41ba7340838a
    hw_permissions_fixed  [00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00]
    hw_permissions_mask   [01, 00, 00, 00, 87, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00]
    psa_lifecycle         LIFECYCLE_ROT (0x2000)
    sda_id                0x01
    secrom_revision       0xdb8bd920
    sysrom_revision       0x3df7dba0
    token_formats         [TokenAdac]
    cert_formats          [CertAdac]
    cryptosystems         [Ed25519Sha512]
    Additional TLVs:
      TargetIdentity: [ff, ff, ff, ff, 01, 26, 01, 00]
    
    (.venv) pi@inspiron:~/example/nordic/nrf54h20/hello_world$ nrfutil device reset --reset-kind RESET_PIN --serial-number 1051196159
    ✔️ Reset was applied to 1051196159
    (.venv) pi@inspiron:~/example/nordic/nrf54h20/hello_world$ rm -rf build
    (.venv) pi@inspiron:~/example/nordic/nrf54h20/hello_world$ west build -p -b nrf54h20dk/nrf54h20/cpuapp -T sample.sysbuild.hello_world.nrf54h20dk_cpuapp_cpurad .
    
    -- west build: generating a build system
    Loading Zephyr module(s) (Zephyr base): sysbuild_default
    -- Found Python3: /home/pi/nordic/.venv/bin/python3 (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter 
    -- Cache files will be written to: /home/pi/.cache/zephyr
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf54h20dk, qualifiers: nrf54h20/cpuapp
    Parsing /home/pi/example/nordic/nrf54h20/hello_world/Kconfig.sysbuild
    Loaded configuration '/home/pi/example/nordic/nrf54h20/hello_world/build/_sysbuild/empty.conf'
    Merged configuration '/home/pi/example/nordic/nrf54h20/hello_world/sysbuild/nrf54h20dk_nrf54h20_cpurad.conf'
    Configuration saved to '/home/pi/example/nordic/nrf54h20/hello_world/build/zephyr/.config'
    Kconfig header saved to '/home/pi/example/nordic/nrf54h20/hello_world/build/_sysbuild/autoconf.h'
    -- 
       *********************************
       * Running CMake for hello_world *
       *********************************
    
    Loading Zephyr default modules (Zephyr base).
    -- Application: /home/pi/example/nordic/nrf54h20/hello_world
    -- CMake version: 3.22.1
    -- Found Python3: /home/pi/nordic/.venv/bin/python (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter 
    -- Cache files will be written to: /home/pi/.cache/zephyr
    -- Zephyr version: 3.6.99 (/home/pi/nordic/zephyr)
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf54h20dk, qualifiers: nrf54h20/cpuapp
    -- ZEPHYR_TOOLCHAIN_VARIANT not set, trying to locate Zephyr SDK
    -- Found host-tools: zephyr 0.16.8 (/home/pi/opt/zephyr-sdk-0.16.8)
    -- Found toolchain: zephyr 0.16.8 (/home/pi/opt/zephyr-sdk-0.16.8)
    -- Found Dtc: /home/pi/opt/zephyr-sdk-0.16.8/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6") 
    -- Found BOARD.dts: /home/pi/nordic/zephyr/boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpuapp.dts
    -- Generated zephyr.dts: /home/pi/example/nordic/nrf54h20/hello_world/build/hello_world/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: /home/pi/example/nordic/nrf54h20/hello_world/build/hello_world/zephyr/include/generated/devicetree_generated.h
    -- Including generated dts.cmake file: /home/pi/example/nordic/nrf54h20/hello_world/build/hello_world/zephyr/dts.cmake
    Parsing /home/pi/nordic/zephyr/Kconfig
    Loaded configuration '/home/pi/nordic/zephyr/boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpuapp_defconfig'
    Merged configuration '/home/pi/example/nordic/nrf54h20/hello_world/prj.conf'
    Merged configuration '/home/pi/example/nordic/nrf54h20/hello_world/build/hello_world/zephyr/.config.sysbuild'
    Configuration saved to '/home/pi/example/nordic/nrf54h20/hello_world/build/hello_world/zephyr/.config'
    Kconfig header saved to '/home/pi/example/nordic/nrf54h20/hello_world/build/hello_world/zephyr/include/generated/autoconf.h'
    -- Found GnuLd: /home/pi/opt/zephyr-sdk-0.16.8/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (found version "2.38") 
    -- The C compiler identification is GNU 12.2.0
    -- The CXX compiler identification is GNU 12.2.0
    -- The ASM compiler identification is GNU
    -- Found assembler: /home/pi/opt/zephyr-sdk-0.16.8/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
    INFO Generate MPI for ROOT manifest (suit_mpi_ROOT.hex;nordicsemi.com;nRF54H20_sample_root;address=0xe1ed000;independent updates)
    INFO Generate MPI for APP_LOCAL_1 manifest (suit_mpi_APP_LOCAL_1.hex;nordicsemi.com;nRF54H20_sample_app;address=0xe1ed060)
    INFO Generate merged MPI for APP_AREA (suit_mpi_application_merged.hex)
    INFO Generate MPI for RAD_LOCAL_1 manifest (suit_mpi_RAD_LOCAL_1.hex;nordicsemi.com;nRF54H20_sample_rad;address=0xe1ec030)
    INFO Generate merged MPI for RAD_AREA (suit_mpi_radio_merged.hex)
    -- Found nrf-regtool (found suitable version "5.5.1", minimum required is "5.5.1")
    -- Generated UICR hex file: /home/pi/example/nordic/nrf54h20/hello_world/build/hello_world/zephyr/uicr.hex
    -- Generated BICR hex file: /home/pi/example/nordic/nrf54h20/hello_world/build/hello_world/zephyr/bicr.hex
    -- Using ccache: /usr/bin/ccache
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/pi/example/nordic/nrf54h20/hello_world/build/hello_world
    -- 
       ****************************
       * Running CMake for remote *
       ****************************
    
    Loading Zephyr default modules (Zephyr base).
    -- Application: /home/pi/example/nordic/nrf54h20/hello_world/remote
    -- CMake version: 3.22.1
    -- Found Python3: /home/pi/nordic/.venv/bin/python (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter 
    -- Cache files will be written to: /home/pi/.cache/zephyr
    -- Zephyr version: 3.6.99 (/home/pi/nordic/zephyr)
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf54h20dk, qualifiers: nrf54h20/cpurad
    -- ZEPHYR_TOOLCHAIN_VARIANT not set, trying to locate Zephyr SDK
    -- Found host-tools: zephyr 0.16.8 (/home/pi/opt/zephyr-sdk-0.16.8)
    -- Found toolchain: zephyr 0.16.8 (/home/pi/opt/zephyr-sdk-0.16.8)
    -- Found Dtc: /home/pi/opt/zephyr-sdk-0.16.8/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6") 
    -- Found BOARD.dts: /home/pi/nordic/zephyr/boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpurad.dts
    -- Generated zephyr.dts: /home/pi/example/nordic/nrf54h20/hello_world/build/remote/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: /home/pi/example/nordic/nrf54h20/hello_world/build/remote/zephyr/include/generated/devicetree_generated.h
    -- Including generated dts.cmake file: /home/pi/example/nordic/nrf54h20/hello_world/build/remote/zephyr/dts.cmake
    Parsing /home/pi/nordic/zephyr/Kconfig
    Loaded configuration '/home/pi/nordic/zephyr/boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpurad_defconfig'
    Merged configuration '/home/pi/example/nordic/nrf54h20/hello_world/remote/prj.conf'
    Merged configuration '/home/pi/example/nordic/nrf54h20/hello_world/build/remote/zephyr/.config.sysbuild'
    Configuration saved to '/home/pi/example/nordic/nrf54h20/hello_world/build/remote/zephyr/.config'
    Kconfig header saved to '/home/pi/example/nordic/nrf54h20/hello_world/build/remote/zephyr/include/generated/autoconf.h'
    -- Found GnuLd: /home/pi/opt/zephyr-sdk-0.16.8/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (found version "2.38") 
    -- The C compiler identification is GNU 12.2.0
    -- The CXX compiler identification is GNU 12.2.0
    -- The ASM compiler identification is GNU
    -- Found assembler: /home/pi/opt/zephyr-sdk-0.16.8/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
    INFO Generate MPI for ROOT manifest (suit_mpi_ROOT.hex;nordicsemi.com;nRF54H20_sample_root;address=0xe1ed000;independent updates)
    INFO Generate MPI for APP_LOCAL_1 manifest (suit_mpi_APP_LOCAL_1.hex;nordicsemi.com;nRF54H20_sample_app;address=0xe1ed060)
    INFO Generate merged MPI for APP_AREA (suit_mpi_application_merged.hex)
    INFO Generate MPI for RAD_LOCAL_1 manifest (suit_mpi_RAD_LOCAL_1.hex;nordicsemi.com;nRF54H20_sample_rad;address=0xe1ec030)
    INFO Generate merged MPI for RAD_AREA (suit_mpi_radio_merged.hex)
    -- Found nrf-regtool (found suitable version "5.5.1", minimum required is "5.5.1")
    -- Generated UICR hex file: /home/pi/example/nordic/nrf54h20/hello_world/build/remote/zephyr/uicr.hex
    -- Using ccache: /usr/bin/ccache
    CMake Warning at /home/pi/nordic/zephyr/CMakeLists.txt:895 (message):
      No SOURCES given to Zephyr library: drivers__clock_control
    
      Excluding target from build.
    
    
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/pi/example/nordic/nrf54h20/hello_world/build/remote
    -- Unable to find a VERSION file. Using default values (seq: 1, no semver)
    -- Found hello_world manifest template: /home/pi/nordic/nrf/config/suit/templates/nrf54h20/default/v1/app_envelope.yaml.jinja2
    -- Found remote manifest template: /home/pi/nordic/nrf/config/suit/templates/nrf54h20/default/v1/rad_envelope.yaml.jinja2
    -- Found root manifest template: /home/pi/nordic/nrf/config/suit/templates/nrf54h20/default/v1/root_with_binary_nordic_top.yaml.jinja2
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/pi/example/nordic/nrf54h20/hello_world/build
    -- west build: building application
    [6/21] Performing build step for 'remote'
    [1/154] Preparing syscall dependency handling
    
    [6/154] Generating include/generated/version.h
    -- Zephyr version: 3.6.99 (/home/pi/nordic/zephyr), build: v3.6.99-ncs2-281-g28b6861211d2
    [154/154] Linking C executable zephyr/zephyr.elf
    Memory region         Used Size  Region Size  %age Used
               FLASH:       30564 B       256 KB     11.66%
                 RAM:        8512 B       192 KB      4.33%
       DMA_RAM3x_RAD:          40 B        128 B     31.25%
            IDT_LIST:          0 GB        32 KB      0.00%
    Generating files from /home/pi/example/nordic/nrf54h20/hello_world/build/remote/zephyr/zephyr.elf for board: nrf54h20dk
    [15/21] Performing build step for 'hello_world'
    [2/160] Preparing syscall dependency handling
    
    [5/160] Generating include/generated/version.h
    -- Zephyr version: 3.6.99 (/home/pi/nordic/zephyr), build: v3.6.99-ncs2-281-g28b6861211d2
    [160/160] Linking C executable zephyr/zephyr.elf
    Memory region         Used Size  Region Size  %age Used
               FLASH:       36308 B       296 KB     11.98%
                 RAM:        9528 B       256 KB      3.63%
           DMA_RAM21:          0 GB        16 KB      0.00%
       DMA_RAM3x_APP:          40 B         4 KB      0.98%
            IDT_LIST:          0 GB        32 KB      0.00%
    Generating files from /home/pi/example/nordic/nrf54h20/hello_world/build/hello_world/zephyr/zephyr.elf for board: nrf54h20dk
    [21/21] Generating ../zephyr/dfu_suit.zip
    (.venv) pi@inspiron:~/example/nordic/nrf54h20/hello_world$ 
    (.venv) pi@inspiron:~/example/nordic/nrf54h20/hello_world$ west flash
    -- west flash: rebuilding
    [0/11] Performing build step for 'remote'
    ninja: no work to do.
    [4/11] Performing build step for 'hello_world'
    ninja: no work to do.
    [11/11] Generating ../zephyr/dfu_suit.zip
    -- west flash: using runner nrfutil
    Using board 001051196159
    -- runners.nrfutil: Flashing file: /home/pi/example/nordic/nrf54h20/hello_world/build/remote/zephyr/uicr_merged.hex
    -- runners.nrfutil: Erase
    -- runners.nrfutil: Programming image
    Error: One or more batch tasks failed:
     - [Probe] Device error: Failed to get access to memory range 0x0fffa000..0x0fffa080: Error in ADAC operation: The ADAC command SDFW_ADAC_MEM_CFG failed with status ADAC_FAILURE (0x0001), code: Generic
    
    FATAL ERROR: command exited with status 1: nrfutil --json device x-execute-batch --batch-path /home/pi/example/nordic/nrf54h20/hello_world/build/remote/zephyr/generated_nrfutil_batch.json --serial-number 1051196159
    (.venv) pi@inspiron:~/example/nordic/nrf54h20/hello_world$ nrfutil device recover --core Application
    
    ✔️ Recovered 1051196159
    (.venv) pi@inspiron:~/example/nordic/nrf54h20/hello_world$ 
    (.venv) pi@inspiron:~/example/nordic/nrf54h20/hello_world$ nrfutil device recover --core Network
    ⠙ Recover 1051196159
    ✔️ Recovered 1051196159
    (.venv) pi@inspiron:~/example/nordic/nrf54h20/hello_world$ 
    (.venv) pi@inspiron:~/example/nordic/nrf54h20/hello_world$ west flash
    -- west flash: rebuilding
    [0/11] Performing build step for 'remote'
    ninja: no work to do.
    [4/11] Performing build step for 'hello_world'
    ninja: no work to do.
    [11/11] Generating ../zephyr/dfu_suit.zip
    -- west flash: using runner nrfutil
    Using board 001051196159
    -- runners.nrfutil: Flashing file: /home/pi/example/nordic/nrf54h20/hello_world/build/remote/zephyr/uicr_merged.hex
    -- runners.nrfutil: Erase
    -- runners.nrfutil: Programming image
    Error: One or more batch tasks failed:
     - [Probe] Device error: Failed to get access to memory range 0x0fffa000..0x0fffa080: Error in ADAC operation: The ADAC command SDFW_ADAC_MEM_CFG failed with status ADAC_FAILURE (0x0001), code: Generic
    
    FATAL ERROR: command exited with status 1: nrfutil --json device x-execute-batch --batch-path /home/pi/example/nordic/nrf54h20/hello_world/build/remote/zephyr/generated_nrfutil_batch.json --serial-number 1051196159
    (.venv) pi@inspiron:~/example/nordic/nrf54h20/hello_world$ 
    
    

Reply
  • At the beginning, I didn't know how to activate the board correctly. I compiled and flashed the following examples according to zephyr's description

    https://docs.zephyrproject.org/latest/boards/nordic/nrf54h20dk/doc/index.html


    hello_world --> zephyr/samples/hello_world
    blinky --> zephyr/samples/basic/blinky


    Both examples can be flashed successfully, but they can't run, and they can't enter the debugging mode through west debug
    This is the log of successful flash

    sorry, is it because after flash the BICR, I did the west flash directly so caused the issue? 


    So I later found nordic's tutorial, here I will capture the response for each steps and record the log:

    (.venv) pi@inspiron:~/example/nordic/nrf54h20/hello_world$ nrfutil device list
    1051196159
    product         J-Link
    board version   PCA10175
    ports           /dev/ttyACM0, vcom: 0
                    /dev/ttyACM1, vcom: 1
    traits          boardController, devkit, jlink, seggerUsb, serialPorts, usb
    
    Found 1 supported device(s)
    
    (.venv) pi@inspiron:~/example/nordic/nrf54h20/hello_world$ nrfutil device recover --serial-number 1051196159
    ✔️ Recovered 1051196159
    (.venv) pi@inspiron:~/example/nordic/nrf54h20/hello_world$ nrfutil device program --options chip_erase_mode=ERASE_NONE --firmware ~/Downloads/bicr.hex --core Application --serial-number 1051196159
    [00:00:00] ------   0% [1/1 1051196159] Failed, [Probe] Device error: Failed to get access to memory range 0x0fff87b0..0x0fff87c0: Error in ADAC operation: The ADAC command SDFW_ADAC_MEM_CF
    Error: One or more program tasks failed:
     * 1051196159: [Probe] Device error: Failed to get access to memory range 0x0fff87b0..0x0fff87c0: Error in ADAC operation: The ADAC command SDFW_ADAC_MEM_CFG failed with status ADAC_FAILURE (0x0001), code: Generic
    (.venv) pi@inspiron:~/example/nordic/nrf54h20/hello_world$ nrfutil device x-provision-nrf54h --firmware ~/Downloads/nrf54h20_soc_binaries_v0.6.2.zip --serial-number 1051196159     
    ❌ Failed to provision 1051196159, [Probe] SDFW programming is supported only for devices in life cycle state EMPTY: Your device is in life cycle state LIFECYCLE_ROT (0x2000)
    Error: One or more provision tasks failed:
     * 1051196159: [Probe] SDFW programming is supported only for devices in life cycle state EMPTY: Your device is in life cycle state LIFECYCLE_ROT (0x2000), code: Generic
    (.venv) pi@inspiron:~/example/nordic/nrf54h20/hello_world$ nrfutil device x-adac-discovery --serial-number 1051196159
    001051196159
    adac_auth_version     1.0
    vendor_id             Nordic VLSI ASA
    soc_class             0x00005420
    soc_id                d95539f4-23d9-11ef-e503-41ba7340838a
    hw_permissions_fixed  [00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00]
    hw_permissions_mask   [01, 00, 00, 00, 87, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00]
    psa_lifecycle         LIFECYCLE_ROT (0x2000)
    sda_id                0x01
    secrom_revision       0xdb8bd920
    sysrom_revision       0x3df7dba0
    token_formats         [TokenAdac]
    cert_formats          [CertAdac]
    cryptosystems         [Ed25519Sha512]
    Additional TLVs:
      TargetIdentity: [ff, ff, ff, ff, 01, 26, 01, 00]
    
    (.venv) pi@inspiron:~/example/nordic/nrf54h20/hello_world$ nrfutil device x-adac-lcs-change --life-cycle rot --serial-number 1051196159
    ❌ Failed to change life cycle state 1051196159, [Probe] Device error: Error in ADAC operation: The ADAC command ADAC_LCS_CHANGE failed with status ADAC_UNSUPPORTED (0x0003)
    Error: One or more change life cycle state tasks failed:
     * 1051196159: [Probe] Device error: Error in ADAC operation: The ADAC command ADAC_LCS_CHANGE failed with status ADAC_UNSUPPORTED (0x0003), code: Generic
    (.venv) pi@inspiron:~/example/nordic/nrf54h20/hello_world$ nrfutil device x-adac-discovery --serial-number 1051196159
    001051196159
    adac_auth_version     1.0
    vendor_id             Nordic VLSI ASA
    soc_class             0x00005420
    soc_id                d95539f4-23d9-11ef-e503-41ba7340838a
    hw_permissions_fixed  [00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00]
    hw_permissions_mask   [01, 00, 00, 00, 87, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00]
    psa_lifecycle         LIFECYCLE_ROT (0x2000)
    sda_id                0x01
    secrom_revision       0xdb8bd920
    sysrom_revision       0x3df7dba0
    token_formats         [TokenAdac]
    cert_formats          [CertAdac]
    cryptosystems         [Ed25519Sha512]
    Additional TLVs:
      TargetIdentity: [ff, ff, ff, ff, 01, 26, 01, 00]
    
    (.venv) pi@inspiron:~/example/nordic/nrf54h20/hello_world$ nrfutil device reset --reset-kind RESET_PIN --serial-number 1051196159
    ✔️ Reset was applied to 1051196159
    (.venv) pi@inspiron:~/example/nordic/nrf54h20/hello_world$ rm -rf build
    (.venv) pi@inspiron:~/example/nordic/nrf54h20/hello_world$ west build -p -b nrf54h20dk/nrf54h20/cpuapp -T sample.sysbuild.hello_world.nrf54h20dk_cpuapp_cpurad .
    
    -- west build: generating a build system
    Loading Zephyr module(s) (Zephyr base): sysbuild_default
    -- Found Python3: /home/pi/nordic/.venv/bin/python3 (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter 
    -- Cache files will be written to: /home/pi/.cache/zephyr
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf54h20dk, qualifiers: nrf54h20/cpuapp
    Parsing /home/pi/example/nordic/nrf54h20/hello_world/Kconfig.sysbuild
    Loaded configuration '/home/pi/example/nordic/nrf54h20/hello_world/build/_sysbuild/empty.conf'
    Merged configuration '/home/pi/example/nordic/nrf54h20/hello_world/sysbuild/nrf54h20dk_nrf54h20_cpurad.conf'
    Configuration saved to '/home/pi/example/nordic/nrf54h20/hello_world/build/zephyr/.config'
    Kconfig header saved to '/home/pi/example/nordic/nrf54h20/hello_world/build/_sysbuild/autoconf.h'
    -- 
       *********************************
       * Running CMake for hello_world *
       *********************************
    
    Loading Zephyr default modules (Zephyr base).
    -- Application: /home/pi/example/nordic/nrf54h20/hello_world
    -- CMake version: 3.22.1
    -- Found Python3: /home/pi/nordic/.venv/bin/python (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter 
    -- Cache files will be written to: /home/pi/.cache/zephyr
    -- Zephyr version: 3.6.99 (/home/pi/nordic/zephyr)
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf54h20dk, qualifiers: nrf54h20/cpuapp
    -- ZEPHYR_TOOLCHAIN_VARIANT not set, trying to locate Zephyr SDK
    -- Found host-tools: zephyr 0.16.8 (/home/pi/opt/zephyr-sdk-0.16.8)
    -- Found toolchain: zephyr 0.16.8 (/home/pi/opt/zephyr-sdk-0.16.8)
    -- Found Dtc: /home/pi/opt/zephyr-sdk-0.16.8/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6") 
    -- Found BOARD.dts: /home/pi/nordic/zephyr/boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpuapp.dts
    -- Generated zephyr.dts: /home/pi/example/nordic/nrf54h20/hello_world/build/hello_world/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: /home/pi/example/nordic/nrf54h20/hello_world/build/hello_world/zephyr/include/generated/devicetree_generated.h
    -- Including generated dts.cmake file: /home/pi/example/nordic/nrf54h20/hello_world/build/hello_world/zephyr/dts.cmake
    Parsing /home/pi/nordic/zephyr/Kconfig
    Loaded configuration '/home/pi/nordic/zephyr/boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpuapp_defconfig'
    Merged configuration '/home/pi/example/nordic/nrf54h20/hello_world/prj.conf'
    Merged configuration '/home/pi/example/nordic/nrf54h20/hello_world/build/hello_world/zephyr/.config.sysbuild'
    Configuration saved to '/home/pi/example/nordic/nrf54h20/hello_world/build/hello_world/zephyr/.config'
    Kconfig header saved to '/home/pi/example/nordic/nrf54h20/hello_world/build/hello_world/zephyr/include/generated/autoconf.h'
    -- Found GnuLd: /home/pi/opt/zephyr-sdk-0.16.8/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (found version "2.38") 
    -- The C compiler identification is GNU 12.2.0
    -- The CXX compiler identification is GNU 12.2.0
    -- The ASM compiler identification is GNU
    -- Found assembler: /home/pi/opt/zephyr-sdk-0.16.8/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
    INFO Generate MPI for ROOT manifest (suit_mpi_ROOT.hex;nordicsemi.com;nRF54H20_sample_root;address=0xe1ed000;independent updates)
    INFO Generate MPI for APP_LOCAL_1 manifest (suit_mpi_APP_LOCAL_1.hex;nordicsemi.com;nRF54H20_sample_app;address=0xe1ed060)
    INFO Generate merged MPI for APP_AREA (suit_mpi_application_merged.hex)
    INFO Generate MPI for RAD_LOCAL_1 manifest (suit_mpi_RAD_LOCAL_1.hex;nordicsemi.com;nRF54H20_sample_rad;address=0xe1ec030)
    INFO Generate merged MPI for RAD_AREA (suit_mpi_radio_merged.hex)
    -- Found nrf-regtool (found suitable version "5.5.1", minimum required is "5.5.1")
    -- Generated UICR hex file: /home/pi/example/nordic/nrf54h20/hello_world/build/hello_world/zephyr/uicr.hex
    -- Generated BICR hex file: /home/pi/example/nordic/nrf54h20/hello_world/build/hello_world/zephyr/bicr.hex
    -- Using ccache: /usr/bin/ccache
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/pi/example/nordic/nrf54h20/hello_world/build/hello_world
    -- 
       ****************************
       * Running CMake for remote *
       ****************************
    
    Loading Zephyr default modules (Zephyr base).
    -- Application: /home/pi/example/nordic/nrf54h20/hello_world/remote
    -- CMake version: 3.22.1
    -- Found Python3: /home/pi/nordic/.venv/bin/python (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter 
    -- Cache files will be written to: /home/pi/.cache/zephyr
    -- Zephyr version: 3.6.99 (/home/pi/nordic/zephyr)
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf54h20dk, qualifiers: nrf54h20/cpurad
    -- ZEPHYR_TOOLCHAIN_VARIANT not set, trying to locate Zephyr SDK
    -- Found host-tools: zephyr 0.16.8 (/home/pi/opt/zephyr-sdk-0.16.8)
    -- Found toolchain: zephyr 0.16.8 (/home/pi/opt/zephyr-sdk-0.16.8)
    -- Found Dtc: /home/pi/opt/zephyr-sdk-0.16.8/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6") 
    -- Found BOARD.dts: /home/pi/nordic/zephyr/boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpurad.dts
    -- Generated zephyr.dts: /home/pi/example/nordic/nrf54h20/hello_world/build/remote/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: /home/pi/example/nordic/nrf54h20/hello_world/build/remote/zephyr/include/generated/devicetree_generated.h
    -- Including generated dts.cmake file: /home/pi/example/nordic/nrf54h20/hello_world/build/remote/zephyr/dts.cmake
    Parsing /home/pi/nordic/zephyr/Kconfig
    Loaded configuration '/home/pi/nordic/zephyr/boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpurad_defconfig'
    Merged configuration '/home/pi/example/nordic/nrf54h20/hello_world/remote/prj.conf'
    Merged configuration '/home/pi/example/nordic/nrf54h20/hello_world/build/remote/zephyr/.config.sysbuild'
    Configuration saved to '/home/pi/example/nordic/nrf54h20/hello_world/build/remote/zephyr/.config'
    Kconfig header saved to '/home/pi/example/nordic/nrf54h20/hello_world/build/remote/zephyr/include/generated/autoconf.h'
    -- Found GnuLd: /home/pi/opt/zephyr-sdk-0.16.8/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (found version "2.38") 
    -- The C compiler identification is GNU 12.2.0
    -- The CXX compiler identification is GNU 12.2.0
    -- The ASM compiler identification is GNU
    -- Found assembler: /home/pi/opt/zephyr-sdk-0.16.8/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
    INFO Generate MPI for ROOT manifest (suit_mpi_ROOT.hex;nordicsemi.com;nRF54H20_sample_root;address=0xe1ed000;independent updates)
    INFO Generate MPI for APP_LOCAL_1 manifest (suit_mpi_APP_LOCAL_1.hex;nordicsemi.com;nRF54H20_sample_app;address=0xe1ed060)
    INFO Generate merged MPI for APP_AREA (suit_mpi_application_merged.hex)
    INFO Generate MPI for RAD_LOCAL_1 manifest (suit_mpi_RAD_LOCAL_1.hex;nordicsemi.com;nRF54H20_sample_rad;address=0xe1ec030)
    INFO Generate merged MPI for RAD_AREA (suit_mpi_radio_merged.hex)
    -- Found nrf-regtool (found suitable version "5.5.1", minimum required is "5.5.1")
    -- Generated UICR hex file: /home/pi/example/nordic/nrf54h20/hello_world/build/remote/zephyr/uicr.hex
    -- Using ccache: /usr/bin/ccache
    CMake Warning at /home/pi/nordic/zephyr/CMakeLists.txt:895 (message):
      No SOURCES given to Zephyr library: drivers__clock_control
    
      Excluding target from build.
    
    
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/pi/example/nordic/nrf54h20/hello_world/build/remote
    -- Unable to find a VERSION file. Using default values (seq: 1, no semver)
    -- Found hello_world manifest template: /home/pi/nordic/nrf/config/suit/templates/nrf54h20/default/v1/app_envelope.yaml.jinja2
    -- Found remote manifest template: /home/pi/nordic/nrf/config/suit/templates/nrf54h20/default/v1/rad_envelope.yaml.jinja2
    -- Found root manifest template: /home/pi/nordic/nrf/config/suit/templates/nrf54h20/default/v1/root_with_binary_nordic_top.yaml.jinja2
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/pi/example/nordic/nrf54h20/hello_world/build
    -- west build: building application
    [6/21] Performing build step for 'remote'
    [1/154] Preparing syscall dependency handling
    
    [6/154] Generating include/generated/version.h
    -- Zephyr version: 3.6.99 (/home/pi/nordic/zephyr), build: v3.6.99-ncs2-281-g28b6861211d2
    [154/154] Linking C executable zephyr/zephyr.elf
    Memory region         Used Size  Region Size  %age Used
               FLASH:       30564 B       256 KB     11.66%
                 RAM:        8512 B       192 KB      4.33%
       DMA_RAM3x_RAD:          40 B        128 B     31.25%
            IDT_LIST:          0 GB        32 KB      0.00%
    Generating files from /home/pi/example/nordic/nrf54h20/hello_world/build/remote/zephyr/zephyr.elf for board: nrf54h20dk
    [15/21] Performing build step for 'hello_world'
    [2/160] Preparing syscall dependency handling
    
    [5/160] Generating include/generated/version.h
    -- Zephyr version: 3.6.99 (/home/pi/nordic/zephyr), build: v3.6.99-ncs2-281-g28b6861211d2
    [160/160] Linking C executable zephyr/zephyr.elf
    Memory region         Used Size  Region Size  %age Used
               FLASH:       36308 B       296 KB     11.98%
                 RAM:        9528 B       256 KB      3.63%
           DMA_RAM21:          0 GB        16 KB      0.00%
       DMA_RAM3x_APP:          40 B         4 KB      0.98%
            IDT_LIST:          0 GB        32 KB      0.00%
    Generating files from /home/pi/example/nordic/nrf54h20/hello_world/build/hello_world/zephyr/zephyr.elf for board: nrf54h20dk
    [21/21] Generating ../zephyr/dfu_suit.zip
    (.venv) pi@inspiron:~/example/nordic/nrf54h20/hello_world$ 
    (.venv) pi@inspiron:~/example/nordic/nrf54h20/hello_world$ west flash
    -- west flash: rebuilding
    [0/11] Performing build step for 'remote'
    ninja: no work to do.
    [4/11] Performing build step for 'hello_world'
    ninja: no work to do.
    [11/11] Generating ../zephyr/dfu_suit.zip
    -- west flash: using runner nrfutil
    Using board 001051196159
    -- runners.nrfutil: Flashing file: /home/pi/example/nordic/nrf54h20/hello_world/build/remote/zephyr/uicr_merged.hex
    -- runners.nrfutil: Erase
    -- runners.nrfutil: Programming image
    Error: One or more batch tasks failed:
     - [Probe] Device error: Failed to get access to memory range 0x0fffa000..0x0fffa080: Error in ADAC operation: The ADAC command SDFW_ADAC_MEM_CFG failed with status ADAC_FAILURE (0x0001), code: Generic
    
    FATAL ERROR: command exited with status 1: nrfutil --json device x-execute-batch --batch-path /home/pi/example/nordic/nrf54h20/hello_world/build/remote/zephyr/generated_nrfutil_batch.json --serial-number 1051196159
    (.venv) pi@inspiron:~/example/nordic/nrf54h20/hello_world$ nrfutil device recover --core Application
    
    ✔️ Recovered 1051196159
    (.venv) pi@inspiron:~/example/nordic/nrf54h20/hello_world$ 
    (.venv) pi@inspiron:~/example/nordic/nrf54h20/hello_world$ nrfutil device recover --core Network
    ⠙ Recover 1051196159
    ✔️ Recovered 1051196159
    (.venv) pi@inspiron:~/example/nordic/nrf54h20/hello_world$ 
    (.venv) pi@inspiron:~/example/nordic/nrf54h20/hello_world$ west flash
    -- west flash: rebuilding
    [0/11] Performing build step for 'remote'
    ninja: no work to do.
    [4/11] Performing build step for 'hello_world'
    ninja: no work to do.
    [11/11] Generating ../zephyr/dfu_suit.zip
    -- west flash: using runner nrfutil
    Using board 001051196159
    -- runners.nrfutil: Flashing file: /home/pi/example/nordic/nrf54h20/hello_world/build/remote/zephyr/uicr_merged.hex
    -- runners.nrfutil: Erase
    -- runners.nrfutil: Programming image
    Error: One or more batch tasks failed:
     - [Probe] Device error: Failed to get access to memory range 0x0fffa000..0x0fffa080: Error in ADAC operation: The ADAC command SDFW_ADAC_MEM_CFG failed with status ADAC_FAILURE (0x0001), code: Generic
    
    FATAL ERROR: command exited with status 1: nrfutil --json device x-execute-batch --batch-path /home/pi/example/nordic/nrf54h20/hello_world/build/remote/zephyr/generated_nrfutil_batch.json --serial-number 1051196159
    (.venv) pi@inspiron:~/example/nordic/nrf54h20/hello_world$ 
    
    

Children
No Data
Related