> 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? you could try reading the source of mkdosfs? -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist