mbed loosing config files

23 Aug 2013

Hi all,

searched on this question but did not find much. I have a situation where my mbed is loosing all the files that are stored on it. Sometimes it's all the files, other times it's some of the files. I have text files that hold a bunch of config settings. This info is read into memory when the program starts. The mbed is shutdown by loss of power being supplied to it. I do not really know if the files get lost during power down or power up. The are times when on power up, the power can be lost for a moment, then reestablished again. My thought is that maybe if power is lost while the files are being read into memory, that this could be where the problem lies.

Any thoughts?

Tim

23 Aug 2013

Hi Tim,

I use config files all the time and have had no issues. What mbed product are you using?

...kevin

23 Aug 2013

Hi Kevin, It's the LPC1768 (original version)

27 Aug 2013

Hi Tim,

Are you able to share the code that reads and writes the files? It might help someone to find the problem.

Steve