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
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
Are you able to share the code that reads and writes the files? It might help someone to find the problem.
Steve
Hi Tim,
Are you able to share the code that reads and writes the files? It might help someone to find the problem.
Steve
Important Information for this Arm website
This site uses cookies to store information on your computer.
By continuing to use our site, you consent to our cookies.
If you are not happy with the use of these cookies, please review our
Cookie Policy
to learn how they can be disabled.
By disabling cookies, some features of the site will not work.
Access Warning
You do not have the correct permissions to perform this operation.
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