Dear All,
I've a question about running the AM335X Starterware example code usb_dev_comp_mouse_ser. After I porting it to C6748, now it runs on our own (custom) board. After using AM335X_StarterWare_02_00_01_01\tools\usb_inf\usb_dev_mouse_serial.inf as the driver, the CDC interface of usb_dev_comp_mouse_ser appears under Device Manger of Windows 7 as COM14. This is nice, however, I failed to open COM14 using the CreateFile() function in Visual C++: It will return INVALID_HANDLE_VALUE instead of a valid handle. And calling GetLastError() will return the error code ERROR_FILE_NOT_FOUND.
Exactly the same PC program will work normally (which means: open com port, send data to and get data from com port) if the C6748 Starterware example code usb_dev_serial (I've modified it to fit my needs) is running on our own board. Therefore, I believe it there is something wrong with the usb_dev_comp_mouse_ser running on C6748.
I'm wondering if any one could advise on this issue?
Regards,
Oliver