Page 1 of 8

SDIO port to STM32F4x

Posted: Thu Jan 05, 2012 1:08 pm
by barthess
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.

Re: SDIO port to STM32F4x

Posted: Thu Jan 05, 2012 1:25 pm
by Giovanni
It is planned but I don't have hardware to test it, could you help with this?

Giovanni

Re: SDIO port to STM32F4x

Posted: Thu Jan 05, 2012 1:33 pm
by barthess
I have microsd socket on my board and can help with coding and testing.

Re: SDIO port to STM32F4x

Posted: Thu Jan 05, 2012 2:23 pm
by Giovanni
Ok, go ahead (I saw you already branched anyway :-)).

After I2C and this one it is 2.4.0 time.

Giovanni

Re: SDIO port to STM32F4x

Posted: Thu Jan 05, 2012 7:00 pm
by Jacon

Re: SDIO port to STM32F4x

Posted: Tue Jan 10, 2012 2:59 pm
by barthess
@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.

Re: SDIO port to STM32F4x

Posted: Tue Jan 10, 2012 3:10 pm
by Giovanni
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

Re: SDIO port to STM32F4x

Posted: Thu Jan 12, 2012 9:27 am
by barthess
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.

Re: SDIO port to STM32F4x

Posted: Thu Jan 12, 2012 9:39 am
by Giovanni
Yes, it is complex, testing is critical too, probably that test application is not sufficient as is.

Giovanni

Re: SDIO port to STM32F4x

Posted: Thu Jan 19, 2012 12:25 pm
by barthess
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