Error For Importing a Memory Dump File to FlexNVM EERAM

cancel
Showing results for 
Search instead for 
Did you mean: 

Error For Importing a Memory Dump File to FlexNVM EERAM

Jump to solution
549 Views
turgaykale
Contributor III

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:

turgaykale_1-1640348317902.png

Error is:

turgaykale_2-1640348673247.png

Thank you !

 

0 Kudos
1 Solution
520 Views
danielmartynek
NXP TechSupport
NXP TechSupport

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

View solution in original post

0 Kudos
2 Replies
521 Views
danielmartynek
NXP TechSupport
NXP TechSupport

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

0 Kudos
497 Views
turgaykale
Contributor III

Thank you Daniel for the comment !

0 Kudos