Skip to main content
aoleon
Associate II
April 19, 2013
Question

STM32f205 + eMMC

  • April 19, 2013
  • 1 reply
  • 650 views
Posted on April 19, 2013 at 17:20

Hello,

I try to interface a STM32f205 to a Toshiba eMMC via 8bit SDIO and DMA.

In order to read and write can you please tell me if I am missing something:

Read Single block

  • Send CMD16 Block length (I receive the correct response)

  • Setup SDIO

  • Send CMD17 Read single block (I receive the correct response)

  • Setup SDIO interrupts

  • Start the DMA

  • Setup DMA

     

Write Single block

  • Send CMD16 Block length (I receive the correct response)

  • Setup SDIO

  • Send CMD24 Write single block (I receive the correct response)

  • Setup SDIO interrupts

  • Setup DMA

  • Start the DMA

First I call the function to write and I end up in the SDIO interrupt with the DCRCFAIL flag set. I can't find where the problem comes from. All the initialisation of the memory works. Any ideas?

Does anyone have come across an eMMC and willing to share the low level functions?

Thanks,

Alex
    This topic has been closed for replies.

    1 reply

    swieladek
    Visitor II
    September 20, 2016
    Posted on September 20, 2016 at 14:04

    Hi,

    I try the same on stm32f207, but I just did a start. ST demo code supports only SD card interface. Could You share initialization code for eMMC please?