This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

MCB1700 virtual comport problem on win7

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.

Parents
  • 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
    
    

Reply
  • 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
    
    

Children
  • 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"