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!

  • You're still using nrfutil v2.2.0 according to the error message. Did you download the v0.5.2 release from here?

  • @AD1170: Could you tell which error you get when you use v0.5.2, I would prefer a screenshot, you can edit the question to add picture.

  • Sorry, but i have noticed, that the version used for the DFU test was not the 0.5.2. The 2.2.0 was used instead. I have downloaded the v0.5.2. source package. But unfortunatelly the python script does not run. The package requirements was installed before. Might be this is due to the intalled nrfutil v2.2.0. I have not found any hint how to remove the previous installed version of nrfutil (in this case the v2.2.0).

    The error messages are shown below:

    C:\Program Files (x86)\Nordic Semiconductor\pc-nrfutil-0.5.2>nrfutil version
    Traceback (most recent call last):
      File "d:\Python27\Scripts\nrfutil-script.py", line 6, in <module> from pkg_resources import load_entry_point
      File "D:\python27\Lib\site-packages\pkg_resources\__init__.py", line 3036, in <module> @_call_aside
      File "D:\python27\Lib\site-packages\pkg_resources\__init__.py", line 3020, in _call_aside f(*args, **kwargs)
      File "D:\python27\Lib\site-packages\pkg_resources\__init__.py", line 3049, in _initialize_master_working_set working_set = WorkingSet._build_master()
      File "D:\python27\Lib\site-packages\pkg_resources\__init__.py", line 656, in _build_master return cls._build_from_requirements(__requires__)
      File "D:\python27\Lib\site-packages\pkg_resources\__init__.py", line 669, in _build_from_requirements dists = ws.resolve(reqs, Environment())
      File "D:\python27\Lib\site-packages\pkg_resources\__init__.py", line 854, in resolve raise DistributionNotFound(req, requirers) pkg_resources.
      DistributionNotFound: The 'click>=6.0' distribution was not foundand is required by nrfutil
    
    c:\Program Files (x86)\Nordic Semiconductor\pc-nrfutil-0.5.2>
    

    Is there anywhere a executable version of the nrfutil v0.5.2, so that we can do this without the python environment? THX! PS: The edit function does not work for me.

  • @AD1170: If you only need to generate DFU package, you can use v0.3.0. We have an exe file. You can either install nRFGo Studio or nRF Master Control Panel (look for MCP).

    nrfutil.exe is located in C:\Program Files (x86)\Nordic Semiconductor\Master Control Panel\3.10.0.14\nrf or C:\Program Files (x86)\Nordic Semiconductor\nRFgo Studio

Related