07-28-2010 03:46 AM
Hi,
I need to communicate with a USB Device, which is of CDC Class. In Device side, I got driver from vendor and we connected USB Cable fron Device to PC by selecting Vendor given dricer for USB. USB Device detected and its working. Now, my task is, I have to communicate from Host PC with this device using USB. I had gone through USB Instrument Control tutorial, in this tutorial, only USB Raw Class and USBTM Class device communications only described. But i have to do communication with USB CDC Class device.
I am attaching my USB Device CDC Classs Specifications.
If anybody implemented USB Communication for CDC Class Devices kindly support me.
Regards,
Bujjin
07-28-2010 04:36 AM - edited 07-28-2010 04:37 AM
I have already directed you to the CDC USB specification in aprevious answer HERE.
Please try to stick to a single thread. Keep the communication here instead of spread between the two threads please.
The document you link to here describes a C library for interfacing with a microprocessor.... Is your device finished or do you need to implement the firmware for your device?
Shane
07-29-2010 01:19 AM
Hi Shane,
Thanks for your support.
I follwed USB Instrument Control Tutorial for configuraing my device as USB Raw Device.
I got VID and PID from vendor given document for CDC Driver. From these VID and PID information, I followed given procedure for creating driver inf file and png files for my USB Device. And there are many examples came with my ATMEL ARM9 Programming KIT. one example program"USB to Serial Converter" I have selected and I build this brogram in ARM9. Now, I connected USB Cable from USB Device on ATMEL Kit to my PC.
THing is that, its detecting and after its requesting to select driver. I selected a folder, which i created using NI Driver Developement Wizard. Now, some file copying is happening, finally its ending up with an error "device cannot start error code 10".
For the same, I tried with the driver inf file, which i got from Vendor but still same problem is coming.
What i have to for this,
Regards,
Bujjin