Hi,
I am using an EEPROM Emulation feature of FlexNVM in S32K148 MCU. I am using S32 Design Studio v3.4 IDE. I have got an error when importing a memory dump file (already exported and saved in srec format) to FlexRAM address starting from 0x1400_0000 to 0x1400_0400 which is a FlexRAM memory range used to emulate EEPROM Emulation feature of FlexNVM. Would you please help to understand the reason behind this type of error? Is it possible to import a memory dump file to FlexRAM (in our case: address from 0x1400_0000 to 0x1400_0400) when using an EEPROM emulation feature of FlexNVM ?
Importing a memory dump file (srec format) via memory browser window:
Error is:
Thank you !
Solved! Go to Solution.
Hi @turgaykale,
When EEERDY = 1, every write (8bit, 16bit or 32bit) to the EEEPROM clears the CCIF flag and the EEPROM must not be written until CCIF is set again.
Please refer to AN11983 Using the S32K1xx EEPROM Functionality
https://www.nxp.com/docs/en/application-note/AN11983.pdf
Based on that, I don't think the S32DS can do that.
It should be possible to load the data to SRAM.
Regards,
Daniel
Hi @turgaykale,
When EEERDY = 1, every write (8bit, 16bit or 32bit) to the EEEPROM clears the CCIF flag and the EEPROM must not be written until CCIF is set again.
Please refer to AN11983 Using the S32K1xx EEPROM Functionality
https://www.nxp.com/docs/en/application-note/AN11983.pdf
Based on that, I don't think the S32DS can do that.
It should be possible to load the data to SRAM.
Regards,
Daniel
Thank you Daniel for the comment !