--- In lpc2000@yahoogroups.com, Tom Walsh <tom@o...> wrote: > > rtstofer wrote: > > >--- In lpc2000@yahoogroups.com, "Martin Maurer" <mailingliste@c...> > >wrote: > > > > > >>Try > >> > >>http://alumnus.caltech.edu/~pje/rdcf2.txt > >> > >>It works ! > >> > >>Regards, > >> > >> Martin > >> > >> > > > >It looks like rdcf2 is quite complete and includes a test suite. It > >supports FAT12 and FAT16 and the documentation is very good. > > > >It can also be built under DOS with TurboC so I can play with it on > >my DOS box before I port it to the LPC2106. > > > >Moving back to FAT16 versus getting nowhere with FAT32 seems like a > >good tradeoff. > > > > > > > The alloc() and free() function calls have to be written out. Otherwise > we are in danger of fragmenting the RAM on the LPC2000 processors. > > TomW Yes but many implemtations allocate storage for a predefined maximum number of open files. Not a big deal, these are microcontrollers, not workstations. I need to correct myself re: RDCF2. I compiled it and it executes well when installed on a floppy and interacting with a floppy. It does not work from my hard drive whether interacting with the HD where it fails completely or the floppy where it gets just about everything wrong. I traced the hard drive failure to the first call to absread where the code is trying to read absolute sector 0. I have to think about this but I think it is incorrect. In any event, the call fails. Another limitation to RDCF2 is a 32 MB limit so the code is for a very early version of FAT. From the very first paragraph of the doc file: "RDCF is a reentrant and ROMable DOS-compatible file system designed for use with floppy diskettes and hard disk partitions that do not exceed 32 Mbytes in size." Anyway, scrap that version; it doesn't really work. Too bad the $139 FLASH File doesn't include CF support - it is a $49 optional upgrade! Bummer... Richard
Message
Re: Cheap SD Flash File System
2005-11-12 by rtstofer
Attachments
- No local attachments were found for this message.