Hello,
I would like to use FlexRAM on K24FN1M0V as general purpose RAM, but I noticed that after initiating a Flash mass erase, attempting to write to the FlexRAM leads to a hard fault. After the mass erase is finished, the RAM is accessible again, but it is erased to 0xFF.
I found in K24P144M120SF5RM Section 29.4.10.9:
The EEERDY and RAMRDY bits are clear during the Read 1s All Blocks operation and
are restored at the end of the Read 1s All Blocks operation
Is the same true for the 'Erase All Blocks' command? It is not documented.
Is there any way to prevent this so that FlexRAM can be used as general purpose RAM?
Thanks,
Ivan