Using nfutil to dfu a package to nrf52832 using dongle nrf52840 on windows 10 and python 3.8.10
Able to access nrf52832 with nrconnect desktop (but can't get dfu to work with nrfdesktop.Case ID: 290417 ) I am able to get dfu to work with nrfConnect for android.
I am running the following command
nrfutil.exe dfu ble -pkg dfu_pkg_w_bl.2.5.8.release.zip -a D27F2A70D5BE -ic NRF52 -p COM4
Result:
[------------------------------------] 0%
Traceback (most recent call last):
File "nordicsemi\__main__.py", line 1545, 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 1205, in ble
File "nordicsemi\dfu\dfu.py", line 115, in dfu_send_images
File "nordicsemi\dfu\dfu.py", line 95, in _dfu_send_image
File "nordicsemi\dfu\dfu_transport_ble.py", line 526, in send_init_packet
File "nordicsemi\dfu\dfu_transport_ble.py", line 607, in __execute
File "nordicsemi\dfu\dfu_transport_ble.py", line 682, in __get_response
pc_ble_driver_py.exceptions.NordicSemiException: Extended Error 0x05: The firmware version is too low. For an application, the version must be greater than or equal to the current application. For a bootloader, it must be greater than the current version. This requirement prevents downgrade attacks.
[3372] Failed to execute script '__main__' due to unhandled exception!
The firmware revision string for the application on nrf52832 is 2.5.7
The firmware in the zip file is 2.5.8
I don't understand the error "firmware revision is to low.
Note: The dongle is programmed with: Connectivity firmware version: ble-connectivity 4.1.4+Mar-11-2021-08-36-04. SoftDevice API version: 5. Baud rate: 1000000.
Please advise.