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

cancel
Showing results for 
Search instead for 
Did you mean: 

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

265 Views
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 Kudos
2 Replies

50 Views
jeremyzhou
NXP TechSupport
NXP TechSupport

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 Kudos

50 Views
cwati
Contributor III

Thank you! We'll give it a try.

0 Kudos