I am trying to write a program for an electrical device which needs calibration. The program must calibrate the device and store calibration values. This process is performed in RAM, but I need MCU to retain these information even when the power goes out. Is it the case in IAP? I mean if I copy calibration values from RAM to Flash memory using IAP, will I fulfill my requirement of not loosing them when the micro-controller is turned off?
Thanks in advance for your help
Things to consider:
Flash needs to be erased before writing/updating. The size and placement of flash blocks/sectors within you devices memory map. The minimum erase size, strategies to reduce wear (erase cycles). The erase and write speed with respect to w atchd ogs or real time behaviour. Shrinking your IROM size to accommodate a writable area outside the space the linker is using.