This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrfConnect - DFU Option not shown but DFU Service is running

Hello,

i try to use the nrfConnect (PC version) to update my devices via DFU. The DFU service is running on the device (update with Andoid nrfToolbox works without any problems). But the nrfConnect SW does not show the DFU Button. Whats going wrong?

Thanks!

  • Which SDK, nRF Toolbox and nRF Connect version are you using?

  • SDK 8.9, SD310, latest version nRF Toolbox (2.3.1) and nRF Connect (1.1.1), DevBords: PCA10040 and PCA10028 THX!

  • Hi Bernd,

    nRF Connect for Desktop v1.x only supports Secure DFU, i.e. the bootloader examples from SDK v12.x.0. Thus, if you want to perform Legacy DFU (SDK v11.0.0 and older) then you'll have to use nrfutil v0.5.2, here is the link.

    Best regards

    Bjørn

  • Ok, thanks! But the following error message is shown (last line) "TypeError: init() got an unexpected keyword argument 'dfu_version'", DFU Version is 0.5 (in the manifetst). The package is generated with nrfutil (version 0.3.0), Commandline: nrfutil.exe dfu genpkg --application package.bin --application-version 0xFFFFFFFF --dev-type 0xFFFF --dev-revision 0xffff --sd-req 0xFFFE package.zip

  • I have made a 2nd try with a new packgae (generated with the new nrfutil). The result is here: C:\Program Files (x86)\Nordic Semiconductor\pc-nrfutil-master>nrfutil dfu ble -i c NRF52 -pkg app_dfu_package.zip -p COM26 -n "P2M_NGeco 4444" -f Board already flashed with connectivity firmware. [------------------------------------] 0% Traceback (most recent call last): File "d:\Python27\Scripts\nrfutil-script.py", line 11, in load_entry_point('nrfutil==2.2.0', 'console_scripts', 'nrfutil')() File "d:\python27\lib\site-packages\click\core.py", line 716, in call return self.main(*args, **kwargs) File "d:\python27\lib\site-packages\click\core.py", line 696, in main rv = self.invoke(ctx) File "d:\python27\lib\site-packages\click\core.py", line 1060, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "d:\python27\lib\site-packages\click\core.py", line 1060, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "d:\python27\lib\site-packages\click\core.py", line 889, in invoke return ctx.invoke(self.callback, **ctx.params) File "d:\python27\lib\site-packages\click\core.py", line 534, in invoke return callback(*args, **kwargs) File "d:\python27\lib\site-packages\nrfutil-2.2.0-py2.7.egg\nordicsemi_main _.py", line 661, in ble dfu.dfu_send_images() File "d:\python27\lib\site-packages\nrfutil-2.2.0-py2.7.egg\nordicsemi\dfu\dfu .py", line 122, in dfu_send_images self._dfu_send_image(self.manifest.application) File "d:\python27\lib\site-packages\nrfutil-2.2.0-py2.7.egg\nordicsemi\dfu\dfu .py", line 83, in _dfu_send_image self.dfu_transport.open() File "d:\python27\lib\site-packages\nrfutil-2.2.0-py2.7.egg\nordicsemi\dfu\dfu _transport_ble.py", line 223, in open self.dfu_adapter.open() File "d:\python27\lib\site-packages\nrfutil-2.2.0-py2.7.egg\nordicsemi\dfu\dfu _transport_ble.py", line 87, in open self.adapter.driver.open() File "d:\python27\lib\site-packages\wrapt\wrappers.py", line 561, in call args, kwargs) File "d:\python27\lib\site-packages\pc_ble_driver_py\ble_driver.py", line 126, in wrapper raise NordicSemiException('Failed to {}. Error code: {}'.format(wrapped.na me, err_code)) pc_ble_driver_py.exceptions.NordicSemiException: Failed to open. Error code: 13

    C:\Program Files (x86)\Nordic Semiconductor\pc-nrfutil-master>

Related