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

FOTA DFU from Softdevice to Zephyr

I have some nRF52832 devices that have been flashed with a Softdevice v13 based firmware and can receive OTA firmware updates. Unfortunately their enclosures are sealed and cannot be easily opened to flash the firmware via SWD/JTAG. Is it possible to flash a Zephyr based firmware including the MCUboot bootloader OTA to these devices?

  • Hello,

    I am sorry, but it is not possible to DFU from the nRF5 Bootloader to the Zephyr bootloader.

    The MCUboot bootloader via nRF5 SDK bootloader is a straight no. You may be able to update the application to a zephyr application, but you can't delete the softdevice, because the old bootloader will require it for updates. So you would need a softdevice and the zephyr BLE stack at the same time, so probably not much flash left for the application.

    So unfortunately, the short answer is no. It is probably possible to work together some half-way solution, like I talked about, but it will not be straight forward (and we are not planning to do it), and you will not be able to use the MCUboot. If you want to use a Zephyr bootloader, you need to use a programmer.

Related