2018-05-12 04:47 AM
Posted on May 12, 2018 at 13:47
Hello there,
I am writing in regard to those 2 topics:
https://community.st.com/thread/49792-sm32l4-interface-with-an-emmc
I am using an STM32L452 chip and trying to fully utilize the SanDisk 8GB eMMC memory (
SDINBDG4-8G
). I have found out that the is no eMMC HAL written for the L4 family. Because of that, I tried STM32F412, as it uses SDIO not SDMMC peripheral (the same thing but other name?), and it has HAL written. I have found out however, that as pointed out here
it doesnt work. There are no examples of eMMC usage in STM32Cube_FW_F4_V1.0. From the code it also seems that it only supports memories up to 2 GB. Trying to use the code I was unable to write anything to the momory, like the mentioned topic, even though over a year passed since it was posted.
At the moment I have a serious design dilemma. I cannot afford the time to write the driver from scratch or try to fix the existing one. Could I please ask for an explanation what is the state of the eMMC driver for each STM32F4 and STM32L4 devices, do they indeed not work? Is there a way to make them work? Also, what is the real difference between SDIO which F4 utilize and SDMMC peripherals which L4 utilize? I would appreciate all help.
https://community.st.com/people/DAHMEN.IMEN
?
Note: this post was migrated and contained many threaded conversations, some content may be missing.
2022-07-26 04:03 AM
Hi,
The project was proof of concept 4 years back and now i seem to have lost the project still i'll look into my archive if i find it i'll share here
2023-07-12 01:28 AM
Can you give me a quote for a demo of emmc working on a STM32F401RET6 please?
2023-07-12 03:31 AM
Hi Clive, I can't get you on Private Message, I am looking for a Demo of eMMC memory on a STM32F401RET6 (or closest family member)
2024-12-02 09:17 AM
Hi, can you repost the attachment or send a link to the project? Thanks!
2024-12-02 09:45 AM
So pushing six years down the pike here. HAL keeps moving, F4 gets older, like a decade plus, and not top-of-mind at ST
The F4 has the SDIO, it's viable for eMMC, would go 52 MHz if not hog-tied to USB/CRYPT. Most likely 75 MHz to SDIO, 37.5 MHz on the wire, if BYPASS errata in effect.
The F7/H7 has the SDMMC, and library variants for SD and MMC, as the interaction with the cards vs chips is subtly different and ST hasn't merged them as much as they could.
Back in the day I modified the F4 SDIO to do the command sequences and EXTCSD reading to determine modes/capacity. I'm more in the SPL/HAL camp than the code-generation CUBE camp.
The H745I-DISCO / H750B-DK have on-board eMMC and workable code base/examples, as ST's forced to make those at least "functional"
I'm also in the FATFS camp, but more newer/current than the middle-ware ST was pushing, even 6 years ago, I'd not use the 2017 FATFS code..
Done 64/128GB eMMC, and 400GB+ MicroSD