Skip to main content
fema
Associate III
June 13, 2018
Question

STM32L4 support eMMC

  • June 13, 2018
  • 11 replies
  • 2770 views
Posted on June 13, 2018 at 15:57

How to make my STM32L4 to support eMMC device ? I run the code cube_FW_L4_V1.12.0 on my board then it failed on the cmd55 at SD_PowerON stage.

The eMMC chip is the 'KingSton  eMMC04G-M627 eMMC' 4GB. 

Any idea . Thanks 

    This topic has been closed for replies.

    11 replies

    Tesla DeLorean
    Guru
    June 13, 2018
    Posted on June 13, 2018 at 16:02

    >>How to make my STM32L4 to support eMMC device ?

    I'm accepting reasonable offers for my time/expertise.

    Define the specific model of L4 you are using, and the connectivity of the SDMMC pins, and a USART you are using for debug output/telemetry.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    Tesla DeLorean
    Guru
    July 5, 2018
    Posted on July 05, 2018 at 23:07

    I have these board from

    Przenioslo.Lukasz

    ? working on NUCLEO-L4R5ZI and NUCLEO-L496ZG boards0690X00000604TwQAI.jpg

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

    Hi,

    I'm currently working on the same boards and I was looking forward to make eMMC work with it.

    Do you manage to make it work ?

    fema
    femaAuthor
    Associate III
    June 13, 2018
    Posted on June 13, 2018 at 16:44

    I am using the the STM32L4R5QG chip and connect the eMMC chip to the SDMMC1 same as the STML4-DISCO board.

    The CMD8 return me error 4 the (CommandTimeout) so it goes to define the 'hsd->SdCard.CardVersion = CARD_V1_X '

    And then CMD55 also return error 4 (CommandTimeOut) then it return 'HAL_SD_ERROR_UNSUPPORTED_FEATURE' .

    Tesla DeLorean
    Guru
    June 13, 2018
    Posted on June 13, 2018 at 17:43

    Which DISCO? STM32L4R9I-DISCO?

    Which USART and pins? Support for SWV via PB3?

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