Content originally posted in LPCWare by Mario on Mon Aug 12 12:57:24 MST 2013
Thank you guys,
I manage to download the driver from the IAR example code bundle,
It installs the driver almost all the way but it throws an error:
"This device cannot start. (Code 10)"
After doing some research the closest answer I got was to make sure the PID and VID on the processor match and they do:
cdc_desc.c
ALIGN4 const uint8_t VCOM_DeviceDescriptor[] = {
USB_DEVICE_DESC_SIZE, /* bLength */
USB_DEVICE_DESCRIPTOR_TYPE, /* bDescriptorType */
WBVAL(0x0200), /* 2.0 */ /* bcdUSB */
USB_DEVICE_CLASS_COMMUNICATIONS, /* bDeviceClass CDC*/
0x00, /* bDeviceSubClass */
0x00, /* bDeviceProtocol */
USB_MAX_PACKET0, /* bMaxPacketSize0 */
WBVAL(0x1FC9), /* idVendor */
WBVAL(0x0011), /* idProduct */
WBVAL(0x0100), /* 1.00 */ /* bcdDevice */
0x01, /* iManufacturer */
0x02, /* iProduct */
0x03, /* iSerialNumber */
0x01 /* bNumConfigurations: one possible configuration*/
};
and the inf file:
lpc11xx-vcom_win7_64bit.inf
[DeviceList]
%DESCRIPTION%=LPC11xxUSB, USB\VID_1FC9&PID_0011
[DeviceList.ntamd64]
%DESCRIPTION%=LPC11xxUSB, USB\VID_1FC9&PID_0011
I am using the LPC11U37 processor and I am trying to use the USB_CDC ROM drivers
I have not altered the code from the sample code bundle in anyway.
What else could it be?