windows 7 安装 sam-ba at91 usb to serial converter 驱动不成功的解决

来源:互联网 发布:java实现代理ip轮换 编辑:程序博客网 时间:2024/05/02 00:57

sam-ba cdc at91 usb to serial converter  驱动文件如下

;
; Windows USB CDC Driver Setup File for ATMEL AT91SAM products
;

[Version]                                                       ; Version section
Signature="$Windows NT$"                                        ; Windows 200 and later versions
Class=Ports                                                     ; This is a serial port driver
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}                ; Associated GUID
Provider=%ATMEL%                                                ; Driver is provided by ATMEL
DriverVer=04/16/2008,1.0.0.0                                    ; Driver version 1.0.0.0 published on 16 April 2008

[DestinationDirs]                                               ; DestinationDirs section
DefaultDestDir=12                                               ; Default install directory is /drivers or /IOSubSys

[Manufacturer]                                                  ; Manufacturer section
%ATMEL%=AtmelMfg                                                ; Only one manufacturer (ATMEL), models section is named
                                                                ; AtmelMfg

[AtmelMfg]                                                      ; Models section corresponding to ATMEL
%USBtoSerialConverter%=USBtoSer.Install,USB/VID_03EB&PID_6124   ; Identifies a device with ATMEL Vendor ID (03EBh) and
                                                                ; Product ID equal to 6124h. Corresponding Install section
                                                                ; is named USBtoSer.Install

[USBtoSer.Install]                                              ; Install section
include=mdmcpq.inf
CopyFiles=FakeModemCopyFileSection
AddReg=USBtoSer.AddReg                                          ; Registry keys to add are listed in USBtoSer.AddReg

[USBtoSer.AddReg]                                               ; AddReg section
HKR,,DevLoader,,*ntkern                                         ;
HKR,,NTMPDriver,,usbser.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"

[USBtoSer.Install.Services]                                     ; Services section
AddService=usbser,0x00000002,USBtoSer.AddService                ; Assign usbser as the PnP driver for the device

[USBtoSer.AddService]                                           ; Service install section
DisplayName=%USBSer%                                            ; Name of the serial driver
ServiceType=1                                                   ; Service kernel driver
StartType=3                                                     ; Driver is started by the PnP manager
ErrorControl=1                                                  ; Warn about errors
ServiceBinary=%12%/usbser.sys                                   ; Driver filename

[Strings]                                                       ; Strings section
ATMEL="ATMEL Corp."                                             ; String value for the ATMEL symbol
USBtoSerialConverter="AT91 USB to Serial Converter"             ; String value for the USBtoSerialConverter symbol
USBSer="USB Serial Driver"                                      ; String value for the USBSer symbol

 

 

重点是安装前通过搜索将mdmcpq.inf及USBser.sys从c:/windows/winsxs/?????????等目录中找出,

分别将mdmcpq.inf拷贝到c:/windows/inf,USBser.sys拷贝到c:/windows/system32/drivers目录,将

atm6124_cdc.inf拷贝到c:/windows/inf,然后对拷贝目标目录下的驱动程序文件进行修改。

 

atm6124_cdc.inf该驱动文件会自动导入mdmcpq.inf驱动,mdmcpq.inf中需要Copy USBser.sys文件,安装出错是因为该文件无法找到,具体原因还不清楚,解决方法如下。

 

atm6124_cdc.inf文件将下成三行

[USBtoSer.Install]                                              ; Install section
include=mdmcpq.inf
CopyFiles=FakeModemCopyFileSection

改为

[USBtoSer.Install]                                              ; Install section
include=mdmcpq.inf
;CopyFiles=FakeModemCopyFileSection

 

或者

 

修改mdmcpq.inf文件将

USBser.sys,,,0x20

改为

;USBser.sys,,,0x20

 

然后安装驱动选择at91 usb to serial converter 设备即可出现虚拟串口了,

原创粉丝点击