Skip to content
This repository
Browse code

Merge pull request #322 from EmbeddedMan/master

Fixed for #321 - add signed drivers for USB serial - commit ecef892
  • Loading branch information...
commit 5d2d0ff316cda1ad2fb393b9d25bc4ddcecaf138 2 parents 8bba055 + dddafae
Ricklon ricklon authored
35 build/windows/dist/drivers/Stk500v2.inf
... ... @@ -1,35 +0,0 @@
1   -[Version]
2   -Signature="$Windows NT$"
3   -Class=Ports
4   -ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
5   -Provider=%ProviderName%
6   -DriverVer=10/15/2009,1.0.0.0
7   -
8   -[MANUFACTURER]
9   -%ProviderName%=DeviceList, NTx86, NTamd64
10   -
11   -[DeviceList.NTx86]
12   -%Stk500v2%=DriverInstall,USB\VID_0403&PID_A662
13   -
14   -[DeviceList.NTamd64]
15   -%Stk500v2%=DriverInstall,USB\VID_0403&PID_A662
16   -
17   -[DefaultInstall]
18   -CopyInf=Stk500v2.inf
19   -
20   -[DriverInstall]
21   -include=mdmcpq.inf
22   -CopyFiles=FakeModemCopyFileSection
23   -AddReg=LowerFilterAddReg,SerialPropPageAddReg
24   -
25   -[DriverInstall.Services]
26   -include = mdmcpq.inf
27   -AddService = usbser, 0x00000002, LowerFilter_Service_Inst
28   -
29   -; This adds the serial port property tab to the device properties dialog
30   -[SerialPropPageAddReg]
31   -HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
32   -
33   -[Strings]
34   -ProviderName = "www.cpustick.com"
35   -Stk500v2 = "Stk500v2"
BIN  build/windows/dist/drivers/chipKIT Drivers/DIFxAPI_x64.dll
Binary file not shown
BIN  build/windows/dist/drivers/chipKIT Drivers/DIFxAPI_x86.dll
Binary file not shown
46 build/windows/dist/drivers/chipKIT Drivers/ReadMe.txt
... ... @@ -0,0 +1,46 @@
  1 +Version 1.0 of Drivers for USB Serial chipKIT/MPIDE
  2 +
  3 +
  4 +* ReadMe.txt file
  5 +
  6 +The USBDriverInstaller.exe will allow you to install or remove the drivers for your chipKIT based
  7 +product (Fubarino SD, Fubarino Mini, etc.) These drivers are necessary for Windows to understand
  8 +how to communicate with the board. The drivers will be used for the upload process (bootloading)
  9 +as well as communicating with the PC while your sketch is running if you use the USB serial port.
  10 +
  11 +
  12 +* Platforms Supported (for this driver - Mac OS and Linux do not need drivers):
  13 +
  14 +Windows XP, Vista, Windows 7 and Windows 8. 32 and 64 bit versions of each are supported.
  15 +
  16 +
  17 +* Instructions for installing USB drivers:
  18 +
  19 +1) With your board disconnected from your computer, run the USBDriverInstaller.exe
  20 +2) If the User Account Control asks if you want to run the application, click "Yes".
  21 +3) Click on the "Install Drivers" button.
  22 +4) If Windows Security complains that it can't verify the publisher of the driver,
  23 +click "Install this driver software anyway"
  24 +5) If Software Installation complains that "The software you are installing has not passed
  25 +Windows Logo testing . . .", then click "Continue Anyway".
  26 +6) Wait for message saying "Complete: Driver was pre-installed", then close the application.
  27 +
  28 +Now the drivers are installed, so when you plug your board into your computer, Windows will either
  29 +not ask you for anything and just install the new device (Vista, Win7, Win8) or it will ask you to
  30 +find drivers and you can always just click on "Install the software automatically"
  31 +and it will find the driver on its own. You may have to click "Continue Anyway" if it asks
  32 +about the drivers not being Windows Logo Certified.
  33 +
  34 +
  35 +* Support
  36 +
  37 +If you have any questions, or find any problems with this software, please contact
  38 +Brian Schmalz at brian@schmalzhaus.com.
  39 +
  40 +This application was developed by Microchip to support their PIC microcontrollers. It is contained
  41 +in the Microchip Application Library (MAL) which can be found at http://www.microchip.com/MAL
  42 +
  43 +
  44 +* Version History:
  45 +
  46 +03/31/2013 : First published
106 build/windows/dist/drivers/chipKIT Drivers/Stk500v2.inf
... ... @@ -0,0 +1,106 @@
  1 +;---------------------------------------------------------------------------------
  2 +;Note: When the driver package is signed, any modifications to this .inf file will
  3 +;break the signature, and the driver package will need to be re-signed.
  4 +;---------------------------------------------------------------------------------
  5 +; Modified Windows USB CDC Abstract Control Model Serial Driver Setup File
  6 +; Modified from examples provided by Microchip
  7 +
  8 +[Version]
  9 +Signature="$Windows NT$"
  10 +Class=Ports
  11 +ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
  12 +Provider=%MFGNAME%
  13 +CatalogFile=%MFGFILENAME%.cat
  14 +DriverVer=03/31/2013,1.1.0.0
  15 +
  16 +[Manufacturer]
  17 +%MFGNAME%=DeviceList,NTamd64
  18 +
  19 +
  20 +;------------------------------------------------------------------------------
  21 +; Vendor and Product ID Definitions
  22 +;------------------------------------------------------------------------------
  23 +; When developing your USB device, the VID and PID used in the PC side
  24 +; application program and the firmware on the microcontroller must match.
  25 +; The VID and PID can be changed in the USB device descriptor and on the below
  26 +; lines in this file. If you modify this .inf file to customize it for your
  27 +; device, please remove all existing Microchip (VID 0x04D8) entries from
  28 +; the device lists.
  29 +;------------------------------------------------------------------------------
  30 +[DeviceList]
  31 +%DESCRIPTION%=DriverInstall,USB\VID_0403&PID_A662
  32 +
  33 +[DeviceList.NTamd64]
  34 +%DESCRIPTION%=DriverInstall,USB\VID_0403&PID_A662
  35 +
  36 +
  37 +;------------------------------------------------------------------------------
  38 +; Windows 32bit OSes Section
  39 +;------------------------------------------------------------------------------
  40 +[DriverInstall.nt]
  41 +include=mdmcpq.inf
  42 +CopyFiles=FakeModemCopyFileSection
  43 +AddReg=DriverInstall.nt.AddReg
  44 +
  45 +[DriverInstall.nt.AddReg]
  46 +HKR,,DevLoader,,*ntkern
  47 +HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
  48 +HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
  49 +
  50 +[DriverInstall.NT.Services]
  51 +include=mdmcpq.inf
  52 +AddService=usbser, 0x00000002, LowerFilter_Service_Inst
  53 +
  54 +
  55 +;------------------------------------------------------------------------------
  56 +; Windows 64bit OSes Section
  57 +;------------------------------------------------------------------------------
  58 +[DriverInstall.NTamd64]
  59 +include=mdmcpq.inf
  60 +CopyFiles=FakeModemCopyFileSection
  61 +AddReg=DriverInstall.NTamd64.AddReg
  62 +
  63 +[DriverInstall.NTamd64.AddReg]
  64 +HKR,,DevLoader,,*ntkern
  65 +HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
  66 +HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
  67 +
  68 +[DriverInstall.NTamd64.Services]
  69 +include=mdmcpq.inf
  70 +AddService=usbser, 0x00000002, LowerFilter_Service_Inst
  71 +
  72 +
  73 +;------------------------------------------------------------------------------
  74 +; Common Sections
  75 +;------------------------------------------------------------------------------
  76 +[DestinationDirs]
  77 +DefaultDestDir=12
  78 +
  79 +[SourceDisksNames]
  80 +
  81 +[SourceDisksFiles]
  82 +
  83 +[FakeModemCopyFileSection]
  84 +
  85 +[LowerFilter_Service_Inst]
  86 +DisplayName= %SERVICE%
  87 +ServiceType= 1
  88 +StartType = 3
  89 +ErrorControl = 0
  90 +ServiceBinary = %12%\usbser.sys
  91 +
  92 +
  93 +;------------------------------------------------------------------------------
  94 +; String Definitions
  95 +;------------------------------------------------------------------------------
  96 +; These strings can be modified to customize your device
  97 +;------------------------------------------------------------------------------
  98 +[Strings]
  99 +MFGFILENAME="Stk500v2"
  100 +DRIVERFILENAME ="usbser"
  101 +MFGNAME="chipKIT/MPIDE"
  102 +DESCRIPTION="chipKIT USB Serial (Stk500v2 compatible)"
  103 +SERVICE="chipKIT USB Serial Driver"
  104 +
  105 +
  106 +
BIN  build/windows/dist/drivers/chipKIT Drivers/USBDriverInstaller.exe
Binary file not shown
BIN  build/windows/dist/drivers/chipKIT Drivers/chipKITDriverInstaller_v10.exe
Binary file not shown
BIN  build/windows/dist/drivers/chipKIT Drivers/stk500v2.cat
Binary file not shown
51 build/windows/dist/drivers/chipKIT Drivers/stk500v2InstallerScript.nsi
... ... @@ -0,0 +1,51 @@
  1 +; installscript.nsi
  2 +;
  3 +; An NSIS document for creating a windows installer.
  4 +; Place this document in a directory with all of the
  5 +; items that should be installed into the end user's
  6 +; extensions directory, including the 'serial' folder.
  7 +;
  8 +;--------------------------------
  9 +
  10 +; The name of the installer
  11 +Name "chipKIT USB Serial Driver Installer"
  12 +
  13 +; The file to write
  14 +OutFile "chipKITDriverInstaller_v10.exe"
  15 +
  16 +; The default installation directory
  17 +InstallDir "$EXEDIR"
  18 +
  19 +; Request application privileges for Windows Vista
  20 +RequestExecutionLevel admin
  21 +
  22 +; Directory dialog text header::
  23 +DirText "This appliation installs the chipKIT USB \
  24 +serial drivers into the same direocty that the application \
  25 +is run from."
  26 +
  27 +;--------------------------------
  28 +
  29 +; Pages
  30 +
  31 +Page directory
  32 +Page instfiles
  33 +
  34 +;--------------------------------
  35 +
  36 +; The stuff to install
  37 +Section "" ;No components page, name is not important
  38 +
  39 + ; Set output path to the installation directory.
  40 + SetOutPath $INSTDIR
  41 +
  42 + ; Put file there
  43 + File "USBDriverInstaller.exe"
  44 + File "DIFxAPI_x64.dll"
  45 + File "DIFxAPI_x86.dll"
  46 + File "stk500v2.cat"
  47 + File "Stk500v2.inf"
  48 + File "ReadMe.txt"
  49 + ExecWait '"$INSTDIR\USBDriverINstaller.exe" -auto'
  50 +
  51 +SectionEnd ; end the section

0 comments on commit 5d2d0ff

Please sign in to comment.
Something went wrong with that request. Please try again.