Skip to content

Commit 2b03964

Browse files
committed
Add mEDBG CDC drivers
1 parent e838ae7 commit 2b03964

5 files changed

+100
-0
lines changed

drivers/atmelinf.cat

7.06 KB
Binary file not shown.

drivers/dpinst-amd64.exe

1020 KB
Binary file not shown.

drivers/dpinst-x86.exe

901 KB
Binary file not shown.

drivers/mEDBG_Virtual_Com_Port.inf

+90
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
; Windows 2000, XP & Vista setup File for XPLAINED Boards.
2+
3+
; Copyright (c) 2000 Microsoft Corporation
4+
; Copyright (C) 2007 ATMEL, Inc.
5+
6+
[Version]
7+
Signature="$Windows NT$"
8+
Class=Ports
9+
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
10+
CatalogFile=atmelinf.cat
11+
Provider=%ATMEL%
12+
DriverVer=06/14/2013,6.0.0.1
13+
14+
;----------------------------------------------------------
15+
; Targets
16+
;----------------------------------------------------------
17+
[Manufacturer]
18+
%ATMEL%=ATMEL, NTamd64
19+
20+
[ATMEL]
21+
%ATMEL_CDC%=Reader, USB\VID_03EB&PID_2145&MI_01
22+
23+
[ATMEL.NTamd64]
24+
%ATMEL_CDC%=DriverInstall, USB\VID_03EB&PID_2145&MI_01
25+
26+
27+
;----------------------------------------------------------
28+
; Windows 2K, XP, and Vista32
29+
;----------------------------------------------------------
30+
[DestinationDirs]
31+
DefaultDestDir=12
32+
FakeModemCopyFileSection=12
33+
34+
[Reader.NT]
35+
include=mdmcpq.inf
36+
CopyFiles=FakeModemCopyFileSection
37+
AddReg=Reader.NT.AddReg
38+
39+
[Reader.NT.AddReg]
40+
HKR,,DevLoader,,*ntkern
41+
HKR,,NTMPDriver,,usbser.sys
42+
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
43+
HKR,,Properties, 1, 80,01,00,00, ff,00,00,00, ff,00,00,00, 07,00,00,00, 0f,00,00,00, f7,03,00,00, 40,4b,4c,00, 40,4b,4c,00
44+
45+
[Reader.NT.Services]
46+
AddService = usbser, 0x00000002, Service_Inst
47+
48+
[Service_Inst]
49+
DisplayName = %Serial.SvcDesc%
50+
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
51+
StartType = 3 ; SERVICE_DEMAND_START
52+
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
53+
ServiceBinary = %12%\usbser.sys
54+
LoadOrderGroup = Base
55+
56+
57+
;----------------------------------------------------------
58+
; Vista64
59+
;----------------------------------------------------------
60+
61+
[DriverInstall.NTamd64]
62+
include=mdmcpq.inf
63+
CopyFiles=FakeModemCopyFileSection
64+
AddReg=DriverInstall.NTamd64.AddReg
65+
66+
[DriverInstall.NTamd64.AddReg]
67+
HKR,,DevLoader,,*ntkern
68+
HKR,,NTMPDriver,,usbser.sys
69+
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
70+
HKR,,Properties, 1, 80,01,00,00, ff,00,00,00, ff,00,00,00, 07,00,00,00, 0f,00,00,00, f7,03,00,00, 40,4b,4c,00, 40,4b,4c,00
71+
72+
[DriverInstall.NTamd64.Services]
73+
AddService=usbser, 0x00000002, DriverService.NTamd64
74+
75+
[DriverService.NTamd64]
76+
DisplayName=%Serial.SvcDesc%
77+
ServiceType=1
78+
StartType=3
79+
ErrorControl=1
80+
ServiceBinary=%12%\usbser.sys
81+
82+
;----------------------------------------------------------
83+
; String
84+
;----------------------------------------------------------
85+
86+
[Strings]
87+
ATMEL = "Atmel Corp."
88+
ATMEL_CDC = "mEDBG Virtual COM Port"
89+
Serial.SvcDesc = "USB Serial emulation driver"
90+

post_install.bat

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
@echo off
2+
set ARGS=/A /SE /SW /SA
3+
if "%PROCESSOR_ARCHITECTURE%" == "AMD64" (
4+
drivers\dpinst-amd64.exe %ARGS%
5+
) ELSE IF "%PROCESSOR_ARCHITEW6432%" == "AMD64" (
6+
drivers\dpinst-amd64.exe %ARGS%
7+
) ELSE (
8+
drivers\dpinst-x86.exe %ARGS%
9+
)
10+
exit /b 0

0 commit comments

Comments
 (0)