2022-10-04 04:50 AM
2022-10-04 05:20 AM
Host?
Or is the question one of using the SDIO concurrently with FATFS and MSC Device?
Being concurrent would be harder. Can one connectivity be Read Only?
Otherwise you might have to tell the PC it's not ready or the media changed. Plus the PC might be caching or deferring writes.
2022-10-04 05:24 AM
FATFS can handle multiple volumes, one on SDIO, the other from USB Hosted MSC, the DISKIO layer takes an index as to which drive/logical unit it is working with.
2022-10-04 05:25 AM
Yes, you noted it right: "Or is the question one of using the SDIO concurrently with FATFS and MSC Device?"
I wanted write data with fatfs into the SD card, and read on the USB_OTG as Mass Storage with usb.
2022-10-04 05:25 AM
Yes, you noted it right: "Or is the question one of using the SDIO concurrently with FATFS and MSC Device?"
I wanted write data with fatfs into the SD card, and read on the USB_OTG as Mass Storage with usb.
2022-10-04 05:32 AM
It returns the following error when trying to connect over CubeIDE
2022-10-04 05:33 AM
If you continue with "Yes", neither USB nor SD CARD works