Retention of flash data for RA2E1


I am working on RA2E1. When I am storing any data to flash data memory, that data is getting retained but when I apply power cycle at a very fat rate i.e. within 1 second a power cycle is done then it is observed that the data gets erased.

Any suggestions to overcome this issue?



Parents Reply
  • You have provided a single .c file, not an FSP project. If you remove the power before the flash operation has completed (Erase and Write), then the Data flash contents will be not as exepcted. How do you judge the flash operation has completed before removing the power?