MMC (eMMC) support
-
- Posts: 36
- Joined: Tue Jan 13, 2015 6:33 am
- Has thanked: 8 times
Re: MMC (eMMC) support
Unfortunately your patch did not fix my problem. I misspoke before, I am in fact using a 8Mhz crystal. I did double check my clock settings and my APB2 was running at 84Mhz (according to STM's clock config tool). I believe SDIO requires < 60Mhz so I divided it down to 42Mhz but I'm still seeing the same issue. Again, I'll check as soon as I can with a scope to verify things.
Re: MMC (eMMC) support
I recently transferred my project to Chibios_2.6.9 ChibiOS_16.1.3 and got some problems with the SDIO interface. In the new version hal layer does not work define SDC_MMC_SUPPORT and my card, which version 1, be a MMC card. I made some corrections in their source code to get it working , but I do not know whether this is true. In function mode_detect I change
to
After this all work fine.
Code: Select all
if (sdc_lld_send_cmd_short_crc(sdcp, MMCSD_CMD_APP_CMD, 0, resp) || MMCSD_R1_ERROR(resp[0])){...}
to
Code: Select all
if (sdc_lld_send_cmd_short_crc(sdcp, MMCSD_CMD_APP_CMD, 0, resp){...}
After this all work fine.
- Giovanni
- Site Admin
- Posts: 14455
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: MMC (eMMC) support
I will look into this, I am not sure if the change can break some other card type.
Please do not cross-post.
Giovanni
Please do not cross-post.
Giovanni
Re: MMC (eMMC) support
Where did this code go? halconf.h says "MMC support is not yet implemented" but I see that barthess spent a fair amount of time working on this.
Who is online
Users browsing this forum: No registered users and 5 guests