how to use 64k witch s32k148

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

how to use 64k witch s32k148

跳至解决方案
992 次查看
sunbingyue
Contributor I

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.

0 项奖励
1 解答
984 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

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

 

在原帖中查看解决方案

0 项奖励
3 回复数
985 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

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

 

0 项奖励
927 次查看
sunbingyue
Contributor I

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

0 项奖励
919 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

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

0 项奖励