Home/Support/Support Forum/Access to USB Serial port

Access to USB Serial port

0 votes
Hey everyone,

I have the Digi XBee Mesh Starter Kit with several XBee modules and two USB microcontroller boards and two RS232 microcontrollerboards. I have a problem accessing the USB Serial port. I wrote a little C routine to get access to the XBees. For the RS232 Board everything works perfectly fine. But I have problems with the USB boards. I have installed the driver and the boards work with the X-CTU software. But if I try to open the USB port I get an error.
I use the same command as for the RS232

hCOM=CreateFile("\\.\COM17",GENERIC_READ|GENERIC_WRITE,0,NULL,OPEN_EXISTING,NULL,NULL);

Does anybody have an idea what's wrong?

Thanks
asked Dec 3, 2008 in USB and Ethernet drivers by keergeht New to the Community (1 point)

Please log in or register to answer this question.

1 Answer

0 votes
what kind of error you receive?, give us the error.
answered Dec 16, 2008 by jpcordovae New to the Community (5 points)
...