cancel
Showing results for 
Search instead for 
Did you mean: 

STM32f205 + eMMC

aoleon
Associate II
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
1 REPLY 1
swieladek
Associate
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?