2018-06-11 07:58 AM
I tried to re-create my 4 well-tested USB device demos with 4.26. While HID mouse and MSC work flawlessly, two others do not work:
CDC - COM port shows in device manager but cannot be opened in terminal; same basic code (just a simple echo) works ok with 4.25.1 and 4.24 (broken PLL programming in 4.25).
HID keyboard - no data received.
I noticed that 'custom HID' used for keyboard was heavily changed in 4.26, and the changes ar not good - DataIn callback was removed - bad
:(
.2018-09-13 09:17 AM
Just to confirm, 1.11.0 is working fine on my side too. Thanks for th tips. 1.12.0 is breaking everything over here!
2018-09-13 09:39 AM
<quiote> but once in a while (every 8 minutes or so) it send a 5 byte report even if application layer asked for a single bytes (made a runtime assert of this without problem). The faulty packet was observed with a hardware USB tracer.</quote>
Jerome, can you post a piece of the USB trace with this error, please?
And what is your HID device: something shrink wrapped or self-made?
What is its endpoint max. packet size and report size?
I have a similar problem, but with F4. Pondering if this can be caused by Cube or libraries version.
Thanks,
-- pa