-
Notifications
You must be signed in to change notification settings - Fork 327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Composite USB device example #242
Comments
You probably need to make your control buffer bigger, as your descriptors will now exceed it's space. until libopencm3/libopencm3#1140 is merged, you need to have space to build the descriptors in ram for talking to the host |
changing the control buffer size to 2048 does not solve the problem. |
I would recheck your descriptors carefully then, I don't have any other ideas, and I've not personally setup a composite with msc. you might want to check that usb_msc_init isn't making any assumptions internally? it's the only class handler that offers such an init() method. |
That is some good pointers i shall have a look and try with e.g. HID instead of MSC to see if that makes a difference :) |
CDC and MIDI works together. I shall try to figure out why MSC does not work |
Did you ever resolve this one? I'm looking or a CDCACM+MSC composite solution using libopencm3 currently. |
yes i did. Its a while ago, but i think that the main problem was not assigning the correct values to the structs. Here is a copy of what i got working
|
Hey
I am trying to make a composite usb device consisting of cdcacm and msc profiles.
I am using a STM32F411CEU
I have tried to merge the cdcacm and msc example but when i connect my device to the pc i get the following error:
This is most of the code i am running:
Can you guys help me find out how to progress either with concrete changes to the code or how to debug the problem.
The text was updated successfully, but these errors were encountered: