On Sun, Jan 25, 2004 at 01:08:26AM +0100, Chris Liechti wrote: > Georg Ritter wrote: > > Hello, > > > > I'm aware of the wearing problem of FAT and I don't think it's very > > suitable format at all nor for data logging - that is what I want to do. > > not sure if my other mail reached the list. my email client claims it > sent it but i dont have received from the mailinglist.
Had the same problem. Now with this mail getting throught it seems that the server is back from it's weekend holiday trip or mars party :-). I guess the other mails will appear here within the next 4 hours. > idea: prepare the card with a big, empty file. the file format for the > logger must have at least one bit nonzero in each record/chunk so that > you can later find out how much data was realy written, but that should > be easy. > that way, you can continuosly write the data to the preallocated blocks, > you don't need to write the FAT table or directory entries. This was my idea too. However you can create your own "filesystem" (e.g. a count at the first sector) to let your application know how many data you have written. And as I wrote in the other posting - MMC is fault tolerant. It does wear leveling - it repairs damaged bits or replace damaged sectors transparently in the background. M.