Hello!
I have NRF54H20-DK and I'm trying to run the Blinky example.
I am able to build and program the DK, but nothing happens on LEDs.
Could you please help what else I should check?
NRF54H20-DK: 0.8.2
nRF Connect SDK: v2.7.99-cs2
Thanks.
Hello!
I have NRF54H20-DK and I'm trying to run the Blinky example.
I am able to build and program the DK, but nothing happens on LEDs.
Could you please help what else I should check?
NRF54H20-DK: 0.8.2
nRF Connect SDK: v2.7.99-cs2
Thanks.
Just to make sure, your sample is the same as in ..\ncs\v2.7.99-cs2\zephyr\samples\basic\blinky correct? I just tested on my end with an nRF54H20 DK and was able to build and flash with the commands you describe here and the LED on the DK blinks without an issue.
I see that you have an older nrfutil version than me (with v7.13.0 on my end), so you can try upgrading that. The other difference is that you build the project out of tree. As I build the sample within the ncs\v2.7.99-cs2\zephyr\samples\basic\blinky folder, so you could try that as well on your end.
If you still have no luck. Try uploading the full build log here so we can check what's happening.
Best regards,
Simon
I have upgraded the nrfutil to v7.13.0
(v2.7.99-cs2) e:\Misha\NCSDK\zephyr\samples\basic\blinky> nrfutil --version
nrfutil 7.13.0 (8289424 2024-07-01)
commit-hash: 82894242d19ff24a1541712312b3ea3af0ca8f85
commit-date: 2024-07-01
host: x86_64-pc-windows-msvc
build-timestamp: 2024-07-01T07:37:50.864803700Z
classification: nrf-external
I have also built the blinky within the zephyr\samples\basic\blinky folder.
But this didn't help me. Here is my build and flash log.
(v2.7.99-cs2) e:\Misha\NCSDK\zephyr\samples\basic\blinky> west build -p -b nrf54h20dk/nrf54h20/cpuapp -- west build: generating a build system Loading Zephyr module(s) (Zephyr base): sysbuild_default -- Found Python3: E:/Misha/NCSDK/toolchains/2c13e7691c/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter -- Cache files will be written to: E:/Misha/NCSDK/zephyr/.cache -- Found west (found suitable version "1.2.0", minimum required is "0.14.0") -- Board: nrf54h20dk, qualifiers: nrf54h20/cpuapp Parsing E:/Misha/NCSDK/zephyr/share/sysbuild/Kconfig Loaded configuration 'E:/Misha/NCSDK/zephyr/samples/basic/blinky/build/_sysbuild/empty.conf' Merged configuration 'E:/Misha/NCSDK/zephyr/samples/basic/blinky/build/_sysbuild/empty.conf' Configuration saved to 'E:/Misha/NCSDK/zephyr/samples/basic/blinky/build/zephyr/.config' Kconfig header saved to 'E:/Misha/NCSDK/zephyr/samples/basic/blinky/build/_sysbuild/autoconf.h' -- **************************** * Running CMake for blinky * **************************** Loading Zephyr default modules (Zephyr base). -- Application: E:/Misha/NCSDK/zephyr/samples/basic/blinky -- CMake version: 3.21.0 -- Using NCS Toolchain 2.7.20240926.189312493852 for building. (E:/Misha/NCSDK/toolchains/2c13e7691c/cmake) -- Found Python3: E:/Misha/NCSDK/toolchains/2c13e7691c/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter -- Cache files will be written to: E:/Misha/NCSDK/zephyr/.cache -- Zephyr version: 3.6.99 (E:/Misha/NCSDK/zephyr) -- Found west (found suitable version "1.2.0", minimum required is "0.14.0") -- Board: nrf54h20dk, qualifiers: nrf54h20/cpuapp -- Found host-tools: zephyr 0.16.8 (E:/Misha/NCSDK/toolchains/2c13e7691c/opt/zephyr-sdk) -- Found toolchain: zephyr 0.16.8 (E:/Misha/NCSDK/toolchains/2c13e7691c/opt/zephyr-sdk) -- Found Dtc: E:/Misha/NCSDK/toolchains/2c13e7691c/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") -- Found BOARD.dts: E:/Misha/NCSDK/zephyr/boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpuapp.dts -- Generated zephyr.dts: E:/Misha/NCSDK/zephyr/samples/basic/blinky/build/blinky/zephyr/zephyr.dts -- Generated devicetree_generated.h: E:/Misha/NCSDK/zephyr/samples/basic/blinky/build/blinky/zephyr/include/generated/devicetree_generated.h -- Including generated dts.cmake file: E:/Misha/NCSDK/zephyr/samples/basic/blinky/build/blinky/zephyr/dts.cmake Parsing E:/Misha/NCSDK/zephyr/Kconfig Loaded configuration 'E:/Misha/NCSDK/zephyr/boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpuapp_defconfig' Merged configuration 'E:/Misha/NCSDK/zephyr/samples/basic/blinky/prj.conf' Merged configuration 'E:/Misha/NCSDK/zephyr/samples/basic/blinky/build/blinky/zephyr/.config.sysbuild' Configuration saved to 'E:/Misha/NCSDK/zephyr/samples/basic/blinky/build/blinky/zephyr/.config' Kconfig header saved to 'E:/Misha/NCSDK/zephyr/samples/basic/blinky/build/blinky/zephyr/include/generated/autoconf.h' -- Found GnuLd: e:/misha/ncsdk/toolchains/2c13e7691c/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd.exe (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: E:/Misha/NCSDK/toolchains/2c13e7691c/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe 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 "6.0.0", minimum required is "5.6.0") -- Generated UICR hex file: E:/Misha/NCSDK/zephyr/samples/basic/blinky/build/blinky/zephyr/uicr.hex -- Generated BICR hex file: E:/Misha/NCSDK/zephyr/samples/basic/blinky/build/blinky/zephyr/bicr.hex -- Configuring done -- Generating done -- Build files have been written to: E:/Misha/NCSDK/zephyr/samples/basic/blinky/build/blinky -- Unable to find a VERSION file. Using default values (seq: 1, no semver) -- Found blinky manifest template: E:/Misha/NCSDK/nrf/config/suit/templates/nrf54h20/default/v1/app_envelope.yaml.jinja2 -- Found root manifest template: E:/Misha/NCSDK/nrf/config/suit/templates/nrf54h20/default/v1/root_with_binary_nordic_top.yaml.jinja2 -- Configuring done -- Generating done -- Build files have been written to: E:/Misha/NCSDK/zephyr/samples/basic/blinky/build ←[92m-- west build: building application [6/12] Performing build step for 'blinky' [4/159] Generating include/generated/version.h -- Zephyr version: 3.6.99 (E:/Misha/NCSDK/zephyr), build: v3.6.99-ncs2-433-g3d01dcc251bf [159/159] Linking C executable zephyr\zephyr.elf Memory region Used Size Region Size %age Used FLASH: 36804 B 296 KB 12.14% RAM: 9560 B 256 KB 3.65% 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 E:/Misha/NCSDK/zephyr/samples/basic/blinky/build/blinky/zephyr/zephyr.elf for board: nrf54h20dk [12/12] Generating ../zephyr/dfu_suit.zip (v2.7.99-cs2) e:\Misha\NCSDK\zephyr\samples\basic\blinky> west flash -- west flash: rebuilding [0/7] Performing build step for 'blinky' ninja: no work to do. [7/7] Generating ../zephyr/dfu_suit.zip -- west flash: using runner nrfutil -- runners.nrfutil: reset after flashing requested Using board 001051163442 -- runners.nrfutil: Flashing file: E:\Misha\NCSDK\zephyr\samples\basic\blinky\build\blinky\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: Reset -- runners.nrfutil: Board with serial number 1051163442 flashed successfully.
I have upgraded the nrfutil to v7.13.0
(v2.7.99-cs2) e:\Misha\NCSDK\zephyr\samples\basic\blinky> nrfutil --version
nrfutil 7.13.0 (8289424 2024-07-01)
commit-hash: 82894242d19ff24a1541712312b3ea3af0ca8f85
commit-date: 2024-07-01
host: x86_64-pc-windows-msvc
build-timestamp: 2024-07-01T07:37:50.864803700Z
classification: nrf-external
I have also built the blinky within the zephyr\samples\basic\blinky folder.
But this didn't help me. Here is my build and flash log.
(v2.7.99-cs2) e:\Misha\NCSDK\zephyr\samples\basic\blinky> west build -p -b nrf54h20dk/nrf54h20/cpuapp -- west build: generating a build system Loading Zephyr module(s) (Zephyr base): sysbuild_default -- Found Python3: E:/Misha/NCSDK/toolchains/2c13e7691c/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter -- Cache files will be written to: E:/Misha/NCSDK/zephyr/.cache -- Found west (found suitable version "1.2.0", minimum required is "0.14.0") -- Board: nrf54h20dk, qualifiers: nrf54h20/cpuapp Parsing E:/Misha/NCSDK/zephyr/share/sysbuild/Kconfig Loaded configuration 'E:/Misha/NCSDK/zephyr/samples/basic/blinky/build/_sysbuild/empty.conf' Merged configuration 'E:/Misha/NCSDK/zephyr/samples/basic/blinky/build/_sysbuild/empty.conf' Configuration saved to 'E:/Misha/NCSDK/zephyr/samples/basic/blinky/build/zephyr/.config' Kconfig header saved to 'E:/Misha/NCSDK/zephyr/samples/basic/blinky/build/_sysbuild/autoconf.h' -- **************************** * Running CMake for blinky * **************************** Loading Zephyr default modules (Zephyr base). -- Application: E:/Misha/NCSDK/zephyr/samples/basic/blinky -- CMake version: 3.21.0 -- Using NCS Toolchain 2.7.20240926.189312493852 for building. (E:/Misha/NCSDK/toolchains/2c13e7691c/cmake) -- Found Python3: E:/Misha/NCSDK/toolchains/2c13e7691c/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter -- Cache files will be written to: E:/Misha/NCSDK/zephyr/.cache -- Zephyr version: 3.6.99 (E:/Misha/NCSDK/zephyr) -- Found west (found suitable version "1.2.0", minimum required is "0.14.0") -- Board: nrf54h20dk, qualifiers: nrf54h20/cpuapp -- Found host-tools: zephyr 0.16.8 (E:/Misha/NCSDK/toolchains/2c13e7691c/opt/zephyr-sdk) -- Found toolchain: zephyr 0.16.8 (E:/Misha/NCSDK/toolchains/2c13e7691c/opt/zephyr-sdk) -- Found Dtc: E:/Misha/NCSDK/toolchains/2c13e7691c/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") -- Found BOARD.dts: E:/Misha/NCSDK/zephyr/boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpuapp.dts -- Generated zephyr.dts: E:/Misha/NCSDK/zephyr/samples/basic/blinky/build/blinky/zephyr/zephyr.dts -- Generated devicetree_generated.h: E:/Misha/NCSDK/zephyr/samples/basic/blinky/build/blinky/zephyr/include/generated/devicetree_generated.h -- Including generated dts.cmake file: E:/Misha/NCSDK/zephyr/samples/basic/blinky/build/blinky/zephyr/dts.cmake Parsing E:/Misha/NCSDK/zephyr/Kconfig Loaded configuration 'E:/Misha/NCSDK/zephyr/boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpuapp_defconfig' Merged configuration 'E:/Misha/NCSDK/zephyr/samples/basic/blinky/prj.conf' Merged configuration 'E:/Misha/NCSDK/zephyr/samples/basic/blinky/build/blinky/zephyr/.config.sysbuild' Configuration saved to 'E:/Misha/NCSDK/zephyr/samples/basic/blinky/build/blinky/zephyr/.config' Kconfig header saved to 'E:/Misha/NCSDK/zephyr/samples/basic/blinky/build/blinky/zephyr/include/generated/autoconf.h' -- Found GnuLd: e:/misha/ncsdk/toolchains/2c13e7691c/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd.exe (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: E:/Misha/NCSDK/toolchains/2c13e7691c/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe 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 "6.0.0", minimum required is "5.6.0") -- Generated UICR hex file: E:/Misha/NCSDK/zephyr/samples/basic/blinky/build/blinky/zephyr/uicr.hex -- Generated BICR hex file: E:/Misha/NCSDK/zephyr/samples/basic/blinky/build/blinky/zephyr/bicr.hex -- Configuring done -- Generating done -- Build files have been written to: E:/Misha/NCSDK/zephyr/samples/basic/blinky/build/blinky -- Unable to find a VERSION file. Using default values (seq: 1, no semver) -- Found blinky manifest template: E:/Misha/NCSDK/nrf/config/suit/templates/nrf54h20/default/v1/app_envelope.yaml.jinja2 -- Found root manifest template: E:/Misha/NCSDK/nrf/config/suit/templates/nrf54h20/default/v1/root_with_binary_nordic_top.yaml.jinja2 -- Configuring done -- Generating done -- Build files have been written to: E:/Misha/NCSDK/zephyr/samples/basic/blinky/build ←[92m-- west build: building application [6/12] Performing build step for 'blinky' [4/159] Generating include/generated/version.h -- Zephyr version: 3.6.99 (E:/Misha/NCSDK/zephyr), build: v3.6.99-ncs2-433-g3d01dcc251bf [159/159] Linking C executable zephyr\zephyr.elf Memory region Used Size Region Size %age Used FLASH: 36804 B 296 KB 12.14% RAM: 9560 B 256 KB 3.65% 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 E:/Misha/NCSDK/zephyr/samples/basic/blinky/build/blinky/zephyr/zephyr.elf for board: nrf54h20dk [12/12] Generating ../zephyr/dfu_suit.zip (v2.7.99-cs2) e:\Misha\NCSDK\zephyr\samples\basic\blinky> west flash -- west flash: rebuilding [0/7] Performing build step for 'blinky' ninja: no work to do. [7/7] Generating ../zephyr/dfu_suit.zip -- west flash: using runner nrfutil -- runners.nrfutil: reset after flashing requested Using board 001051163442 -- runners.nrfutil: Flashing file: E:\Misha\NCSDK\zephyr\samples\basic\blinky\build\blinky\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: Reset -- runners.nrfutil: Board with serial number 1051163442 flashed successfully.