2 Replies Latest reply on Jan 20, 2020 11:12 PM by TaFu_4610481

    How to use Last Known Good Area

    TaFu_4610481

      Hello,

       

      I hope to use the Last Known Good Area (LKG) to restore the previous application when the new one does not seem to work.

      The following is quoted from WICED OTA2 Update Support:

      "1:1 copy of Current Application Area before a new OTA2 Image extraction."

      How do you copy the Current Application to the LKG? Are there suitable functions to do that?

      I know that the area is optional, but I would appreciate if you could give me some advice.

       

      Thanks.

        • 1. Re: How to use Last Known Good Area
          GauravS_31

          Last Known Good is not supported in WICED which means that there is no implementation in the OTA2 source code. However, there is a placeholder for LKG code but not tested. If you check /43xxx_Wi-Fi/libraries/filesystems/ota2/wiced_ota2_image.c, they have mentioned ota_offset= OTA2_IMAGE_LAST_KNOWN_GOOD_AREA_BASE under case WICED_OTA2_IMAGE_TYPE_LAST_KNOWN_GOOD. However, this offset would need to be defined in ota2_image_defines.mk to map its memory location. We have forwarded your query to our product development team, who will evaluate your query.

          1 of 1 people found this helpful
          • 2. Re: How to use Last Known Good Area
            TaFu_4610481

            Thank you for your response.

            Actually I do not have to use the LKG any more now. If I need it in the future, I would like to use your reply as a reference.