http://www.basementcode.com/avr/sd_fatfs/fatfs.php more detailes