nRF52832 FOTA (Firmware update using BLE)

Hi,

We have developed firmware for a custom broad using the nRF52832 with 512kB flash, and our firmware currently uses 48.5% of the flash.

We are using Zephyr and version 2.6.1 of the toolchain.

The bootloader, we can find in the documentation examples uses dual-slot, so there has to be flash space for the 2x (bootloader+firmware).

Since our current firmware, which is not complete yet, uses 48.5% of the flash, I predict we will run into trouble with a full flash.

Is it possible to just have a BLE bootloader and the firmware, so if anything goes wrong, it will just start in the bootloader ?

Best regards

Jakob

Parents
  • Hello,

    Since our current firmware, which is not complete yet, uses 48.5% of the flash, I predict we will run into trouble with a full flash.

    Is it possible to just have a BLE bootloader and the firmware, so if anything goes wrong, it will just start in the bootloader ?

    As Alan mentioned, single bank OTA DFU won't be possible. You can either consider using the nRF52840 or another SoC with a larger flash size, or you can use an external flash memory to store the new image and then perform the swapping.

    This blog post provides recommendations for memory optimization using the nRF Connect SDK, and you may also find this general recommendation helpful. These resources can help reduce memory footprint to some extent, but they may not provide a complete solution for your issue.

    Kind regards,

    Abhijith

Reply
  • Hello,

    Since our current firmware, which is not complete yet, uses 48.5% of the flash, I predict we will run into trouble with a full flash.

    Is it possible to just have a BLE bootloader and the firmware, so if anything goes wrong, it will just start in the bootloader ?

    As Alan mentioned, single bank OTA DFU won't be possible. You can either consider using the nRF52840 or another SoC with a larger flash size, or you can use an external flash memory to store the new image and then perform the swapping.

    This blog post provides recommendations for memory optimization using the nRF Connect SDK, and you may also find this general recommendation helpful. These resources can help reduce memory footprint to some extent, but they may not provide a complete solution for your issue.

    Kind regards,

    Abhijith

Children
No Data
Related