I am migrating our FX2LP Windows device driver from CyUsb to CyUsb3.
The device is used as a bulk/interrupt transfer based video grabber,
so our Windows application repeatedly calls CCyFX3Device::BulkInEndPt->XferData() for video data and CCyFX3Device::InterruptOutEndPt->XferData(), CCyFX3Device::InterruptInEndPt->XferData() for command transmission in a loop.
I have an issue with the surprise removal of USB hub connected with our device.
When the above issue is tested with old CyUsb drivers on Windows OS 32 bit, the device disappears on the Device Manager after 5~10 seconds after the removal of USB hub.
Is there any solution on this problem?
The below is test environment
Thanks and regards,
Same problem here:
With the FX2LP connected via a hub (I tried several: Cypress, TI, Microchip), on some ports that do NOT use the "usbhub3.sys" but "usbhub.sys" as driver, a surprise removal of the FX2LP is NOT detected.
Same problem on Windows 10 and Windows 7 machines.
This is really bad.
This behaviour occurs even with Cypress' own bulkloop example:
- connect FX2LP with bulkloop firmware via USB hub
- start bulkloop application
- start data transfer
- remove USB hub from computer USB port
=> the FX2LP is still visible in Device Manager
This is really bad, please provide a solution!
Same behaviour with driver 22.214.171.124 and 3.4.7
We have reproduced this problem. We are working on the same.
It's still a problem for us and our customers.
We haven't found any workaround, and we need the hub and the FX2LP,
there are many devices with this combination around, not only from our company I guess...