CCyUSBDevice::GetDevDescriptor() successful but contains garbage | Cypress Semiconductor
CCyUSBDevice::GetDevDescriptor() successful but contains garbage
We have intermittent problems with GetDevDescriptor(). Once every 30-100 Open() calls, the USBDeviceDescriptor is filled with the value 0x12 for each byte instead of the correct values for the members. This causes subsequent problems due to the number of Configs being 18 (0x12). The values in pSingleTransfer are all correct, but the rest of the data returned from IoControl is just full off 0x12.
Since it only happens rarely I don't think we're doing something wrong with the API. Any ideas what might be wrong?
We're using the generic USB driver v3.4.7 and CyAPI v126.96.36.199.