Hi,
I encountered two problems when I used SD card.
1. When SD card has mounted, I removed it but I did not write "umount" instruction on the terminal, then I read/wrote the mount point right now that the program occured deadlock status.
2. When I tested the function of g_file_storage(slave), I discovered that PC could read data on SD card, but I add the data to SD card that PC did not know, then changed the data in both side simultaneously that occured anomalous structure.
My kernel option :
[kernel options]
<*> MMC support
[ ] MMC debugging
<*> MMC block device driver
<*> TI DAVINCI Multimedia Card Interface support
[*] TI DAVINCI DMA Mode
<*> Inventra Highspeed Dual Role Controller (TI, ...)
(X) USB Peripheral (gadget stack)
USB Gadget Support --->
<M> Support for USB Gadgets
<M> File-backed Storage Gadget
[*] File-backed Storage Gadget testing version
Could TI provide the related patches to modify those problems, please?
Thanks for your answer.