arduino-libraries / Arduino_USBHostMbed5

Apache License 2.0
4 stars 11 forks source link

Sporadically failing to read a brand new USB-3 key with a USB-A connector on a Giga #60

Closed schnoberts1 closed 2 months ago

schnoberts1 commented 2 months ago

Hi,

I am seeing sporadic read failures. Initially I took these for device failures but I bought a brand new industrial device from Transcend and see the same thing. It's always in generalTransfer, called from bulkRead. At the failure point it's done this test:

if ((blocking)&& (res == USB_TYPE_PROCESSING)) and then found that the ep_queue has timed out doing a get. Its response is to set the error to USB_TYPE_ERROR and fail.

I am wondering a couple of things:

  1. Is it a well known thing that this library does not support USB-3 devices (as far as I know USB-3 is backward compatible)?
  2. Could it be the device is just too fast and the Giga can't keep up?

Thank you.

I'm just looking for pointers, not for someone to solve my problem - though obv that would be nice ;)