2026-02-10 7:40 PM - last edited on 2026-02-11 3:15 AM by Andrew Neil
Hi ST Community,
I'm facing an issue with FatFs on SDMMC where f_open() or even f_mount() returns FR_DISK_ERR, even though the SD card is initializing correctly at the HAL level.
Here's a summary of the problem and what I’ve verified so far.
2026-02-11 3:00 AM
Hello @samuel_l
Please refer to the example FatFs_uSD_Standalone on STM32CubeH7.
2026-02-11 2:57 PM - edited 2026-02-11 3:00 PM
I expect that the SDCard/eMMC chip is new and does not have a file system on it yet. I.E. it needs to be formatted.