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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
-----------------------------------------------------------------------------------------------------------------------

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you! We'll give it a try.
