2018-05-17 01:04 AM
Dear All
We are facing some issues on eMMC integration with STM32F765 micro controller , In STM32CUBE we generated SDIO interface source code , eMMC manufacture is says this source code was SDcard interface. How we can generate emmc source code fromSTM32CUBE , or we can get any library on EMMC ? Pls suggest me how to resolve this issues.
#sdio+dma+fatfs #sdio+emmc-example #stm32-sdio-sdio_clk-clock-48mhz #stm32f765 Note: this post was migrated and contained many threaded conversations, some content may be missing.2018-05-22 03:03 PM
Hello Clive,
Can you post some source code ? an example of using an emmc with HAL.
Thanks !
François
2018-05-22 03:40 PM
Code is currently only being shared with project contributors and sponsors.
I'm looking for some 64GB and 128GB ODROID cards, custom boards with eMMC would also be of interest.
https://www.amazon.com/hz/wishlist/ls/965BMVYDCTDA?&sort=default
2018-05-23 03:34 AM
Hi Clive One
eMMC is working in my board? , Pls confirm and send me read write separate files .
Waiting on your comments
2018-06-11 04:19 AM
Matteo,
I'll attach a .HEX file for my current demo for the STM32L496G-DISCO, it outputs to the VCP at 115200 8N1, use the ST-LINK Utilities to update the firmware, and then a terminal application of choice to connect to the COM port created by the board's ST-LINK.
This will dump some sectors, read a directory, write and read some test files. Tests access layer with multiple block sizes to ensure data coherency.
I'm using Keil, and using the HAL CubeL4 example trees as a basis for placing the project
E:\CT\STM32Cube\Repository\STM32Cube_FW_L4_V1.0\Projects\32L496GDISCOVERY\Applications\FatFs\MMC-001ST has just release the V1.0 version, I'll probably port over to that.
http://www.st.com/en/embedded-software/stm32cubel4.html
I have localized versions of these files addressing the MMC specific patches and debugging output, and have a USE_EMMC define to selectively build for SD or MMC use cases.
stm32l4xx_hal_sd_localized.c
stm32l496g_discovery_sd_localized.c stm32l4xx_ll_sdmmc_localized.c ________________ Attachments : STM32L496G_DISCO_MMC_001_08JUN2018.hex.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HxWz&d=%2Fa%2F0X0000000azQ%2FYcW75RM3b11q2UJVqf9huLbXuZqf5i7A1pwHrPBDkE8&asPdf=false2018-06-27 02:46 PM
New build for today
________________ Attachments : STM32L496G_DISCO_MMC_002_27JUN2018.hex.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HxT7&d=%2Fa%2F0X0000000ayS%2FMkzQ.1X.HpHfpNraLR6UlU2OUfsLEQMX.haAnj_9jzI&asPdf=false