Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] MMC DOS FAT16 filesystem source available

2005-11-24 by Tom Walsh

Version 1.5 is now available.  This corrects a bug where creating a new 
file (open for write on a new file) would trash an existing one.  My fault.

I've eliminated the problem of sector thrashing when deleting files, 
rdcf2 would toggle between first & second FAT copy while deleting each 
element of the existing FAT chain.  This change has decreased the file 
write times by 100%.

The next version will need to have an IOCTL added to flush the internal 
directory state to the drive.  Currrently, if the file is not closed and 
the card removed from the socket, the filesize would be 0 bytes.  It 
appears that no data is lost, but the directory is incorrect as to the 
filesize.


TomW


-- 
Tom Walsh - WN3L - Embedded Systems Consultant
http://openhardware.net, http://cyberiansoftware.com
"Windows? No thanks, I have work to do..."
----------------------------------------------------

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.