David Worden wrote: > I'm currently working on a project that requires me to format an SD card as > FAT32 with a partition table at sector 0 using a PIC18F87J10 and the C18 > compiler. I am able to read and write files just fine, but I am stuck at > the format part. I can get the card size from the CSD register on the SD > card, but I am stuck on how to proceed from there. I have looked at > "Microsoft Extensible Firmware Initiative FAT32 File System Specification" > but it is not very straight forward on > how to actually format as FAT32. Any suggestions? > > David Here's a site that probably has what you need: http://www.ridgecrop.demon.co.uk/index.htm?fat32format.htm The author has a download of the executable and source also for a FAT32 formatting program. He wrote it to allow creation of large FAT32 drives. Windows can read drives formatted to greater than 32gigs but was designed not to create them. His program allows you to do this. The source is written in C and is only around 20K. It appears to be fairly well commented too. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist