Error For Importing a Memory Dump File to FlexNVM EERAM

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Error For Importing a Memory Dump File to FlexNVM EERAM

跳至解决方案
1,298 次查看
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 项奖励
1 解答
1,269 次查看
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 项奖励
2 回复数
1,270 次查看
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 项奖励
1,246 次查看
turgaykale
Contributor III

Thank you Daniel for the comment !

0 项奖励