2021-05-27 05:51 AM
Hi all,
This is my first project trying to configure an EMMC memory with my stm32H743XIH MCU, and unfortunatly i didnt find any exemples of projects so i can understand how this works !
I'm facing two problems on my first try project :
1) Create project on cubeMX
2) I found no exemple of code to read/write from an emmc memory, all projects i found are with SD Cards.
I will appreciate any help from you guys :)
Thank you.
Solved! Go to Solution.
2021-05-27 06:54 AM
STM32Cube_FW_H7_V1.8.0\Projects\STM32H745I-DISCO\Applications\FatFs\FatFs_Shared_Device\Common\Src\mmc_diskio.c
2021-05-27 06:25 AM
Sorry not using the Cube stuff here, but there should be example code for the H745I-DISCO that will port.
2021-05-27 06:30 AM
Thank you for your answer !
Can you point me to a good project exemple for filesystem/eMMC please ?
2021-05-27 06:37 AM
is there any other way to work use file system with the eMMC without using cube ?
2021-05-27 06:51 AM
Not sure I understand the question, the HAL contains support for MMC, the FatFs middleware is usable everywhere, just need to tailor the DISKIO layer to the medium/driver. ST's made most of the interfaces in an orthogonal way, so most times you can do a search/replace for most of the API, and then do a bit of cleanup.
Materially very similar to the SD Card implementations. Depend how confortable you are with porting existing things as templates, or merging in the individual components.
2021-05-27 06:54 AM
STM32Cube_FW_H7_V1.8.0\Projects\STM32H745I-DISCO\Applications\FatFs\FatFs_Shared_Device\Common\Src\mmc_diskio.c
2021-05-27 07:15 AM
Thank you very much I will work on this exemple code.
2021-05-27 07:15 AM
I understand better now thank you for the explaining !
2023-07-12 03:29 AM
I can't get you on Private Message, I am looking for a Demo of eMMC memory on a STM32F401RET6 (or closest family member)