write data to essential Flash

17 Sep 2012

Hi all

How can I write data to internal Flash of LPC1768

Is mbed library support this?

Can someone tell me the way to do this. Thanks so much

17 Sep 2012

As far as I am aware there is no mbed library to support this, and would be extremely tricky to do especially as the program to do it would have to run from ROM. It is worth going a fairly long way to avoid this. Are you sure you couldn't put a Flash chip or SD card down on the board?

17 Sep 2012

My project need a little mass storage memory( not alot of information need to be existed and not changed after reseting or losing power). That's ridiculous when i waste an external Flash to store them

Thanks for caring and hoping your recommendation

17 Sep 2012

Hi Tran,

There are quite a few examples of this on the site if you know the magic word; the keyword you are looking for is "IAP" (In application programming).

You should find some write-ups and code examples on how to do what you are after if you search on the site.

Hope that helps!

Simon

17 Sep 2012

Have you considered using the local filesystem. This is easy to use and supported by mbed libs.

http://mbed.org/handbook/LocalFileSystem

There are also some examples of simple text based config files for reading/writing a few parameters.

18 Sep 2012

Thanks simon, wim

I found the way to solve my problem( I found useful library for my project)