Non-Volatile Memory (NVM)

24 Feb 2012

I need to store about 15 bytes of data in Non-Volatile Memory (NVM) (ie, the memory does not get erased after a power cycle). I noticed that the LPC1768 does not have any EEPROM. I could add an SD Card but not really up to that if there is an easier way.

Is there any NVM on the 1768 MBED? I was thinking that I could create a small file on the virtual disk where the MBED program is stored. Is that area of memory accessible to the program that is running? Any sample code or other ideas?

Thanks.

24 Feb 2012

I may have found my answer.... http://mbed.org/handbook/LocalFileSystem

Any comments or things to look out for would be welcome.

Thanks.

26 Feb 2012
30 Apr 2019

Hi, Can anyone please redirect me to an example code that shows the use of NVM to save the user data. Thanks in advance.

21 Nov 2019

If anybody is still stuck on it, go here:

https://os.mbed.com/docs/mbed-os/v5.14/apis/nvstore.html