Page 2 of 2

Re: USB problem with Configuration Descriptor

Posted: Wed Nov 28, 2012 8:59 am
by Giovanni
Hi,

I'll give a try, probably in the weekend.

Giovanni

Re: USB problem with Configuration Descriptor

Posted: Sun Dec 02, 2012 7:16 pm
by Spider
And I can't send from FW any descriptor more than 0xFF bytes :(

Re: USB problem with Configuration Descriptor

Posted: Sun Dec 02, 2012 9:21 pm
by Giovanni
Hi,

I'll try to verify this as soon as possible, I am a bit overloaded of late.

Giovanni

Re: USB problem with Configuration Descriptor

Posted: Mon Dec 03, 2012 3:53 am
by Spider
I add to my descriptor "Interface Association Descriptor" with USB Microphone Interfaces and Endpoint, and this way or resolving problem not work. I set descriptor to 0x100 bytes and it transmit to driver but with out 1 last byte (problem with 0xFF length). Descriptor transmitted correctly (several last bytes only for rounding) but device not work, I think because length defined 0x100, but transfered 0xFF. I don't know how to explain it :) In result device detected as not work and not configured, but SET_CONFIGURATION setup packet sent to device :)

Re: USB problem with Configuration Descriptor

Posted: Sat Dec 08, 2012 6:46 am
by Spider
Any news?

Re: USB problem with Configuration Descriptor

Posted: Sat Dec 08, 2012 8:57 am
by Giovanni
Not yet, I hope to be able to give it a try next week.

Giovanni

Re: USB problem with Configuration Descriptor

Posted: Sat Dec 15, 2012 5:52 pm
by Spider
I still waiting for help :)

Re: USB problem with Configuration Descriptor

Posted: Fri Dec 21, 2012 10:31 am
by Giovanni
Hi,

I am trying your test application after adapting it to a F3-Discovery, the host (WinXP) enumerates it but the installation does not finish, the device is marked as USB Composite Device with an error (This device cannot start. (Code 10)).

Is this supposed to happen?

Giovanni

Re: USB problem with Configuration Descriptor

Posted: Fri Dec 21, 2012 10:46 am
by Giovanni
Weird, if I remove the 20 zero bytes from the descriptor and change the length to 0x6D then it works perfectly and all the devices are recognized.

hid.png
hid.png (36.75 KiB) Viewed 4905 times


Isn't this the expected result?

Giovanni

Re: USB problem with Configuration Descriptor

Posted: Wed Jan 02, 2013 12:58 pm
by Spider
Hello!
With Happy New Year!

In my case I have STM32F103 and next situation:
If I write descriptor length 0x81 with padding bytes, all work.
If I write descriptor length 0x6D w/o padding bytes - not work, and device not recognized.

What I do wrong?

I haven't HW USB Analyzer, but I attached logs from USB Lyzer. Look at them.