nrfutil tool fails to read the .zip DFU package

Hello . I saw this issue raised previously but with no resolution so here it is again

I built the smp-svr sample in VSCode with Zephyr SDK 2.6.1 which produced  a DFU package dfu_application.zip

I can successfully  update my device over BLE  with the Device Manager mobile app but nrfutil fails with the following error

./nrfutil.exe dfu ble -pkg /c/vd/samples/smp_svr/build-nrfdk/zephyr/dfu_application-.zip -ic NRF52 -p COM6 -a "EA:55:B0:DF:A9:6A"
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 1209, in ble
File "nordicsemi\dfu\dfu.py", line 69, in __init__
File "nordicsemi\dfu\package.py", line 671, in unpack_package
File "nordicsemi\dfu\manifest.py", line 200, in from_json
KeyError: 'manifest'
[37460] Failed to execute script '__main__' due to unhandled exception!

I tried 

./nrfutil-6_12.exe pkg display /c/vd/samples/smp_svr/build-nrfdk/zephyr/dfu_application.zip with the same error

So appears that nrfutil fails to read the package

Looking through the forums I found one post that suggested to use the previous version of nrfutil. Tried 6.12 without success

Any ideas?

Thank you

Parents Reply Children
No Data
Related