1 Reply Latest reply on Mar 22, 2018 9:46 AM by e.pratt_1639216

    How do you programmatically repair Boot Loadable metadata file at end of flash?

    tyler.cox_2489271

      Question in the title. Scenario being that if my application is a bad build that ends up writing to the last page in flash accidentally resulting in the metadata file at the end of flash being erased.

       

      I had hoped that maybe I could get away with just repairing the pointer to the application, but I don't think that will work since it appears to depend on additional information. I basically use the bootloader block object for the single functionality of assisting in launching into the application.  Everything else is set to a custom interface. I have the application validation and bootloader validation turned off. What needs to be done in order for my boot loader to successfully launch a newly loaded application if the metadata file is corrupted?