2GB SD card interfacing to ATMEGA16 using FAT

Hello Sir,

I have interfaced SD card to my ATmega16 controller & i am able to read & write in its sector. I am using following code http://www.captain.at/electronic-atmega-mmc.php

I am using same interface as in above link but 9 & 8 line pulled up to 3.3V.

But when i tries to go for FAT to read text file, my card is not initialising & not responding properly, i used many code lib in net but nothing worked.

Can any one on this forum can share there working code.

It will be very helpful to me.

kind regards,


Please reply, i am looking for c library .