S32K144- store variable in FlexNVM

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32K144- store variable in FlexNVM

990件の閲覧回数
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 返信

978件の閲覧回数
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 件の賞賛
返信