Can you please let me know if you are using the CyAPI.lib or the CyUSB.dll in your host application?
Please use the cpp or C_sharp libraries available in the FX3 SDK 1.3.4.
You can try checking the value returned by the API.
If sufficient data is not available to be read from the device by the application, the API will return a Timeout error.
CyAPI.lib is used in my application.
The default Timeout value is 1s, and XferData() is return before it.
I read the API documentation carefully found no answer. (CyAPI.chm)
Is it suitable for Windows XP and CY7C68013A ?
Thx a lot for answer.
Yes, you can use it for XP.
Please use the UsbdStatus function under CCyUSBEndPoint (refer to the API document) to retrieve the error code returned from the last call to XferData.
Once you get the Error code, you can use the code to check the error details from the Microsoft page: https://docs.microsoft.com/en-us/previous-versions/windows/hardware/drivers/ff539136(v=vs.85)?redirectedfrom=MSDN