[STM32F407]How to make the link between the SD in SDIO and the USB OTG in MSC ?
Hi
I have a Clicker2 demo card (it is like a discovery card).
I have a SD in SDIO 4 bits mode with DMA : no problem, work fine. I can read and write to it with the FatFS library.
I want to access this card with the USB port. So I initialize the USB_OTG_FS connectivity in Device Only mode. In the Middleware, I select USB_Device in Mass Storage Class mode.
Until this point all is ok !
Problem, when I connect the USB port to my computer, it always said that the device is not formatted and want to format it (and the description of the disk for the formatting is not correct).
It seems that the USB_OTG don't make the link with the SD.
Why ?
An idea ?
I attach my CubeMX test project.
Note : I see many discussions over this subject and I also see the STM32469I-Discovery MSC_Standalone sample but code is old and the comparison with the new code is very hard.
Thanks,
Lionel
