Hello Nordic team
I am working on nRF51822 MCU.
My question is I can generate the DFU zip file and it working with nRFConnect and nRF Tool Box mobile application. But when I am trying to upload the file via nrfutill dfu ble it gave following errors:
No target selected. Default device name: DfuTarg is used.
Please select connectivity serial port:
0 : COM8 - 682271192
1 : COM17 - 681155878
Enter your choice: : 0
Traceback (most recent call last):
File "nordicsemi\__main__.py", line 1133, in <module>
File "site-packages\click\core.py", line 722, in __call__
File "site-packages\click\core.py", line 697, in main
File "site-packages\click\core.py", line 1066, in invoke
File "site-packages\click\core.py", line 1066, in invoke
File "site-packages\click\core.py", line 895, in invoke
File "site-packages\click\core.py", line 535, in invoke
File "nordicsemi\__main__.py", line 945, in ble
File "nordicsemi\dfu\dfu.py", line 71, in __init__
File "nordicsemi\dfu\package.py", line 571, in unpack_package
File "nordicsemi\dfu\manifest.py", line 202, in from_json
TypeError: __init__() got an unexpected keyword argument 'dfu_version'
Failed to execute script __main__
I used following command:
nrfutil dfu ble -ic NRF52 -pkg app_dfu_package.zip -p COM3 -n "MyDevice" -f
Also, help me how to use nRFConnect PC software to upload DFU file?
Please help me why above error I received and how to use nRFConnect PC software to send DFU file.
Any help will be appreciated.
Regards
Raj