I am using a FEZ Domino for a cheap off-the-shelf board for a DataLogger project which we have had working for the last year and a half. It takes data every 5 seconds and records it to a file. Just recently it stopped recording data and we believe that the issue is that the .NET Micro environment sees the SD card as being full, but there is only a few MB on a 4GB flash drive. What I think is happening is that the SD card blocks are being marked as “for erasure”, but the .NET Micro does not actually ever delete these blocks.
Putting the SD card to a PC and formatting it fixes the problem until it gets full again. I did simulate the problem again in a few hours time by just writing to the file once a second as opposed to once a every 5 minutes (300-seconds). Again, there was only a few MB of space on the SD card but it was giving an I/O error exception.
Has anyone else run into this problem or solved it? I am unsure if there is a command I can do in .NET MF to tell it to clean up a Fat File System (or Fat32) and actually erase blocks that should be because nothing of importance is written to them.
Thanks for any help that you can provide.