I'm playing around with LPC 1343, and my computer can't load driver for this device: NXP LPC13xx VCOM
I compiled and loaded program to LPC, but drivers provided for W7 64 does not install form LPC13xx_SampleSoftware.106/USBCDC/ Win7_64 folder.
I also tried virtual XP machine using WinXP_WIN7_32 but no avail.
Can anyone help?
Double posts: 's MDK-ARM V1.06 (Jun 8, 2011)" ics.nxp.com/.../code.bundle.lpc13xx.keil.zip
In this example, the PID (Product ID) on the device descriptor (0x4003) doesn't match to those of INF files (PID_0003).
usbdesc.c /* USB Standard Device Descriptor */ const uint8_t USB_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(0x4003), /* idProduct */ // <------ ...
\WinXP_WIN7_32\lpc13xx-vcom.win32.inf [DeviceList] %DESCRIPTION%=LPC13xxUSB, USB\VID_1FC9&PID_0003 // <------ \Win7_64\lpc13xx-vcom_win7_64bit.inf [DeviceList] %DESCRIPTION%=LPC13xxUSB, USB\VID_1FC9&PID_0003 [DeviceList.ntamd64] %DESCRIPTION%=LPC13xxUSB, USB\VID_1FC9&PID_0003
Modify either one, so that these PID values take the same value. For example of device descriptor,
usbdesc.c const uint8_t USB_DeviceDescriptor[] = { ... WBVAL(0x0003), /* idProduct */ // <------
Tsuneo
Thx for the solution.
It is rather simple if you know where to look :-) You helped a couple of people with this, as I'm a part of "study" group of beginners.