I am trying perform DFU over BLE and get the following result:
nrfutil dfu ble -a cd5dfbcefa30 -snr 682937446 -pkg flash.zip -ic NRF52Traceback (most recent call last): File "/home/magnus/.local/bin/nrfutil", line 11, in <module> sys.exit(cli()) File "/home/magnus/.local/lib/python2.7/site-packages/click/core.py", line 764, in __call__ return self.main(*args, **kwargs) File "/home/magnus/.local/lib/python2.7/site-packages/click/core.py", line 717, in main rv = self.invoke(ctx) File "/home/magnus/.local/lib/python2.7/site-packages/click/core.py", line 1137, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/home/magnus/.local/lib/python2.7/site-packages/click/core.py", line 1137, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/home/magnus/.local/lib/python2.7/site-packages/click/core.py", line 956, in invoke return ctx.invoke(self.callback, **ctx.params) File "/home/magnus/.local/lib/python2.7/site-packages/click/core.py", line 555, in invoke return callback(*args, **kwargs) File "/home/magnus/.local/lib/python2.7/site-packages/nordicsemi/__main__.py", line 951, in ble dfu.dfu_send_images() File "/home/magnus/.local/lib/python2.7/site-packages/nordicsemi/dfu/dfu.py", line 129, in dfu_send_images self._dfu_send_image(self.manifest.application) File "/home/magnus/.local/lib/python2.7/site-packages/nordicsemi/dfu/dfu.py", line 90, in _dfu_send_image self.dfu_transport.open() File "/home/magnus/.local/lib/python2.7/site-packages/nordicsemi/dfu/dfu_transport_ble.py", line 450, in open self.dfu_adapter.open() File "/home/magnus/.local/lib/python2.7/site-packages/nordicsemi/dfu/dfu_transport_ble.py", line 106, in open self.adapter.driver.open() File "/home/magnus/.local/lib/python2.7/site-packages/pc_ble_driver_py/ble_driver.py", line 127, in wrapper raise NordicSemiException('Failed to {}. Error code: {}'.format(wrapped.__name__, err_code))pc_ble_driver_py.exceptions.NordicSemiException: Failed to open. Error code: 3
What is you setup (SW and HW)? Which nrfutil version are you using?
I am using two nRF52832 Development Kit boards and nrfutil version 4.0.0
And you've flashed the DK thats receiving the DFU with the Secure Bootloader, SoftDevice and an application that supports DFU(if you have flashed an application that is)?
Yes, I have flashed the DFU with the Secure Bootloader and it works from nRF Connect on my mobile phone.
Hmm, are you running nrfutil on a Linux/Ubuntu OS?