Giovanni,
are there any plans of porting this feature? I have take a short look on MCUs' documentation. Seems like SDIO very similar (or identical) on F1x and F4x. So code need just DMA related parts rework. I can try to do that job after the finalizing of I2C.
SDIO port to STM32F4x
- Giovanni
- Site Admin
- Posts: 14895
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
Re: SDIO port to STM32F4x
It is planned but I don't have hardware to test it, could you help with this?
Giovanni
Giovanni
- Giovanni
- Site Admin
- Posts: 14895
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
Re: SDIO port to STM32F4x
Ok, go ahead (I saw you already branched anyway
).
After I2C and this one it is 2.4.0 time.
Giovanni
After I2C and this one it is 2.4.0 time.
Giovanni
Re: SDIO port to STM32F4x
Start from reading these two Frank's blog posts:
http://blog.frankvh.com/2011/09/04/stm32f2xx-sdio-sd-card-interface/
&
http://blog.frankvh.com/2011/12/30/stm32f2xx-stm32f4xx-sdio-interface-part-2/
would be helpful, perhaps...
http://blog.frankvh.com/2011/09/04/stm32f2xx-sdio-sd-card-interface/
&
http://blog.frankvh.com/2011/12/30/stm32f2xx-stm32f4xx-sdio-interface-part-2/
would be helpful, perhaps...
Re: SDIO port to STM32F4x
@Jacon,
thanks for useful links.
@Giovanni,
how deeply you tested SDIO driver for F1x? I am not sure that driver will be ready in January.
thanks for useful links.
@Giovanni,
how deeply you tested SDIO driver for F1x? I am not sure that driver will be ready in January.
- Giovanni
- Site Admin
- Posts: 14895
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
Re: SDIO port to STM32F4x
The SDIO passed the test application and worked with FatFS (there is a demo for the STM32F107 and FatFS). If it will take too long we will simply skip 2.4.0 and put it in 2.4.1.
There were reports of strange behavior but the person stopped caring, it would be a good idea to test it more deeply anyway.
Giovanni
There were reports of strange behavior but the person stopped caring, it would be a good idea to test it more deeply anyway.
Giovanni
Re: SDIO port to STM32F4x
some news:
Looks like multiple read works. Other functionality not reworked.
@Giovanni,
SDIO is more complex than I2C (I remember how much time we spent to finalize i2c). So I would not to announce SDIO support in 2.4.0.
Looks like multiple read works. Other functionality not reworked.
@Giovanni,
SDIO is more complex than I2C (I remember how much time we spent to finalize i2c). So I would not to announce SDIO support in 2.4.0.
- Giovanni
- Site Admin
- Posts: 14895
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
Re: SDIO port to STM32F4x
Yes, it is complex, testing is critical too, probably that test application is not sufficient as is.
Giovanni
Giovanni
Re: SDIO port to STM32F4x
Can anybody provide me full specs on SD/SDIO cards?
UPD:
Any way, some news. For the first look driver works on read and write, but needs deep testing. SDHC cards not supported because I have no one of it to perform testing. So maximum allowable by driver capacity limited to 2GB at the moment. If anybody wants support of SDHC than he can donate me that card in MicroSD size.
Regards
UPD:
Any way, some news. For the first look driver works on read and write, but needs deep testing. SDHC cards not supported because I have no one of it to perform testing. So maximum allowable by driver capacity limited to 2GB at the moment. If anybody wants support of SDHC than he can donate me that card in MicroSD size.
Regards