2015-02-02 04:03 AM
I'm trying to create a USB CDC+MSC composite device using STM32F4 so that it gets automatically recognized by both STM32 CDC driver and as a standard MSC device. Does ST provide a VID/PID pair for such a device? I mean, ST uses 0483/5740 for CDC examples and 0483/5720 for MSC examples. So, what should I set for a composite CDC+MSC device? Thank you.
#usb-cdc-msc2015-02-26 05:44 AM
I worked on a similar example that may help you.
There are two Zipped files, unzip first package “Composite_VCP_MSC�? under Project\USB_Device_Examples and second “Class�? under Libraries\STM32_USB_Device_Library
Regards gafsos ________________ Attachments : Class.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HzKX&d=%2Fa%2F0X0000000bL5%2FURWv3b9oOQm1wWWAGUyCEQREoYZUJUEPT3_ADHPgAJI&asPdf=falseComposite_VCP_MSC.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HzLH&d=%2Fa%2F0X0000000bL4%2FCExqJZHklsll.1Xuu0.pE9OhtZqEcRmp_rAEJyPnNQk&asPdf=false2015-02-27 02:49 AM
Thank you. At first glance the differences between your wrapper class and mine are minimal, I will try to use your code and report the results here.
2015-04-28 11:04 PM
@qwer.asdf I am having a similar problem to you. My wrapper is very similar to yours. MSC+CDC are detected by OSX. MSC works really well. CDC hangs after communication begins.
Did you manage to resolve this?2015-04-29 03:46 AM
@pinkman
The time was pressing so after 2 days of debugging and reading the reference manual and USB documentation without any result I had no alternative but to change the composite device to two switchable simple devices, i.e. it's CDC by default, then it can becomes MSC by a button press or a CDC command.2015-07-10 02:13 PM
Software development need time. It took me 4 days to make MSC+CDC working on my project. The ''bug'' will comeout if one focus on the problem.
2015-07-13 01:11 AM
Your composite device done using cube concept or spl?
2019-02-14 02:08 AM
Anyone here who can send the example project for msc+cdc composite device?
I am also struggling to get this working i can't connect to comport
2019-10-14 03:44 AM
Have you found the problem?
I have the same problem, MSC is working but CDC is not transfering anything because USB is always busy. Any clue ?
2019-10-14 04:19 AM
I am having a similar problem, MSC is working great! But CDC does now transfer packets because USB seems to be always busy. How did you guys fixed your CDC MSC problems? Does someone has a working example?