3 Replies Latest reply on Mar 30, 2019 11:06 PM by GyanC_36

    Dual-application support when using BLE OTA

    adam.slade_1694516

      How can I configure a dual-application bootloader when using OTA? I'm using the BLE_OTA_FixedStack_Bootloadable/Bootloader example projects on the CY8CKIT-042-BLE using a 256k module (600-20088-01).  OTA updates work fine, but since it doesn't use external memory, updates overwrite the existing application, rendering the application invalid if the OTA is interrupted.  There is ample room on the flash for the bootloader (92 kB) and two duplicate applications (40 kB each) I want either a "golden image" (application that is loaded once, and then never overwritten), or two applications, the most recent of which is loaded at startup.

       

      I know I can achieve the mission-critical behavior which I'm looking for by using external memory, but I'd like to utilize the available internal flash.