Good morning from Spain,
I would like to know wheter if there is any library / API for SDIO device on Zynq. We are developing a Bare Metal Software which has to log some data on SD card, through SDIO interface.
Thank you in advance,
Gerardo
Good morning from Spain,
I would like to know wheter if there is any library / API for SDIO device on Zynq. We are developing a Bare Metal Software which has to log some data on SD card, through SDIO interface.
Thank you in advance,
Gerardo
i want to access my sd card for read write operation.as i am new please suggest me how to interface.
thanks in advance
Hi Barada,
Firstly, you should read some related documentation. There are two subjects that you have to have in mind:
- You have to manage sectors and clusters within the SD card (for example, what clusters and sectors you have to read in the SD card to access the foo.txt file). For this, you have to choose a file system. We are using FAT32. This link from PJRC could be helpful http://www.pjrc.com/tech/8051/ide/fat32.html
- You also have to communicate with the sdio interface. To do so, you have to read and write from different registers. You should take a look at chapter 13 and B.27 in the technical reference manual.
You can use the FSBL code as reference to start with http://www.wiki.xilinx.com/Build+FSBL
I hope is not too late, as you posted this one month ago... I can help you if you have further questions. I could use your help if you achive something (We have now a problem of slow transfer speed between DMA and SDIO), so tell me if you figure your problem out.