This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

usb cdc driver program

I'm trying to write an usb cdc driver program. its cummunicate between pc and arduino due.actually my aim is reciveing the data form arduino and I read in visual c++ (command prompt).how to suppose i read the data in vc++. I don't the flow(sequence of the process) of cdc driver porgram . please explain me ?...........

Parents
  • Finally got the MCB2300 Demo working. I had to use the driver stuff that comes with the DEMO
    so that it would start working. I loaded the program into flash. It took me a few days to get it working. But really not sure why I could not get it working right away. The first time I
    loaded the driver it gave an error. But the error went away the next time I powered the PC up.

    Today I took a good look in Device manager and saw that not the COM Ports of my USB to RS232 adapter AND the USB VCOM port were set to 9600. I brought up Tera Term twice one instance for
    each port. Then I would type characters into one Tera Term window and see the characters go
    to the other Tera Term window. There was no echo occurring in the Tera Term window I was typing
    in. Also the program worked in both directions.

Reply
  • Finally got the MCB2300 Demo working. I had to use the driver stuff that comes with the DEMO
    so that it would start working. I loaded the program into flash. It took me a few days to get it working. But really not sure why I could not get it working right away. The first time I
    loaded the driver it gave an error. But the error went away the next time I powered the PC up.

    Today I took a good look in Device manager and saw that not the COM Ports of my USB to RS232 adapter AND the USB VCOM port were set to 9600. I brought up Tera Term twice one instance for
    each port. Then I would type characters into one Tera Term window and see the characters go
    to the other Tera Term window. There was no echo occurring in the Tera Term window I was typing
    in. Also the program worked in both directions.

Children
No data