AnsweredAssumed Answered

IAP and External flash

Question asked by jeff belz on Dec 29, 2017
Latest reply on Dec 31, 2017 by Clive One

I have 2 questions -


Can IAP be used to update the internal flash from an external flash.  Here is what I want to do:

   1) Download code to the External flash from a remote location.  Such as Wifi OTA

   2) Have code running looking for new image in the the external flash, notify the user to update by pressing a 

       a button or two and then have the IAP program the internal flash with the new image.



When performing IAP do you need twice the flash as your program.  For example, if I have a program that is 32k, do I need 64k to do an IAP.  Thought being I'm storing the new program in a section of flash and the the IAP copies that code the program flash.    OR does it just overwrite the original program with the new one in the same flash location