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
  • Hi,

    I modified the stmcdc.inf based on Tsuneo suggestions
    as follows in order to run under windows 7:

    ;
    ; STMicroelectronics Comunication Device Class driver instalation file
    ; (C)2006 Copyright STMicroelectronics
    ;
    
    [Version]
    Signature="$Windows NT$"
    Class=Ports
    ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
    Provider=%STM%
    LayoutFile=layout.inf
    DriverVer=01/06/07
    
    [Manufacturer]
    %STM%=DeviceList
    
    [DestinationDirs]
    FakeModemCopyFileSection=12
    DefaultDestDir=12
    
    
    [DeviceList]
    %DESCRIPTION%=STMUSB, USB\VID_0483&PID_5740
    
    ;------------------------------------------------------------------------------
    ;  Windows 2000/XP Sections
    ;------------------------------------------------------------------------------
    
    [STMUSB.nt]
    include=mdmcpq.inf
    CopyFiles=FakeModemCopyFileSection
    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
    
    ;------------------------------------------------------------------------------
    ;  String Definitions
    ;------------------------------------------------------------------------------
    
    [Strings]
    STM="STMicroelectronics"
    DESCRIPTION="STR91x CDC Communication Port"
    
    

    However, I got the error message " Windows was unable to install your ST VIRUAL COM PORT"

    Tsuneo, Could you please help me to figure out the reason?

    Thanks a lot for your help.

    Lillian

Reply
  • Hi,

    I modified the stmcdc.inf based on Tsuneo suggestions
    as follows in order to run under windows 7:

    ;
    ; STMicroelectronics Comunication Device Class driver instalation file
    ; (C)2006 Copyright STMicroelectronics
    ;
    
    [Version]
    Signature="$Windows NT$"
    Class=Ports
    ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
    Provider=%STM%
    LayoutFile=layout.inf
    DriverVer=01/06/07
    
    [Manufacturer]
    %STM%=DeviceList
    
    [DestinationDirs]
    FakeModemCopyFileSection=12
    DefaultDestDir=12
    
    
    [DeviceList]
    %DESCRIPTION%=STMUSB, USB\VID_0483&PID_5740
    
    ;------------------------------------------------------------------------------
    ;  Windows 2000/XP Sections
    ;------------------------------------------------------------------------------
    
    [STMUSB.nt]
    include=mdmcpq.inf
    CopyFiles=FakeModemCopyFileSection
    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
    
    ;------------------------------------------------------------------------------
    ;  String Definitions
    ;------------------------------------------------------------------------------
    
    [Strings]
    STM="STMicroelectronics"
    DESCRIPTION="STR91x CDC Communication Port"
    
    

    However, I got the error message " Windows was unable to install your ST VIRUAL COM PORT"

    Tsuneo, Could you please help me to figure out the reason?

    Thanks a lot for your help.

    Lillian

Children
  • Hi all,

    More infomation for my scenario. My machine is 64 bit Windows 7. I run the command " bcdedit.exe -set TESTSIGNING ON" in the command prompt and make the windows go to TESING MODE. However, I still get the same error message.

    I greatly apperiate any suggestions.

    Lillian

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