STM32F4XX and embedded MMC
Posted: Mon Dec 02, 2013 8:03 pm
Dear all,
these days I am trying to read an embedded MMC device, using the SDIO interface.
After getting to BLK_ACTIVE state, I try to sdcConnect(), and the result is CH_FAILED.
Precisely, the place where fail happens is file sdc.c:
00236 #if SDC_MMC_SUPPORT
00237 if ((sdcp->cardmode & SDC_MODE_CARDTYPE_MASK) == SDC_MODE_CARDTYPE_MMC) {
00238 /* TODO: MMC initialization.*/
00239 goto failed;
00240 }
00241 else
00242 #endif /* SDC_MMC_SUPPORT */
So, is it possible my embedded MMC card is not supported?
It's a common eMMC from Micron.
Regards.
-g
these days I am trying to read an embedded MMC device, using the SDIO interface.
After getting to BLK_ACTIVE state, I try to sdcConnect(), and the result is CH_FAILED.
Precisely, the place where fail happens is file sdc.c:
00236 #if SDC_MMC_SUPPORT
00237 if ((sdcp->cardmode & SDC_MODE_CARDTYPE_MASK) == SDC_MODE_CARDTYPE_MMC) {
00238 /* TODO: MMC initialization.*/
00239 goto failed;
00240 }
00241 else
00242 #endif /* SDC_MMC_SUPPORT */
So, is it possible my embedded MMC card is not supported?
It's a common eMMC from Micron.
Regards.
-g