windows 7 安裝 sam-ba at91 usb to serial converter 驅動不成功的解決

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 設備即可出現虛擬串口了,


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章