Dear all,
I am using a AM335xx with a linux-debian on it. I would like to use SPI1 to save data on SD card.
Right now, what I can do is to use spidev1.0 (and spidev1.1) to talk with my SD card via ioctl.
It means that I can write on the SD card by using the procedure based on CMD0,CMD8 etc..etc (which is the standard procedure in case you want to write row data on a SD card). I would like to know if there is a driver which allows me to use some functions (such as open_file(filename),close_file(filename), write_data,read_data) in such a way I have not to set all CMD command from scratch. Is there a driver which allows me to see the SD card connected to SPI1 as an external memory which I can mount as spi-device?
Thanks for your help.
Alberto