Is it possible to link SD card and USB flash drive simultaneously?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-07-11 11:11 PM
Hello friends,
I am currently testing transfer content from USB to SD card using a STM32469I Discovery board. However I have been unable to link both SD card and USB so the transfer go faster without the process of link-unlink using FATFS_LinkDriver / FATFS_UnLinkDriver functions. My question is: Is this how it is done? or I am doing something wrong?
The problem is currently I cannot write to neither SD card nor USB if both drivers are linked. It only works fine when only one drive is linked, and apparently the first one linked is the one that is recognized
- Labels:
-
STM32F4 Series
-
USB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-07-11 11:38 PM
Hello @migmel​ ,
This thread might help you: STM32CubeMX Multi-Drive Support with FatFS
Best regards,
@SBEN .2​
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-07-12 12:45 AM
Thank you, information is good, but it did not help me to solve the problem.
It's unclear how the system assign the drive number and files that should go to SD card are written to the USB and vice versa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-07-12 1:38 AM
Hello @migmel​ ,
You can take inspiration from the following project (which can be found in the firmware zip package) : https://github.com/STMicroelectronics/STM32CubeF4/tree/master/Projects/STM324x9I_EVAL/Applications/FatFs/FatFs_MultiDrives
Best regards,
@SBEN .2​
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-07-12 2:02 AM
Thank you.
I will follow this example
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-07-12 10:02 AM
You're welcome :)
