v2.8.0 SDK Flashing ADAC Error

Hi,

We were building and flashing using v2.7.99-cs1 and upreved to use v2.8.0

When we flashed the boards that had previously flashed and run fine, they now produce the following error message:

chris@chriss-Mac-Studio implant54 % west flash
-- west flash: rebuilding
[0/11] Performing build step for 'remote'
ninja: no work to do.
[4/11] Performing build step for 'implant54'
ninja: no work to do.
[11/11] Generating ../zephyr/dfu_suit.zip
-- west flash: using runner nrfutil
Using board 001051177921
-- runners.nrfutil: Flashing file: /Users/chris/repos/PhantomX-FW/targets/implant54/build/remote/zephyr/uicr_merged.hex
-- runners.nrfutil: Reset
Error: One or more batch tasks failed:
 - [Probe] Device error: Error in ADAC operation: Timeout in ADAC communication, code: Generic

FATAL ERROR: command exited with status 1: nrfutil --json device x-execute-batch --batch-path /Users/chris/repos/PhantomX-FW/targets/implant54/build/remote/zephyr/generated_nrfutil_batch.json --serial-number 1051177921

Note: We downloaded the latest nrfutil from the website and also reinstalled the 'device' package using nrfutil tool. 

nrfjprog -v
nrfjprog version: 10.24.2 external
JLinkARM.dll version: 8.10b

Any insight is appreciated!

Chris

Parents
  • Hi,

    Make sure you have followed the migration guide for nRF54H20 (updated bicr, tools, soc binaries etc):
    https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/releases_and_maturity/migration/migration_guide_2.8.html#d1769e891 

    Make sure you use those versions in specific.

    Kenneth

  • Hi,

    I have updated the BICR, updated the SOC Binary (rev B) and have updated my nrfutil device and nrf-regtool to the version specified on that page.

    (.venv_phantom) chris@chriss-Mac-Studio nrf54 Provisioning % !1046
    nrfutil device program --options chip_erase_mode=ERASE_NONE --firmware ./bicr.hex --core Application --serial-number 1051177921
    [00:00:00] ###### 100% [1/1 1051177921] Programmed
    (.venv_phantom) chris@chriss-Mac-Studio nrf54 Provisioning % !1047
    nrfutil device recover --core Application --serial-number 1051177921
    ✔️ Recovered 1051177921
    (.venv_phantom) chris@chriss-Mac-Studio nrf54 Provisioning % !1048
    nrfutil device recover --core Network --serial-number 1051177921
    ✔️ Recovered 1051177921
    (.venv_phantom) chris@chriss-Mac-Studio nrf54 Provisioning % !1050
    nrfutil device x-suit-dfu --firmware nrf54h20_soc_binaries_v0.7.0_engb.zip --serial-number 1051177921
    ✔️ SUIT DFU triggered for 1051177921
    
    SUIT DFU has been triggered, and the device(s) will now try to apply the uploaded SUIT update in the background

    West flash still fails:

    (.venv_phantom) chris@chriss-Mac-Studio implant54 % west flash
    -- west flash: rebuilding
    [0/11] Performing build step for 'remote'
    ninja: no work to do.
    [4/11] Performing build step for 'implant54'
    ninja: no work to do.
    [11/11] Generating ../zephyr/dfu_suit.zip
    -- west flash: using runner nrfutil
    Using board 001051177921
    -- runners.nrfutil: Flashing file: /Users/chris/repos/PhantomX-FW/targets/implant54/build/remote/zephyr/uicr_merged.hex
    -- runners.nrfutil: Reset
    -- runners.nrfutil: Programming image
    -- runners.nrfutil: Verifying image
    -- runners.nrfutil: Board with serial number 1051177921 flashed successfully.
    -- west flash: using runner nrfutil
    -- runners.nrfutil: reset after flashing requested
    Using board 001051177921
    -- runners.nrfutil: Flashing file: /Users/chris/repos/PhantomX-FW/targets/implant54/build/implant54/zephyr/uicr_merged.hex
    -- runners.nrfutil: Reset
    -- runners.nrfutil: Programming image
    Error: One or more batch tasks failed:
     - [Probe] Device error: Failed to get access to memory range 0x0e1ef000..0x0e1ef110: 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 /Users/chris/repos/PhantomX-FW/targets/implant54/build/implant54/zephyr/generated_nrfutil_batch.json --serial-number 1051177921

Reply
  • Hi,

    I have updated the BICR, updated the SOC Binary (rev B) and have updated my nrfutil device and nrf-regtool to the version specified on that page.

    (.venv_phantom) chris@chriss-Mac-Studio nrf54 Provisioning % !1046
    nrfutil device program --options chip_erase_mode=ERASE_NONE --firmware ./bicr.hex --core Application --serial-number 1051177921
    [00:00:00] ###### 100% [1/1 1051177921] Programmed
    (.venv_phantom) chris@chriss-Mac-Studio nrf54 Provisioning % !1047
    nrfutil device recover --core Application --serial-number 1051177921
    ✔️ Recovered 1051177921
    (.venv_phantom) chris@chriss-Mac-Studio nrf54 Provisioning % !1048
    nrfutil device recover --core Network --serial-number 1051177921
    ✔️ Recovered 1051177921
    (.venv_phantom) chris@chriss-Mac-Studio nrf54 Provisioning % !1050
    nrfutil device x-suit-dfu --firmware nrf54h20_soc_binaries_v0.7.0_engb.zip --serial-number 1051177921
    ✔️ SUIT DFU triggered for 1051177921
    
    SUIT DFU has been triggered, and the device(s) will now try to apply the uploaded SUIT update in the background

    West flash still fails:

    (.venv_phantom) chris@chriss-Mac-Studio implant54 % west flash
    -- west flash: rebuilding
    [0/11] Performing build step for 'remote'
    ninja: no work to do.
    [4/11] Performing build step for 'implant54'
    ninja: no work to do.
    [11/11] Generating ../zephyr/dfu_suit.zip
    -- west flash: using runner nrfutil
    Using board 001051177921
    -- runners.nrfutil: Flashing file: /Users/chris/repos/PhantomX-FW/targets/implant54/build/remote/zephyr/uicr_merged.hex
    -- runners.nrfutil: Reset
    -- runners.nrfutil: Programming image
    -- runners.nrfutil: Verifying image
    -- runners.nrfutil: Board with serial number 1051177921 flashed successfully.
    -- west flash: using runner nrfutil
    -- runners.nrfutil: reset after flashing requested
    Using board 001051177921
    -- runners.nrfutil: Flashing file: /Users/chris/repos/PhantomX-FW/targets/implant54/build/implant54/zephyr/uicr_merged.hex
    -- runners.nrfutil: Reset
    -- runners.nrfutil: Programming image
    Error: One or more batch tasks failed:
     - [Probe] Device error: Failed to get access to memory range 0x0e1ef000..0x0e1ef110: 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 /Users/chris/repos/PhantomX-FW/targets/implant54/build/implant54/zephyr/generated_nrfutil_batch.json --serial-number 1051177921

Children
Related