How to write variables to flash library files

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

How to write variables to flash library files

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

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