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.
2018-06-18 10:19 AM
The mechanics here have been confirmed across 16, 32 and 128GB eMMC chips from SAMSUNG and via external observation of 4 and 8GB eMMC chips from SanDisk that a number of different forum participants have tested.
The support for eMMC has been ported and tested on F4, L4, F7 and H7 platforms using the ODROID eMMC modules/adapters.
2018-06-25 04:57 AM
No, i did not modify the MMC HAL layer.
2018-12-18 10:40 PM
can u please tell me steps to edit cubemx generated sdio code for supporting emmc iam using 4gb emmc.or can u support with some sample code.
2018-12-18 10:41 PM
did u get it working?can you help me with sample code i am trying to interface emmc with stm32l4
2018-12-18 10:59 PM
2018-12-19 02:48 AM
can you provide me some instruction to modify sdio to work for emmc
2018-12-19 06:52 AM
Yes, have eMMC working on several L4 platforms, and a wide selection of STM32 models and boards. Support for 4 and 8-bit devices. Usually provide as a customized demo for specific board implementations. Please contact privately for a quote.
2019-03-21 02:34 AM
Hi
Is it working in 4 or 8bit mode?
Kind regards
2019-03-21 05:41 AM
Have stuff working in 4 and 8-bit mode on F4, L4, F7 and H7 platforms. Some of the latter have DDR modes.
Most of the platforms are easier to test in 4-bit mode via the SD Card interfaces, the 8-bit systems tend to be on customer boards. Really just a matter of configuring the pins, and selecting 8B wide mode into the SDIO/SDMMC peripheral library.
2022-07-26 03:06 AM
Hi,
Please share the attachements again as I am working on the same thing
Thanks