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
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!
-----------------------------------------------------------------------------------------------------------------------
Thank you! We'll give it a try.