Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 8 months ago.
STM32f7 discovery SD Card
Hi
I'm working on a STM32f7 cardboard and I use the library from the example programme of the mbed compiler. I'm trying to use the stm32746g_discovery_sd.h with my sd card. I managed to make this code to verify is the SD card is present at the start on of the cardboard (sorry it's in French, I'm French):
void Detection_Carte_SD(void)//Detection presence carte SD
{
    CARTE_SD = BSP_SD_IsDetected();
    if(CARTE_SD == 1) {
        Etat_Init((char *)"SD PRESENT");
    } else {
        Etat_Init((char *)"SD ABSENT");
    }
}
But now I don't know how I read picture on my SD card. to I need to put it on FAT format?
I tried to use the "SDFileSystm_HelloWorld" library but didn't work like this guy :
https://developer.mbed.org/questions/68046/How-to-make-a-text-file-on-sd-card/
And I'm not sure we have the same pin association.
So can you explain me how we do taht? thanks
NI3
