Hello
I'm trying to interface my atmega328 to an SD card and after reading many articles and tutorials I still have absolutely NO clue where to begin..
Someone suggested using fatFs which will make writing/reading to the sd card 'extraordinarily simple " but it seems to me that every tutorial on the fatFs or SD card interfacing in general assumes that the reader is a computer wizard or has years of experience with embedded systems.
Can someone tell me where to start? I'm starting to get desperate here. I've spent more than 20 hours in total trying to interface an SD card to my avr with absolutely ZERO success.
------------
I'm currently looking at this website which explains how to use petite Fatfs.
I downloaded the " Petit FatFs R0.02a" module at the bottom of the page which contains a bunch of functions and from what I understood I'm going to have to write my own SPI routines.
I know how to use SPI but I have absolutely no clue as to how to interface it to this module/sd card.
Could someone help me out please?
I'm trying to interface my atmega328 to an SD card and after reading many articles and tutorials I still have absolutely NO clue where to begin..
Someone suggested using fatFs which will make writing/reading to the sd card 'extraordinarily simple " but it seems to me that every tutorial on the fatFs or SD card interfacing in general assumes that the reader is a computer wizard or has years of experience with embedded systems.
Can someone tell me where to start? I'm starting to get desperate here. I've spent more than 20 hours in total trying to interface an SD card to my avr with absolutely ZERO success.
------------
I'm currently looking at this website which explains how to use petite Fatfs.
I downloaded the " Petit FatFs R0.02a" module at the bottom of the page which contains a bunch of functions and from what I understood I'm going to have to write my own SPI routines.
I know how to use SPI but I have absolutely no clue as to how to interface it to this module/sd card.
Could someone help me out please?