I wrote couple of FAT drivers for "normal" PCs even OLE2 file format which is a kind of FAT file system, and just can't imagine how could you write one in such a small device :-) Did you implement a complete VFAT driver that reads Win9x style long file names? What do you do if anything is wrong with the FAT, like there is no end of chain or two or more files "shares" the same clusters? Do you care if a cluster is not referenced? What do you do if a directory is "recursive" so that there is a subdir that refers to itself? Sorry for the off-topic, anyway. Cheers, Tamas On 16/07/06, Harold Hallikainen wrote: > > I just finished some C18 code that talks to MMC/SD cards. I'm reading and > writing text files using FAT16. It can also format cards from 128M to 1G. > I use an SPI interface to the card. I'm running the PIC at 5V and using a > Maxim level translator to get to the 3 or 3.3V (I'm at home and don't > remember the exact voltage). The MMC/SD is pretty easy to talk to. Digging > thru the details of FAT16 was fun. If needed, I may be able to send you > some code. > > Harold > > > > I am developing a PIC based project that will play MP3 sound effects and > > music. > > I have decided to use the STA013 MP3 decoder. > > To simplify development, I want to store all of my MP3 files on an SD > > card or CF card. > > This would allow me to simply add and remove files with a PC and Card > > reader. > > When the card is plugged into my PIC circuit, the PIC will need to > read > > data from FAT encoded data files out of the SD or CF card. I would > > prefer to use the SD card since they are smaller and lighter (important > > in my application). I am not sure if its tougher to interface a CF vs. > > SD card to a PIC18 series. I found the pinouts for the SD card, however > > its not 100% clear how to interface to a PIC (additional interface > > circuity, pull up resistors, etc.). Another help would be to find some > > PIC drivers to read data from FAT files on these cards. Any direction > > would be helpfull. > > Thanks > > > > > > > > > > --------------------------------- > > Yahoo! Music Unlimited - Access over 1 million songs.Try it free. > > -- > > http://www.piclist.com PIC/SX FAQ & list archive > > View/change your membership options at > > http://mailman.mit.edu/mailman/listinfo/piclist > > > > > -- > FCC Rules Updated Daily at http://www.hallikainen.com - Advertising > opportunities available! > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist