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?
Hi Sudhanshu. VEE is simply an easy way to maintain data in data flash. You can't treat a data flash "variable" like a RAM variable. If you want to update data, you have to erase the entire data block…
The dataflash on the RA2E1 is disabled at power on, it isn't enabled until this point in the startup code :-