Hi, I couldn't install the virtual comport driver given by NXP (USBCDC project) on win7.No problem on XP. Is there anyone run USBCDC on win7 ? Has anyone experiences about this subject? Where can find a suitable driver for win7 if there exist?
I am waiting suggestions asap.
Thanks.
Finally, the driver is installed under WINDOWS 7. I add the part NTamd64 in the inf file.
;------------------------------------------------------------------------------ ; Windows 7-64bit Sections ;------------------------------------------------------------------------------ [STMUSB.NTamd64] include=mdmcpq.inf ;CopyFiles=FakeModemCopyFileSection.NTamd64 CopyFiles=DriverCopyFiles.NTamd64 AddReg=STMUSB.NTamd64.AddReg [STMUSB.NTamd64.AddReg] HKR,,NTMPDriver,,*ntkern HKR,,NTMPDriver,,usbser.sys HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider" HKR,,PortSubClass,1,01 [STMUSB.NTamd64.Services] include=mdmcpq.inf AddService=usbser, 0x00000002, DriverService.NTamd64 [DriverService.NTamd64] DisplayName=%DESCRIPTION% ServiceType=1 StartType=3 ErrorControl=1 ServiceBinary=%12%\usbser.sys [STMUSB.NTamd64.HW] include=mdmcpq.inf
Have a good weekend.
Lillian
Hi Lillian,
Could you please send the hole INF file. Thus, It will be a certain reference for me and the others.
Thanks, Regards.
Here is my inf file.
[Version] Signature="$Windows NT$" Class=Ports ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318} Provider=%STM% LayoutFile=layout.inf DriverVer=01/06/07 [Manufacturer] %STM%=DeviceList, NTamd64 [DestinationDirs] ;FakeModemCopyFileSection=12 ;FakeModemCopyFileSection.NTamd64=12 DefaultDestDir=12 [DeviceList] %DESCRIPTION%=STMUSB, USB\VID_0483&PID_5740 [DeviceList.NTamd64] %DESCRIPTION%=STMUSB, USB\VID_0483&PID_5740 ;------------------------------------------------------------------------------ ; Windows 2000/XP Sections ;------------------------------------------------------------------------------ [STMUSB.nt] include=mdmcpq.inf ;CopyFiles=FakeModemCopyFileSection CopyFiles=DriverCopyFiles.nt AddReg=STMUSB.nt.AddReg [STMUSB.nt.AddReg] HKR,,NTMPDriver,,*ntkern HKR,,NTMPDriver,,usbser.sys HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider" HKR,,PortSubClass,1,01 [STMUSB.nt.Services] include=mdmcpq.inf AddService=usbser, 0x00000002, DriverService [DriverService] DisplayName=%DESCRIPTION% ServiceType=1 StartType=3 ErrorControl=1 ServiceBinary=%12%\usbser.sys HKR,,PortSubClass,1,01 [STMUSB.nt.HW] include=mdmcpq.inf ;------------------------------------------------------------------------------ ; Windows 7-64bit Sections ;------------------------------------------------------------------------------ [STMUSB.NTamd64] include=mdmcpq.inf ;CopyFiles=FakeModemCopyFileSection.NTamd64 CopyFiles=DriverCopyFiles.NTamd64 AddReg=STMUSB.NTamd64.AddReg [STMUSB.NTamd64.AddReg] HKR,,NTMPDriver,,*ntkern HKR,,NTMPDriver,,usbser.sys HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider" HKR,,PortSubClass,1,01 [STMUSB.NTamd64.Services] include=mdmcpq.inf
Thanks to everyone who wrote in this thread. This is my INF file.
[Version] Signature="$Windows NT$" Class=Ports ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318} Provider=%PRVDR% LayoutFile=layout.inf DriverVer=22/03/2010,2.0.2200.2 [Manufacturer] %MFGNAME%=VirComDevice,NT,NTamd64 [DestinationDirs] DefaultDestDir = 12 [VirComDevice.NT] %DESCRIPTION%=DriverInstall,USB\VID_1FC9&PID_2002 [VirComDevice.NTamd64] %DESCRIPTION%=DriverInstall,USB\VID_1FC9&PID_2002 [DriverInstall.NT] Include=mdmcpq.inf CopyFiles=FakeModemCopyFileSection AddReg=DriverInstall.NT.AddReg [DriverInstall.NT.AddReg] HKR,,DevLoader,,*ntkern HKR,,NTMPDriver,,usbser.sys HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider" [DriverInstall.NT.Services] AddService=usbser, 0x00000002, DriverServiceInst [DriverServiceInst] DisplayName=%SERVICE% ServiceType = 1 ; SERVICE_KERNEL_DRIVER StartType = 3 ; SERVICE_DEMAND_START ErrorControl = 1 ; SERVICE_ERROR_NORMAL ServiceBinary= %12%\usbser.sys LoadOrderGroup = Base [Strings] PRVDR = "ProviderNAME" MFGNAME = "ManfNAME" DESCRIPTION = "MyUSB_CDC" SERVICE = "MyUSB_CDC driver"