Hi.
How can I use FATFS and USB_MSC host with SDIO for STM32F407?
Thanks in advance for your reply!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-10-04 4:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-10-04 5: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.​
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-10-04 5: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.​
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-10-04 5: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-10-04 5: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-10-04 5:32 AM
It returns the following error when trying to connect over CubeIDE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-10-04 5:33 AM
If you continue with "Yes", neither USB nor SD CARD works
