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

NRF Connect app stuck on "VALIDATING" when performing DFU

Based on documentation included in http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_nrf52.html#fota-upgrades I am attempting to get DFU working on the following setup:

-nRF52840

-nrfConnect/Zephyr

-MCUBoot

I am loading the 'app_update.bin' file onto my mobile phone. I am able to see the device and the SMP service. I click the 'DFU' icon and select the 'app_update.bin' file and then the DFU screen appears (with the transfer speed graph) and "Validating" shows below the graph. Nothing happens after this point.

I tried the NRF Toolbox's DFU button. I click the 'Select file' button and choose 'Application' and select the same 'app_update.bin' file. The app then asks for an init packet file and I click the 'NO' option. When starting the upload it gives the error "DFU Init packet required'.

I am confused about the need for an init packet. The documentation mentioned at the start of this ticket indicates that the 'app_update.bin' file can be used directly. Also, the definition of the init file indicates fields like softdevice version, etc, which are not applicable in my configuration (MCU Boot is the bootloader and I am using the MCUMgr for FOTA while the application is running).

Can you please help here?

Thanks,

Jon

  •  Jon: It seems like your initial issue is solved: performing BLE DFU on the nRF52840 using the mcumgr protocol. Right?

    Could you open a new ticket about "maximize throughput on DFU from IOS and Android". This way we can keep the forum more organized and easier to navigate for other developers. By the way, I recommend you to check out the nRF Connect Device Manager App, which is made for your usecase; updating and managing devices running nRF Connect SDK (using the mcumgr protocol).

    Mike Hibbett: Your case will be assigned to a Nordic engineer today, which will take a look at you issue.

    Best regards,

    Simon

Related