3 Replies Latest reply on Jul 6, 2017 5:42 AM by daniel.mawas_1984421

    OTA upgradeable stack corruption of metadata

    daniel.mawas_1984421

      Hi,

         

      We experience corruption of flash metadata in our upgradable stack project when with turn on/off the power of the device quickly (CYBL11172).

         

      It looks like the loader (or the stack) writes in flash some flags at every boot. As our product is battery operated, it is easy to corrupt the metadata, when changing the batteries.

         

      We wanted to modify the loader and stack code to duplicate the two metadata rows, and add a checksum. The loader would recover the correct metadata, but we are unable to change the code as it is autogenerated.

         

      Do you have a solution to prevent corruption of flash metadata with glitches on power supply during boot ?

         

      How can we modify autogenerated source in PROC BLE for the bootloader component and bootloadable ?  

         

      Thanks for your help.