Workflow for DFU via BLE on Windows

Hi

I'm using an nRF52840 with Zephyr and nRF Connect SDK v2.1.0.

I can update my device with the nRF Connect App on my smartphone. On Windows however, I had no luck so far. Has someone a workflow for that? What I tried:

  1. nrfutil.exe (in combination with a nRF53840 Dongle): The build system doesn't generate the package file (even though there is a file that looks like it on first sight: dfu_application.zip). I tried to generate this file myself and got the following error when using it to update:
    C:\xx\build\zephyr>nrfutil dfu ble -pkg dfu.zip -ic NRF52 -p COM10 -n "MyDevice"
    [------------------------------------] 0%
    Traceback (most recent call last):
    ...
    File "C:\Users\giz\AppData\Local\Programs\Python\Python310\lib\site-packages\pc_ble_driver_py\ble_adapter.py", line 400, in enable_notification
    raise NordicSemiException("CCCD not found")
    pc_ble_driver_py.exceptions.NordicSemiException: CCCD not found
  2. mcumgr apparently doesn't support Windows
  3. Even though I need a way to automate the process, I still gave the nRF Connect App a try (again with the Dongle): The DFU button does not show up here when connected to the device.
Parents Reply Children
No Data
Related