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.
8 years, 11 months ago.
how to read/write from/to flash memory in K64F
Hi all, I need to write and read some run time data from my mbed K64F. I know there is an EEPROM memory in it, but I need some piece of code to access it. Actually I need to read and write some IP address into mbed so that on every reboot I can read the previous data. I saw some techniques in freescale homesite but they are too complicated to implement. Can any one guide me how to access non-volatile memory in K64F
2 Answers
8 years, 11 months ago.
A similar question about EEPROM access: https://developer.mbed.org/questions/7980/EEPROM-for-FRDM-K64F/
8 years, 11 months ago.
This code does not support EEPROM, but it does support writing to flash memory: https://developer.mbed.org/users/Sissors/code/FreescaleIAP/
I have tried this code, is it non volatile ?? I mean will i be able to access my data after restarting the board??
posted by 01 Jun 2015Yes, it writes it to the flash. Only depending on the board reprogramming it might include a full chip erase
posted by 01 Jun 2015