How to write variables to flash library files

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

How to write variables to flash library files

578 次查看
zenging
Contributor I

I am using S32k311 and I want to import library files into the project. But when I import the library file, I get an error that tells me I'm out of memory.

3.png

So I want to store the library file variables in flash. I should know how to do it.

 

0 项奖励
回复
1 回复

546 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

So I want to store the library file variables in flash

This is not very standard. Flash is not designed for variables as they change a lot and you have only limited cycles of flash programming.

You should use RAM for store of variables.

If the variables need to survive destructive reset, you can use EEPROM for such purpose or registers which are not affected by destructive reset.

Best regards,

Peter

0 项奖励
回复