This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

USB Composite Device - MSC + Bulk - can't get it to work

Hi,

I got stuck trying to make a usb composite device with 2 functions - mass storage and bulk. 

I'm using the examples from the tivaware. If I do them separately - msc and bulk both work fine, but when I do a composite device with them - only the MSC works - bulk device doesn't show up in windows (neither is found by the example visual studio app).

I installed the .inf drivers that come with the tivaware - for msc and bulk as separate devices, but I cannot figure out how to make a new .inf file for the composite device.

The new device that appears in windows looks like this:

Virtual COM port (unrecognized/no drivers)

F:\

TI Mass Storage USB Device

USB Composite Device

USB Mass Storage Device

And the bulk device is missing.

I have a few questions:

- do I really need to make a new .inf file - can't it just work with the tivaware .infs for bulk and msc? Or do I need to edit them to put that MI_xx? I can't really understand how to make that new file - it links some .cad files, do I need to somehow generate those or do some windows DDK development?

- regarding this MI_xx - I couldn't understand how to find whether it should be MI_00, MI_01, MI_02, etc. I understand it's some usb interface, but I don't see anywhere in the code that it's specified. 

- About the usb PIDs - from what I understand I need to use 3 PIDs - for MSC, Bulk and the composite device - is that correct? Or I need to use just one PID - and assign it to the composite device?

- do I need some special handling in the mcu code for the composite case - like some function to switch between the msc and bulk functions? 

Any help would be greatly appreciated!