Greetings all,
I am trying to make STM32F4 (on STM32F4 Discovery board) write a text file on an SD card, but with no success at all. I have tried this example by clive1 (flashing with hex/bin file directly). And also I have tried both, SPI and SDIO examples from this site. In the project from second example I placed "debugging" LED after the line: if (f_mount(&FatFs, "0:", 1) == FR_OK) And it seems the if condition isn't met, because LEDs don't turn on. Program ends in while(1) loop.
I believe my wiring is ok and also I am using new Micro SD card (tried also SD with SPI), but no success. Does anyone have any suggestions, please, how I could resolve the problem?
Thank you and kind regards,
JC