S32K144- store variable in FlexNVM

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

S32K144- store variable in FlexNVM

802 次查看
Gargi2021
Contributor I

Hi Team,

In S32k144, how can i store variable in FlexNVM and how to read its value. please provide some solution.

 

Thanks,

Gargi 

0 项奖励
回复
1 回复

790 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

For detailed description of EEPROM emulation, I would recommend to study AN11983:

https://www.nxp.com/docs/en/application-note/AN11983.pdf

 

First you need to perform program partition operation to enable EEPROM emulation as shown in the AN11983, section 2.2.2. There is an example code in S32DS SDK (flash_partitioning_s32k144). It needs to be blank new device or with performed mass erase operation before programming the example code.

 

In this mode FlexRAM acts as access point for EEE memory space, and EEE state machine perform flash erase/program operations to NVM (in this mode assigned to E-flash). From user point of view access to FlexRAM is same as access to ordinary RAM.

0 项奖励
回复