PORTS Forum
Ports and Interfaces => USB => Topic started by: david.harrison on June 02, 2017, 06:58:59 pm
-
Hi, I have a USB Composite Device (MSC + HID) implemented on an ST Microelectronics ARM Cortex-M7 microcontroller. I also have a local FAT file system running at the same time. Since you cannot have two separate file systems accessing a file resource (micro-SD card) at the same time, I need to temporarily suspend operation of the MSC interface before doing local file accesses and then restore it afterwards.
At what level in the MSC Interface is it best to suspend and then restart it?
Thanks.
-
To temporarily keep the host from reading/writing to a mass-storage device and inform the host that the contents may have changed, see:
http://janaxelson.com/forum/index.php?topic=1351
http://janaxelson.com/forum/index.php?topic=1624.msg7371#msg7371
http://janaxelson.com/forum/index.php?topic=1221.msg5407#msg5407