Hi Mark,
I am actually working to store the ADC generated results into a file on SD card. I have in my project running ADC and DMA which is fetching the results into a buffer and now i want to store this buffer or pool of buffers onto a file on sdcard.
So it is like i want the filesystem say FATfs on top of SD card driver. what I am having problems in are:
1) How to initialize this SD card driver and how commands are issued for block reading and writting
2)How can I implement Filesystem on SDcard? What does "on top" means in layered programming? does it (on-top) mean I have sd card code and then I call initializing routines of my filesystem in that code with filesystem say FATfs liberaries in it or is it the inverse that I call initializing, reading and writting routines of Sdcard in my filesystem c code
To cope with above two problems i wanted to see a running project where SD Card is initialized using SDHC and filesystem "FATfs" or any other is implemented on SDcard, where writting and reading from file is performed. I would like to first look into such an example and get know-how about the above problems and then i would like to take some routines and modify it as I have time dependencies in my work.
Regards
Abdullah