Unable to program board

I'm seeing an issue when trying to program the nRF54H20 board. I have python 3.10.9 installed. Does nrfutil specifically need python 3.9? Any support with this would be appreciated

Parents Reply Children
  • Hi Jennifer,

    I am able to build it using this configuration as well. However, I am seeing an issue when trying to program the board - it is failing. Even though VS claims a successful program, upon looking at the terminal, I see the error that I attached to this ticket regarding the nrfutil module use of python39.dll.

    Do you see this issue as well or are you able to program the board with the built firmware?

    Thanks,

    Aman

  • Hello Aman,

    I just checked and I do not get that error, it flashes for me. I have python 3.11.9 on my machine. I went ahead and also opened an nRF Connect terminal in VS Code and issued the flash command from within my build directory without issue (as well as queried my python version), see attached. 

    PS C:\Nordic\eddystone> py --version
    Python 3.11.9
    PS C:\Nordic\eddystone> cd ..
    PS C:\Nordic> cd ..
    PS C:\> cd ncs/v2.7.0
    PS C:\ncs\v2.7.0> cd nrf/samples/peripheral_hr_coded/build
    Set-Location: Cannot find path 'C:\ncs\v2.7.0\nrf\samples\peripheral_hr_coded\build' because it does not exist.
    PS C:\ncs\v2.7.0> cd nrf/samples
    PS C:\ncs\v2.7.0\nrf\samples> cd bluetooth
    PS C:\ncs\v2.7.0\nrf\samples\bluetooth> cd peripheral_hr_coded
    PS C:\ncs\v2.7.0\nrf\samples\bluetooth\peripheral_hr_coded> cd build    
    PS C:\ncs\v2.7.0\nrf\samples\bluetooth\peripheral_hr_coded\build> west flash
    -- west flash: rebuilding
    [0/11] Performing build step for 'peripheral_hr_coded'
    ninja: no work to do.
    [2/11] Performing build step for 'ipc_radio'
    ninja: no work to do.
    [11/11] Generating ../zephyr/dfu_suit.zip
    -- west flash: using runner nrfutil
    Using board 001051192672
    -- runners.nrfutil: Flashing file: C:\ncs\v2.7.0\nrf\samples\bluetooth\peripheral_hr_coded\build\peripheral_hr_coded\zephyr\uicr_merged.hex
    -- runners.nrfutil: Programming image
    -- runners.nrfutil: Verifying image
    -- runners.nrfutil: Programming image
    -- runners.nrfutil: Verifying image
    -- runners.nrfutil: Erase
    -- runners.nrfutil: Programming image
    -- runners.nrfutil: Verifying image
    -- runners.nrfutil: Board with serial number 1051192672 flashed successfully.
    -- west flash: using runner nrfutil
    -- runners.nrfutil: reset after flashing requested
    Using board 001051192672
    -- runners.nrfutil: Flashing file: C:\ncs\v2.7.0\nrf\samples\bluetooth\peripheral_hr_coded\build\ipc_radio\zephyr\uicr_merged.hex
    -- runners.nrfutil: Erase
    -- runners.nrfutil: Programming image
    -- runners.nrfutil: Verifying image
    -- runners.nrfutil: Reset
    -- runners.nrfutil: Board with serial number 1051192672 flashed successfully.
    PS C:\ncs\v2.7.0\nrf\samples\bluetooth\peripheral_hr_coded\build> 

    Are you not able to capture all of your terminal output and copy it to a text file?

    Thank you,
    Jennifer Gibbs

Related