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.
7 years, 7 months ago.
Mbed reformats itself automatically.
I am working with a motor drive circuit. I am taking the readings from the encoder and writing it to a local file system that I have created within the MBed. The problem that I am having is that at times the Mbed automatically formats itself and clears it memory. Thus all the code and the files are lost.
Why this is happening and how can I avoid it.
Thanks.
1 Answer
7 years, 5 months ago.
I have not had mine reformat itself, but I have found the localfilesystem on the LPC1768 to be slow and fragile.
By fragile, I mean that it doesn't stand up well to a lot of write activity, and it gets corrupted. So, when I use it, I try to use it as primarily read-only.
Connected an additional filesystem, using either USB or microSD, seems to be a much better way to go.