s32k148 simulates eeprom through Dflash, and reads and writes through flexram, I have more than 10k data want to save to eeprom . but flexram is 4k,how to use 64k eeprom with flexram.3q.
Solved! Go to Solution.
Hi,
Unfortunately, this is not possible.
There is only 4KB of the Emulated EEEPROM.
But you can split the FlexNVM block to 64KB of EEPROM backup and 448KB of DFlash.
And store 4KB of data to EEPROM (FlexRAM) and 6KB to DFlash.
Regards,
Daniel
Hi,
Unfortunately, this is not possible.
There is only 4KB of the Emulated EEEPROM.
But you can split the FlexNVM block to 64KB of EEPROM backup and 448KB of DFlash.
And store 4KB of data to EEPROM (FlexRAM) and 6KB to DFlash.
Regards,
Daniel
thank you vevry much now i have a new question witch the Emulated eeprom. I write some byte to flexram, How can I determine if it is really Synchronize to the 64k falsh eeprom backup when i read it? is there a way that Force (64k)flash eeprom backup to be synchronized to(4k) flexram? 3q
Hi @sunbingyue,
Depending on the partitioning (please take a look at the description of Program Partition FTFC command), the FlexRAM is loaded with valid data either after reset automatically or it needs to be done by the Set FlexRAM Function FTFC command (Make FlexRAM available for emulated EEPROM).
The data are synchronized when the EEERDY = 1.
Regards,
Daniel