"Robert A. LaBudde" wrote: > > At 04:14 AM 5/28/00 -0400, you wrote: > >anyone have any code dealing with implementing a file system on either > >FLASH memory or any other type of memory.. I'd like to get a 1 MB flash > >chip and put a small filesystem on it but rather than try to design the > >thing myself I'd like to sample what's out there.. I haven't turned up > >much. I plan on using the Atmel SPI Flash memory chips and figure that > >with a 16 bit pointer I could have access to 4 MB I want to make a tiny > >file server :) > > Because of the finite lifetime of eeprom, you might consider one of the > systems used for CD-ROM or CD-RW. > > Or, a simple method is the use a linked list directory. When a file gets > replaced more than N times, mark the entry as deleted and replace it with a > new entry the first one is linked to. This results in slower directory > accesses, but predictable write cycling of memory. > > Of course, if your data will be write-once and only appended to, you could > use one of the classic simple file systems, such as the CP/M-DOS FAT16 > method (well-documented in the IBM Technical Reference Manual for the PC, > or in Dr. Dobbs). > > ================================================================ > Robert A. LaBudde, PhD, PAS, Dpl. ACAFS e-mail: ral@lcfltd.com > Least Cost Formulations, Ltd. URL: http://lcfltd.com/ > 824 Timberlake Drive Tel: 757-467-0954 > Virginia Beach, VA 23464-3239 Fax: 757-467-2947 > > "Vere scire est per causas scire" > ================================================================ I was thinking of a fat16 type of system I'll work of my hand scribbled notes into an HTML document if anyone would be willing to look at it and HOPEFULLY give me suggestions or ideas.. the main purpose of the file system would be to have multiple files that are mainly read. there should be very little writing.. I'm thinking about this as being used in a web server type application. maybe I should write it out in HTML anyway just to MAKE myself be more specific :) Damon Hopkins