How do you access the persistent memory/non volatile area in 22F?

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

How do you access the persistent memory/non volatile area in 22F?

965 次查看
cwati
Contributor III


Is there an existing way, or readily available API in the K22F bare metal code that comes with the basic demos, to read/write into persistent memory? (So the values are stored across reboot).

Specifically, we're using MK22FN256xxx12, so it's not quite the Freedom board since it has less flash.

Thanks,
Cecylia

0 项奖励
回复
2 回复数

750 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi Cecylia,

I'd highly recommend you to use the stand software driver which consist of a set of APIs, and the stand software driver for the C90TFS/FTFx flash will provide driver functions to perform high-speed program/erase operation.

Please go for download the driver through the link as below, it also has some demo for referring to.

http://cache.freescale.com/files/32bit/software/C90TFS_FLASH_DRIVER.exe?fromsite=zh-Hans
Have a great day,
Ping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

750 次查看
cwati
Contributor III

Thank you! We'll give it a try.

0 项奖励
回复