I am using STM32, FATFS, SDMMC, eMMC and have created the FATFS on the eMMC. I have also created a FATFS volume on the USBH (host mode). This also works fine.
The eMMC FATFS work fine then I need to copy all files from the eMMC to the USB drive. The copy file by file from eMMC via FATFS is taking too long.
I think it would be faster if I just blindly copy memory block by block (512 bytes) from eMMC to USBH. So I implemented enough routine to do so. The problem is the copy failed after about few hundred block copied. The failure is seemed to be due to the USBH does not respond.
My question is: 1- "Is is possible to copy block by block raw data from eMMC to USBH like I try to do?" 2- have anyone successfully doing so?