- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear sir!
I have constructed the device , and get the device descriptor successfully.But when i transfer data,it failed.
The code is as followed:
CCyUSBDevice *USBDevice = new CCyUSBDevice(NULL)
unsigned char buf[] = "hello world";
LONG length = 11;
if (USBDevice->BulkOutEndPt)
USBDevice->BulkOutEndPt->XferData(buf, length);
My computer OS is windows10(x64),and the device driver is according to the OS(\Drivers\Win10\x64\cyusb3.sys).
My IDE is VS2015 community.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ohter things I should mention is as followed:
1.I can not transfer data using CyControl.exe,enven though I can connect the device,while I can do this using win8.1 x64 driver(perhaps this driver is not suitable)
2.I can not reemulation the device after I updated the firmware using CyControl.exe.I have to click the reconnect button to find the new device.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What is the error that you are getting? Can you print the USBDStatus and check?
Which is the driver version you are using?