I'm using nrfutil (https://github.com/NordicSemiconductor/pc-nrfutil/releases/tag/v6.0.0a1) with an nRF52840 USB Dongle to update units through BLE. The device is nRF52832. Here is the verbose I get:
nrfutil.exe dfu ble --package bootloader.zip -ic NRF52 -p COM10 -a CD:12:79:E6:F2:C6
Traceback (most recent call last):
File "nordicsemi\__main__.py", line 1458, in <module>
File "site-packages\click\core.py", line 764, in __call__
File "site-packages\click\core.py", line 717, in main
File "site-packages\click\core.py", line 1137, in invoke
File "site-packages\click\core.py", line 1137, in invoke
File "site-packages\click\core.py", line 956, in invoke
File "site-packages\click\core.py", line 555, in invoke
File "nordicsemi\__main__.py", line 1145, in ble
File "nordicsemi\dfu\dfu.py", line 123, in dfu_send_images
File "nordicsemi\dfu\dfu.py", line 88, in _dfu_send_image
File "nordicsemi\dfu\dfu_transport_ble.py", line 463, in open
File "nordicsemi\dfu\dfu_transport_ble.py", line 121, in open
File "site-packages\pc_ble_driver_py\ble_driver.py", line 99, in wrapper
pc_ble_driver_py.exceptions.NordicSemiException: Failed to ble_cfg_set. Error code: 32771
[21336] Failed to execute script __main__
When I'm using nRF Connect v3.2.0 I am able to connect to the device and update it using the DFU icon. The thing is I need a command line tool for automation of the procedure. I tried to open the COM port with nRF Connect and then try nrfutil and I get "pc_ble_driver_py.exceptions.NordicSemiException: Failed to open. Error code: 32809" so I guess the connection to the nRF52840 is working.