1 Reply Latest reply on Dec 11, 2017 3:50 AM by riya Branched from an earlier discussion.

    OTA2 support needed for STM32F412 MCU with plenty of onboard resources...

    lance_2503811

      I'm working with a WICED platform that has an embedded STM32F412 (512KB of internal flash + 256 KB SRAM) + 16Mb external SFLASH. I believe internal + external flash should be sufficient to support OTA2 but I am not sure about RAM usage. The "OTA RAM requirements" details in the OTA2 document is not clear. It looks likes it is mixing memory that is designed for flash (code/data) with RAM or is that the OTA extractor app runs out of RAM?

      Screen Shot 2017-11-21 at 9.16.58 PM.png

      Would be really grateful if you guys can help clarify this? Are you able to share what your developers needed to do get OTA2 working on the high end STM32 you mentioned? Thanks!

        • 1. Re: OTA2 support needed for STM32F412 MCU with plenty of onboard resources...
          riya

          The table indicates that OTA2 will require nearly 640K RAM.

          For devices that have both internal+external Flash, the DCT can remain in the internal Flash(and execute from there) which saves you 16K. But still, the amount of RAM required turns out to be more than 256K. The internal+extrenal flash you mentioned is sufficient to support OTA2 but the lesser RAM won't serve the purpose.

          The OTA2 doc talks about the FLASH requirements in section 5. If a device meets the memory requirements for OTA2, you can try modifying the files as mentioned in section 8 of the doc.

          1 of 2 people found this helpful