Hello all,
I am trying to interface an STM32F4 with the eMMC N2M400FDB311A3C from Micron, with no success.
The protocol I am trying to use is best described in the document JESD84-A441 from JEDEC.
This is what I do:
send CMD0 short nocrc with no arguments and waiting for no answer;
send CMD1 short nocrc with argument 0x40ff8000, and I get the answer: 0x00ff8080
send CMD2 long crc with no argument, and I get CTIMEOUT in most of cases, and sometimes I get CTIMEOUT+CMDACT.
I am in serious trouble with this device: I am trying to fix it since weeks, but with no success.
Maybe I have to increase the timeout, but I see that DTIMEOUT register is already at maximum value (0xffffffff).
Please provide everything, even strange/paranormal suggestions, because I did ask Micron support and I am not confident they will contact me soon.
Thank you in advance for your time and consideration.
-g
eMMC not working with STM32F4
Moderators: RoccoMarco, barthess
Re: eMMC not working with STM32F4
Ok boys, finally I did it!
Thank you all very much.
Merry Christmas to everybody!
-g
Thank you all very much.
Merry Christmas to everybody!
-g
Re: eMMC not working with STM32F4
Hi,
Can you tell me how you solved this problem ?
I have the same problem working with the same eMMC.
Thanks you.
Sorry for my bad English.
Flandroid
Can you tell me how you solved this problem ?
I have the same problem working with the same eMMC.
Thanks you.
Sorry for my bad English.
Flandroid
-
- Posts: 1
- Joined: Tue Sep 04, 2018 11:21 am
- DeusExMachina
- Posts: 223
- Joined: Tue Apr 03, 2012 5:08 am
- Location: South Korea
- Has thanked: 3 times
- Been thanked: 3 times
Re: eMMC not working with STM32F4
eMMC works fine with F4 (tested with 16.1.6)
Don't forget to add scratchpad buffer in SDCConfig structure
Don't forget to add scratchpad buffer in SDCConfig structure
Who is online
Users browsing this forum: No registered users and 37 guests