AnsweredAssumed Answered

STM32f205 + eMMC

Question asked by oleon.alexandre on Apr 19, 2013
Latest reply on Sep 20, 2016 by wieladek.slawomir
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

Outcomes