Skip to main content
cniclaes
Associate
Feb 18, 2021 4:43 PM UTC
Solved

STM32CubeMX eMMC FatFS Support

I would like to get an clear answer about how I can support an eMMC Flash with FatFS on an STM32 (F4xx, F7xx, H7xx).

It seems that STM32CubeMX doesn't want to generate a driver when the SDMMC controller is configured in MMC mode.

Maybe there is another way outside of STM32Cube? Does ST provide necessary driver code to do that?

This topic has been closed for replies.
Tesla DeLorean
Tesla DeLoreanBest answer
Guru
Feb 18, 2021 5:19 PM UTC

STM32Cube_FW_H7_V1.8.0\Projects\STM32H745I-DISCO\Applications\FatFs\

On the commercial side I have my own demos for the F4, L4, F7, H7 platforms.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..

5 replies

Tesla DeLorean
Guru
Feb 18, 2021 4:55 PM UTC

ST has assorted example and HAL code that can arguably be used and ported to those platforms. It is ultimately the job of the developer to make that work.

eMMC is definitely workable on all those platforms.

I'm not a Cube user, so I'm not limited by its deficiencies.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
cniclaes
cniclaesAuthor
Associate
Feb 18, 2021 5:08 PM UTC

Thanks for your fast answer. Do you have a pointer to such example?

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
Feb 18, 2021 5:19 PM UTC

STM32Cube_FW_H7_V1.8.0\Projects\STM32H745I-DISCO\Applications\FatFs\

On the commercial side I have my own demos for the F4, L4, F7, H7 platforms.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
cniclaes
cniclaesAuthor
Associate
Feb 18, 2021 5:28 PM UTC

Thanks!

I'm going to analyze this code!

PyKe
Associate III
May 27, 2021 1:03 PM UTC

Hi @Tesla DeLorean Do you have a Demo project with STM32H743XIH/FatFS/eMMC (4G-8bits) ?