2016-09-11 12:43 PM
Hello,
I hope I have an easy question. I would like to use an SD card together with my STM32F10x processor. The SD card should be used as an external flash memory.However, when the PCB consisting of the SD card and STM32 is connected via USB to the PC, it should be shown as a USB flash drive.And both, the µC and PC should have access to write / read files.Is this posible with the processor type, and which mode is it?And do I need OTG for this (specifically the F105/107)?Marcus2016-09-11 01:56 PM
Well it is certainly possible to provide MSC type access to the SD card for the PC, and it is also possible to access the the SD card via FatFs locally. What is probably intractably difficult is providing read/write access to both simultaneously. The problems stem from keeping the file system coherent, and caching/connectivity on the PC/MSC side. If one mode is limited to Read-Only things might at least be workable.