2025-09-29 9:23 AM - last edited on 2025-09-30 12:54 AM by Imen.D
STM32H7 + SDIO + FATFS(use DMA template Disable) => works fine. I can read data from SD card without issue.
STM32H7 + SDIO + FATFS(use DMA template Enable) => mount will fail
The only difference is "use DMA template". Once this option is turned on, fatfs mount will fail...
Solved! Go to Solution.
2025-10-01 11:39 AM
Hello @snkparty1 ,
The DMA controller to be used should be properly configured, and it shows that the MDMA in your ioc is not configured.
You can refer to this AN5200: Getting started with the STM32H7 MCU SDMMC host controller for more details about using SDMMC with DMA and how to configure the MDMA.
2025-09-29 10:17 AM
Hello @snkparty1 ,
Which CubeMX and Cube firmware version used?
If the problem occurred with latest releases, please share you ioc file, this will help our team to reproduce and investigate this issue.
2025-09-29 9:01 PM
2025-10-01 11:39 AM
Hello @snkparty1 ,
The DMA controller to be used should be properly configured, and it shows that the MDMA in your ioc is not configured.
You can refer to this AN5200: Getting started with the STM32H7 MCU SDMMC host controller for more details about using SDMMC with DMA and how to configure the MDMA.
2025-10-04 8:58 PM
Thank you, I will check this document