2023-06-20 09:38 AM
Hello everyone, I am currently trying to test an sd card by writing and reading data from it. I have uploaded a copy of my main.c which contains my test function and some configuration. I've also uploaded the bsp drivers for the sd card. As of right now whenever I call f_mount it returns FR_NOT_READY despite me calling BSP_SD_INIT and FATFS_LinkDriver prior to this. If you have any questions or need more information please do not hesitate to ask.
2023-06-20 11:32 AM - edited 2023-06-20 11:32 AM
so i think, you have no access to sdcard. to check, you should make a new project in CubeIDE, no rtos, just debug and sdio pins with fatfs (no dma!, 1-bit mode).
generate, make simple main : mount, open_dir, read_dir() =no error -> fine, no go on with your complex project.