Hi Axel,
Unfortunately MQX ESDHC driver is older than eMMC specification.
This is also general reason, why eMMC is not correctly recognized.
However since eMMC is connected directly to MCU, you don’t need to care about recognizing card type.
In that case _esdhc_get_card_type() function could be simply replaced by specifying card type:
esdhc_device_ptr->CARD = ESDHC_CARD_MMC;
There could be also some issues in case of timing tolerances (according feedback from some of customers – it depends on particular eMMC type); however this should be solved with appropriate eMMC specification…
Unfortunately isn't true that eMMC is the same as SD card in different package.
Currently I do not know about any activity for implementing eMMC support. Of course, it will be high priority when we will start support any evaluation board with eMMC or when any customer will pay for that…
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MQX_SUPPORT
I hope it helps you.
Have a great day,
RadekS
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------