raspberrypi / pico-sdk

BSD 3-Clause "New" or "Revised" License
3.63k stars 902 forks source link

Wrong data toggle #1779

Open moc32 opened 1 month ago

moc32 commented 1 month ago

On a specific roline mouse, enumeration fails with wrong data toggle from the device.

How to reproduce? Compile the attached ex_host_bare_api based on tinyusb host_bare_api and load the UF2. Connect the roline mouse. Enumeration will fail with wrong data seq error. Currently tinyusb does not handle this error and the stack just panics.

I have connected the same mouse to other host and it works fine without the wrong data toggle.

ex_host_bare_api.zip

image

lurch commented 1 month ago

Is this similar to https://github.com/raspberrypi/pico-feedback/issues/394 , or are the two issues entirely unrelated? (I dunno much about the inner workings of USB)