cancel
Showing results for 
Search instead for 
Did you mean: 

USB Low-Full-High Speed Peripherals

Anonymous
Not applicable

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.

0 Likes
2 Replies
Anonymous
Not applicable

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.

0 Likes
Anonymous
Not applicable

What is the error that you are getting? Can you print the USBDStatus and check?

   

Which is the driver version you are using?

0 Likes