How To: AT91 SAM7 - USB-driver for CDC with Win7 and XP..
This article want's to show all interested users how to connect your SAM7 device as a "CDC" to Windows XP and Windows 7. This is the missing part for the Atmel "at91lib" and examples using connection with the newer operating systems 32/64bit like Windows 7.
All you need is to modify the Vendor ID, Product ID and the corresponding strings like descriptions.
Let' make a blank file with your texteditor and paste the following text. It works fine for the Windows versions above. Feel free to test it with Windows Vista (i haven't this version). Have fun!
;begin
[Version] ; Version section
Signature="$Windows NT$" ; All Windows 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=09/03/2012,1.1.1.6 ; Driver version 1.1.1.6 published on 3 March 2012
[Manufacturer] ; Manufacturer section
%ATMEL%=DeviceList,ntamd64 ; Only one manufacturer (ATMEL), models section is named
;------------------------------------------------------------------------------
; Device list
;------------------------------------------------------------------------------
[DeviceList]
%USBtoSerialConverter% = USBtoSer, USB\VID_03EB&PID_6119
[DeviceList.ntamd64]
%USBtoSerialConverter% = USBtoSer, USB\VID_03EB&PID_6119
;------------------------------------------------------------------------------
[SourceDisksNames]
[SourceDisksFiles]
[DestinationDirs]
FakeModemCopyFileSection=12
DefaultDestDir = 12
[USBtoSer]
include=mdmcpq.inf
CopyFiles=FakeModemCopyFileSection
AddReg=USBtoSer.AddReg
[USBtoSer.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,usbser.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
HKR,,PortSubClass,1,01
[USBtoSer.Services]
AddService=usbser, 0x00000002, DriverService
[DriverService]
DisplayName=%DRIVER.SVC%
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\usbser.sys
;------------------------------------------------------------------------------
[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
;end
Please sign in to leave a comment.
Comments
0 comments