Skip to main content
Explorer
May 5, 2025
Solved

STM32H745XIH6 MCU Disco Board - EMMC Module Not Working With FATFS File System

  • May 5, 2025
  • 1 reply
  • 438 views

Hello,

I am Manikandaprabhu, we are working with the STM32H745XIH6 MCU Disco Board and interfacing it with an eMMC module.The eMMC communication is working correctly on its own.

Manikandaprabhu_0-1746445652308.png

However, we are trying to integrate it with the FatFs filesystem for accessing based on file name,but it's not working.We are facing mounting error, when working with the FATFS file system. Can anyone provide the correct configuration steps and a sample code to initialize and use FatFs with eMMC on STM32H745?

Manikandaprabhu_1-1746445708370.png

Next we need to work with  MMC 8 bit Wide Bus mode for fast communication but its only work with MMC 4 bit Wide Bus mode. How to work with 8 bit Wide Bus mode?

Which method based to select SDMMC clock divde factor ?

These are all my doubts. Kindly find and help me to resolve our queries regarding STM32H745XIH6 MCU Disco Board. 

Thanking you.

    This topic has been closed for replies.
    Best answer by mƎALLEm

    Hello,

    Did you try to refer to the example provided in the STM32CubeH7 especially for this board and inspired from it?:

    https://github.com/STMicroelectronics/STM32CubeH7/blob/master/Projects/STM32H745I-DISCO/Applications/FatFs/FatFs_Shared_Device

    1 reply

    mƎALLEmAnswer
    Technical Moderator
    May 5, 2025

    Hello,

    Did you try to refer to the example provided in the STM32CubeH7 especially for this board and inspired from it?:

    https://github.com/STMicroelectronics/STM32CubeH7/blob/master/Projects/STM32H745I-DISCO/Applications/FatFs/FatFs_Shared_Device