cancel
Showing results for 
Search instead for 
Did you mean: 

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

Manikandaprabhu
Associate II

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.

1 REPLY 1
mƎALLEm
ST Employee

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

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.