Automating DFU process using nRF52840 DK for Zephyr devices

Need to automate the FOTA process for devices with Zephyr build application which has mcuboot as bootloader, these devices can be programmed using nRF Device Manager and nRF Connect application easily. But wanted to know if there is a possibility of making a python script (if already python module available) to the process automatically using DK as the server.

Parents Reply Children
  • Hi  

    DFU package is created using nrfutil, this part I understand and unlike the nRF5 SDK version where the "nrfutil dfu ble -ic NRF52 -pkg app_dfu_package.zip -p COM_PORT --name "DEVICE_NAME" " would send the device into DFU mode and then upload the new firmware file, but here in NCS build we dont have any specific service which can trigger the device to go into DFU mode and then update the firmware.
    I have tried multiple online resources but didnt helped.

    Yes, that should be possible, but I don't have a reference to show how it's done

    I`ll require references here as the this is a big blocker in my production stage, right now we have implemented the DFU flow using mobile phone only which uses nRF Device Manager libraries.

Related