Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 6 months ago.
EEPROM for FRDM-K64F
How do I use the enhanced EEPROM functionality as non-volatile memory data storage?
The following document describes the FlexMemory EEE: http://cache.freescale.com/files/32bit/doc/app_note/AN4282.pdf
Question relating to:
1 Answer
9 years, 6 months ago.
Your link is dead, but you will need to dive into the reference manual and see how to access it (or get some code from somewhere else).
Thanks Erik, the link is fixed now.
I may have to add an external EEPROM chip?
I found this link: https://community.freescale.com/thread/328422
and this helpful discussion: https://community.freescale.com/thread/307463
This is an interesting article about using internal flash memory: http://mcuoneclipse.com/2014/05/31/configuration-data-using-the-internal-flash-instead-of-an-external-eeprom/
“How FlexMemory EEE works: To provide enhanced EEPROM functionality, the FlexMemory uses a RAM block (FlexRAM), a flash block (FlexNVM), and EEE state machine. When the EEE functionality is enabled, the FlexRAM becomes your EEE memory. The FlexRAM address space is where you access all of your EEE data. When the EEE is accessed, the EEE state machine keeps track of the data and backs it up as data records, stored in some portion of the FlexNVM used as an E-flash. Using a large block of E-flash to back up the data for a smaller amount of EEE data allows the FlexMemory EEE implementation to offer extremely high endurance.”
posted by 29 Apr 2015