Hello,
I'm using a c8051F321 and I want to have a simple communication interface to this µC over USB. Therefore I thought that a virtual serial comm port will be the right solution. I know that I have to define the rigth usb descriptors, but I didn't find anything which matchs my intention.
Can anybody tell me how I can create a simple program for serial communication between the c8051f321 and my PC over usb.
thankyou.
Here is an INF file of CDC, tested both on Win7 x64 and x86 http://www.keil.com/forum/17039/ 20-Jun-2010 21:26 GMT Posted by Tsuneo Chinzei
Copy mcb2300-vcom.inf (Revised), and modify "Device List" and "String" section, as follows.
;------------------------------------------------------------------------------ ; Device list ;------------------------------------------------------------------------------ [DeviceList] %DESCRIPTION%=MCB2300USB, USB¥VID_c251&PID_1705 %COMPOSITE% =MCB2300USB, USB¥VID_FF28&PID_0001&MI_01 %MYDEV000% =MCB2300USB, USB\VID_16C0&PID_06EA ;;;; <---- add this line [DeviceList.ntamd64] %DESCRIPTION%=MCB2300USB, USB¥VID_c251&PID_1705 %COMPOSITE% =MCB2300USB, USB¥VID_FF28&PID_0001&MI_01 %MYDEV000% =MCB2300USB, USB\VID_16C0&PID_06EA ;;;; <---- add this line ... ... ;------------------------------------------------------------------------------ ; String Definitions ;------------------------------------------------------------------------------ [Strings] Keil = "Keil - An ARM Company" DRIVER.SVC = "MCB2300 USB VCom Driver" DESCRIPTION= "MCB2300 USB VCom Port" COMPOSITE = "MCB2300 MSC-CDC COM Port" MYDEV000 = "CDC ACM example device" ;;;; <---- add this line
Tsuneo