eMMC not working with STM32F4
Posted: Fri Dec 20, 2013 10:38 am
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
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