Skip to content

Commit bf32c2c

Browse files
author
Thibault RICHARD
committed
[SAM] CDC+HID working. INF file added. Updated PID to 0x003E. Tested on
WinXP32.
1 parent 4d59afc commit bf32c2c

File tree

1 file changed

+35
-32
lines changed

1 file changed

+35
-32
lines changed
Lines changed: 35 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,28 @@
1-
;
2-
; Windows USB CDC Driver Setup File for ARDUINO Due
3-
;
4-
; On Windows 7, right click to update driver software. It may take a while to
5-
; get this option, even if you cancel the auto driver search.
6-
; choose "browse my computer for driver software",
7-
; choose "let me pick from a list of device drivers on my computer",
8-
; Click "have disk" and browse to this .inf file
9-
; If there is a problem, right click and uninstall, checking delete driver software.
1+
;************************************************************
2+
; Windows USB CDC ACM Setup File
3+
; Copyright (c) 2000 Microsoft Corporation
104

11-
;------------------------------------------------------------------------------
125

136
[Version]
147
Signature="$Windows NT$"
158
Class=Ports
169
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
17-
Provider=%ARDUINO%
10+
Provider=%MFGNAME%
1811
LayoutFile=layout.inf
19-
20-
DriverVer= 03/09/2011,2.0.0.0
12+
CatalogFile=%MFGFILENAME%.cat
13+
DriverVer=11/15/2007,5.1.2600.0
2114

2215
[Manufacturer]
23-
%ARDUINO%=DeviceList,NTamd64
16+
%MFGNAME%=DeviceList, NTamd64
2417

2518
[DestinationDirs]
2619
DefaultDestDir=12
2720

2821

2922
;------------------------------------------------------------------------------
30-
; Windows 2000/XP/Vista32 Support
23+
; Windows 2000/XP/Vista-32bit Sections
3124
;------------------------------------------------------------------------------
25+
3226
[DriverInstall.nt]
3327
include=mdmcpq.inf
3428
CopyFiles=DriverCopyFiles.nt
@@ -39,21 +33,21 @@ usbser.sys,,,0x20
3933

4034
[DriverInstall.nt.AddReg]
4135
HKR,,DevLoader,,*ntkern
42-
HKR,,NTMPDriver,,usbser.sys
36+
HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
4337
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
4438

4539
[DriverInstall.nt.Services]
4640
AddService=usbser, 0x00000002, DriverService.nt
4741

4842
[DriverService.nt]
49-
DisplayName=%USBtoSerialConverter%
43+
DisplayName=%SERVICE%
5044
ServiceType=1
5145
StartType=3
5246
ErrorControl=1
53-
ServiceBinary=%12%\usbser.sys
47+
ServiceBinary=%12%\%DRIVERFILENAME%.sys
5448

5549
;------------------------------------------------------------------------------
56-
; Windows Vista64 Support
50+
; Vista-64bit Sections
5751
;------------------------------------------------------------------------------
5852

5953
[DriverInstall.NTamd64]
@@ -62,41 +56,50 @@ CopyFiles=DriverCopyFiles.NTamd64
6256
AddReg=DriverInstall.NTamd64.AddReg
6357

6458
[DriverCopyFiles.NTamd64]
65-
usbser.sys,,,0x20
59+
%DRIVERFILENAME%.sys,,,0x20
6660

6761
[DriverInstall.NTamd64.AddReg]
6862
HKR,,DevLoader,,*ntkern
69-
HKR,,NTMPDriver,,usbser.sys
63+
HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
7064
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
7165

7266
[DriverInstall.NTamd64.Services]
7367
AddService=usbser, 0x00000002, DriverService.NTamd64
7468

7569
[DriverService.NTamd64]
76-
DisplayName=%USBtoSerialConverter%
70+
DisplayName=%SERVICE%
7771
ServiceType=1
7872
StartType=3
7973
ErrorControl=1
80-
ServiceBinary=%12%\usbser.sys
74+
ServiceBinary=%12%\%DRIVERFILENAME%.sys
8175

8276

8377
;------------------------------------------------------------------------------
84-
; VID/PID Settings
78+
; Vendor and Product ID Definitions
79+
;------------------------------------------------------------------------------
80+
; When developing your USB device, the VID and PID used in the PC side
81+
; application program and the firmware on the microcontroller must match.
82+
; Modify the below line to use your VID and PID. Use the format as shown below.
83+
; Note: One INF file can be used for multiple devices with different VID and PIDs.
84+
; For each supported device, append ",USB\VID_xxxx&PID_yyyy" to the end of the line.
8585
;------------------------------------------------------------------------------
8686
[SourceDisksFiles]
8787
[SourceDisksNames]
8888
[DeviceList]
89-
%USBtoSerialConverter%=DriverInstall, USB\VID_2341&PID_CAFF ; CDC
90-
%USBtoSerialConverter%=DriverInstall, USB\VID_2341&PID_DAFF&MI_00 ; HID + CDC
89+
%DESCRIPTION%=DriverInstall, USB\VID_2341&PID_003E&MI_00
9190

9291
[DeviceList.NTamd64]
93-
%USBtoSerialConverter%=DriverInstall, USB\VID_2341&PID_CAFF ; CDC
94-
%USBtoSerialConverter%=DriverInstall, USB\VID_2341&PID_DAFF&MI_00 ; HID + CDC
92+
%DESCRIPTION%=DriverInstall, USB\VID_2341&PID_003E&MI_00
9593

9694
;------------------------------------------------------------------------------
97-
; String Definitions
95+
; String Definitions
96+
;------------------------------------------------------------------------------
97+
;Modify these strings to customize your device
9898
;------------------------------------------------------------------------------
9999
[Strings]
100-
101-
ARDUINO="ARDUINO LLC" ; String value for the ARDUINO symbol
102-
USBtoSerialConverter="Arduino USB to Serial Converter" ; String value for the USBtoSerialConverter symbol
100+
MFGFILENAME="CDC_vista"
101+
DRIVERFILENAME ="usbser"
102+
MFGNAME="Arduino LLC (www.arduino.cc)"
103+
INSTDISK="Arduino Due X Driver Installer"
104+
DESCRIPTION="Arduino Due X"
105+
SERVICE="USB RS-232 Emulation Driver"

0 commit comments

Comments
 (0)