MCU BOOT - Possible to use second partition as temporary data storage?

Hi there,

My compiled image size in ROM is ~200kb.

I have 2 MCUboot partiitons, each 228kB.

I wanted to ask- is it possible for the application to use the second (non active) MCUboot partition to store some data (~150kB) for the user application.

It is acceptable that this data is lost during OTA.

Thanks!

Parents
  • Hello,

    Initially, the application runs from Slot 0 (primary). During an OTA update, the new firmware is downloaded to Slot 1(secondary slot). After the download, MCUboot attempts a boot swap, marking Slot 1 as the primary slot for the next boot. If the new firmware in Slot 1 is validated successfully, it becomes the new primary firmware. If validation fails, the system reverts to Slot 0. Upon completion of the update, the next boot will occur from Slot 1, and if verified, Slot 1 becomes the new Slot 0. See this page.

    Kind Regards,

    Abhijith

Reply
  • Hello,

    Initially, the application runs from Slot 0 (primary). During an OTA update, the new firmware is downloaded to Slot 1(secondary slot). After the download, MCUboot attempts a boot swap, marking Slot 1 as the primary slot for the next boot. If the new firmware in Slot 1 is validated successfully, it becomes the new primary firmware. If validation fails, the system reverts to Slot 0. Upon completion of the update, the next boot will occur from Slot 1, and if verified, Slot 1 becomes the new Slot 0. See this page.

    Kind Regards,

    Abhijith

Children
No Data
Related