2 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.

Comment on this question

1 Answer

2 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.


You need to log in to post a question