Following instruction here for setting up NRF52840-Dongle as a radio coprocessor for use with OpenThread Border Router.
The error is at the second step when executing "nrfutil pkg generate --hw-version 52 --sd-req=0x00 \ --application build/zephyr/zephyr.hex --application-version 1 build/zephyr/zephyr.zip". It fails with "FileNotFoundError: [Errno 2] No such file or directory: 'build/zephyr/zephyr.hex".
Logs:
NRF_802154_SWI_PRIORITY=1 [415/415] Linking CXX executable zephyr/zephyr.elf Memory region Used Size Region Size %age Used FLASH: 154132 B 988 KB 15.23% RAM: 45632 B 256 KB 17.41% IDT_LIST: 0 GB 32 KB 0.00% Generating files from /opt/nordic/ncs/v2.7.0/build/coprocessor/zephyr/zephyr.elf for board: nrf52840dongle [10/10] Generating ../merged.hex /opt/nordic/ncs/v2.7.0$ nrfutil pkg generate --hw-version 52 --sd-req=0x00 \ --application build/zephyr/zephyr.hex --application-version 1 build/zephyr/zephyr.zip |===============================================================| |## ## ### ######## ## ## #### ## ## ###### | |## ## ## ## ## ## ## ### ## ## ### ## ## ## | |## ## ## ## ## ## ## #### ## ## #### ## ## | |## ## ## ## ## ######## ## ## ## ## ## ## ## ## ####| |## ## ## ######### ## ## ## #### ## ## #### ## ## | |## ## ## ## ## ## ## ## ### ## ## ### ## ## | | ### ### ## ## ## ## ## ## #### ## ## ###### | |===============================================================| |You are not providing a signature key, which means the DFU | |files will not be signed, and are vulnerable to tampering. | |This is only compatible with a signature-less bootloader and is| |not suitable for production environments. | |===============================================================| Traceback (most recent call last): File "nordicsemi/__main__.py", line 1555, in <module> File "click/core.py", line 1137, in __call__ File "click/core.py", line 1062, in main File "click/core.py", line 1668, in invoke File "click/core.py", line 1668, in invoke File "click/core.py", line 1404, in invoke File "click/core.py", line 763, in invoke File "nordicsemi/__main__.py", line 899, in generate File "nordicsemi/dfu/package.py", line 434, in generate_package File "nordicsemi/dfu/package.py", line 631, in normalize_firmware_to_bin File "nordicsemi/dfu/nrfhex.py", line 75, in __init__ File "intelhex/__init__.py", line 249, in loadfile File "intelhex/__init__.py", line 199, in loadhex FileNotFoundError: [Errno 2] No such file or directory: 'build/zephyr/zephyr.hex' [17316] Failed to execute script '__main__' due to unhandled exception!