Hi,
I was wondering if it's possible to have one device(Stellaris) that have two USB port, and then implement two MassStorageClass with two independent FatFS.
I'm planning two use two different external flash.
Regards,
Jerome
Jerome,
In order to achieve this, you will need two different Stellaris devices as they can only communicate with one port; the Stellaris MCU cannot act as a hub. Alternatively, you can use an external hub and have the Stellaris device act as a host to communicate to each device. Depends on your preference.
-Rebecca
Hi Rebecca,
Thanks for your answer. I would like to add a precision and see if your answer is still valid.
My goal is to use a device that actually as 2 usb port. So there will be two connector. I think that this is not a hub situation. each port will have its own handler and its own stack.
Maybe im wrong and it's impossible to have two usb stack and two file system in the same device.
Stellaris MCUs can only communicate with one USB port. In order to have 2 USB ports, you will need 2 Stellaris devices or a hub. If the Stellaris MCU is acting as a Host, and you want to communicate to two devices, this would require one USB type-A port connected to the Stellaris MCU USB pins connected to a hub which would then be connected to the two devices. Alternatively, you can have two Stellaris MCUs each acting as a Host to communicate to one device connected to each.