Reliable Over-The-Air (OTA) Update of FreeRTOS Print


This application note explains the reliable Over-The-Air (OTA) Update of FreeRTOS images in Flash.

OTA Features

Emcraft provides a reliable Over-The-Air (OTA) Update of FreeRTOS images in Flash. Salient features of the OTA implementation are as follows:

  • Redundant boot architecture. 2 ubi volumes are allocated on the QSPI Flash to store 2 instances of the FreeRTOS boot images.
  • Only one of two images is active at an arbitrary moment in time. The boot makes use of the active boot image.
  • When an OTA upgrade is required, the new image is stored into the inactive volume and then, if the upgrade is successful, that volume is marked as active. If an OTA upgrade has failed (eg. due to a power outage during the OTA), the system rolls back to the previous active volume. This ensures that the OTA never "bricks" the unit, no matter what happens while the OTA is in progress.


Emcraft supports its OTA implementation as a service.

This e-mail address is being protected from spambots. You need JavaScript enabled to view it to learn more.