Skip to content
Browse files

Updated Stk500v2.inf to use chipKIT/MPIDE as manufacturer.

Created signed cat file for above.
Created installer exe file to run Microchip's installer executable.
  • Loading branch information...
1 parent 8bba055 commit ecef8926fa2e796dd7b2fffc48a923e6d341426c @EmbeddedMan EmbeddedMan committed Mar 31, 2013
View
35 build/windows/dist/drivers/Stk500v2.inf
@@ -1,35 +0,0 @@
-[Version]
-Signature="$Windows NT$"
-Class=Ports
-ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
-Provider=%ProviderName%
-DriverVer=10/15/2009,1.0.0.0
-
-[MANUFACTURER]
-%ProviderName%=DeviceList, NTx86, NTamd64
-
-[DeviceList.NTx86]
-%Stk500v2%=DriverInstall,USB\VID_0403&PID_A662
-
-[DeviceList.NTamd64]
-%Stk500v2%=DriverInstall,USB\VID_0403&PID_A662
-
-[DefaultInstall]
-CopyInf=Stk500v2.inf
-
-[DriverInstall]
-include=mdmcpq.inf
-CopyFiles=FakeModemCopyFileSection
-AddReg=LowerFilterAddReg,SerialPropPageAddReg
-
-[DriverInstall.Services]
-include = mdmcpq.inf
-AddService = usbser, 0x00000002, LowerFilter_Service_Inst
-
-; This adds the serial port property tab to the device properties dialog
-[SerialPropPageAddReg]
-HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
-
-[Strings]
-ProviderName = "www.cpustick.com"
-Stk500v2 = "Stk500v2"
View
BIN build/windows/dist/drivers/chipKIT Drivers/DIFxAPI_x64.dll
Binary file not shown.
View
BIN build/windows/dist/drivers/chipKIT Drivers/DIFxAPI_x86.dll
Binary file not shown.
View
46 build/windows/dist/drivers/chipKIT Drivers/ReadMe.txt
@@ -0,0 +1,46 @@
+Version 1.0 of Drivers for USB Serial chipKIT/MPIDE
+
+
+* ReadMe.txt file
+
+The USBDriverInstaller.exe will allow you to install or remove the drivers for your chipKIT based
+product (Fubarino SD, Fubarino Mini, etc.) These drivers are necessary for Windows to understand
+how to communicate with the board. The drivers will be used for the upload process (bootloading)
+as well as communicating with the PC while your sketch is running if you use the USB serial port.
+
+
+* Platforms Supported (for this driver - Mac OS and Linux do not need drivers):
+
+Windows XP, Vista, Windows 7 and Windows 8. 32 and 64 bit versions of each are supported.
+
+
+* Instructions for installing USB drivers:
+
+1) With your board disconnected from your computer, run the USBDriverInstaller.exe
+2) If the User Account Control asks if you want to run the application, click "Yes".
+3) Click on the "Install Drivers" button.
+4) If Windows Security complains that it can't verify the publisher of the driver,
+click "Install this driver software anyway"
+5) If Software Installation complains that "The software you are installing has not passed
+Windows Logo testing . . .", then click "Continue Anyway".
+6) Wait for message saying "Complete: Driver was pre-installed", then close the application.
+
+Now the drivers are installed, so when you plug your board into your computer, Windows will either
+not ask you for anything and just install the new device (Vista, Win7, Win8) or it will ask you to
+find drivers and you can always just click on "Install the software automatically"
+and it will find the driver on its own. You may have to click "Continue Anyway" if it asks
+about the drivers not being Windows Logo Certified.
+
+
+* Support
+
+If you have any questions, or find any problems with this software, please contact
+Brian Schmalz at brian@schmalzhaus.com.
+
+This application was developed by Microchip to support their PIC microcontrollers. It is contained
+in the Microchip Application Library (MAL) which can be found at http://www.microchip.com/MAL
+
+
+* Version History:
+
+03/31/2013 : First published
View
106 build/windows/dist/drivers/chipKIT Drivers/Stk500v2.inf
@@ -0,0 +1,106 @@
+;---------------------------------------------------------------------------------
+;Note: When the driver package is signed, any modifications to this .inf file will
+;break the signature, and the driver package will need to be re-signed.
+;---------------------------------------------------------------------------------
+; Modified Windows USB CDC Abstract Control Model Serial Driver Setup File
+; Modified from examples provided by Microchip
+
+[Version]
+Signature="$Windows NT$"
+Class=Ports
+ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
+Provider=%MFGNAME%
+CatalogFile=%MFGFILENAME%.cat
+DriverVer=03/31/2013,1.1.0.0
+
+[Manufacturer]
+%MFGNAME%=DeviceList,NTamd64
+
+
+;------------------------------------------------------------------------------
+; Vendor and Product ID Definitions
+;------------------------------------------------------------------------------
+; When developing your USB device, the VID and PID used in the PC side
+; application program and the firmware on the microcontroller must match.
+; The VID and PID can be changed in the USB device descriptor and on the below
+; lines in this file. If you modify this .inf file to customize it for your
+; device, please remove all existing Microchip (VID 0x04D8) entries from
+; the device lists.
+;------------------------------------------------------------------------------
+[DeviceList]
+%DESCRIPTION%=DriverInstall,USB\VID_0403&PID_A662
+
+[DeviceList.NTamd64]
+%DESCRIPTION%=DriverInstall,USB\VID_0403&PID_A662
+
+
+;------------------------------------------------------------------------------
+; Windows 32bit OSes Section
+;------------------------------------------------------------------------------
+[DriverInstall.nt]
+include=mdmcpq.inf
+CopyFiles=FakeModemCopyFileSection
+AddReg=DriverInstall.nt.AddReg
+
+[DriverInstall.nt.AddReg]
+HKR,,DevLoader,,*ntkern
+HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
+HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
+
+[DriverInstall.NT.Services]
+include=mdmcpq.inf
+AddService=usbser, 0x00000002, LowerFilter_Service_Inst
+
+
+;------------------------------------------------------------------------------
+; Windows 64bit OSes Section
+;------------------------------------------------------------------------------
+[DriverInstall.NTamd64]
+include=mdmcpq.inf
+CopyFiles=FakeModemCopyFileSection
+AddReg=DriverInstall.NTamd64.AddReg
+
+[DriverInstall.NTamd64.AddReg]
+HKR,,DevLoader,,*ntkern
+HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
+HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
+
+[DriverInstall.NTamd64.Services]
+include=mdmcpq.inf
+AddService=usbser, 0x00000002, LowerFilter_Service_Inst
+
+
+;------------------------------------------------------------------------------
+; Common Sections
+;------------------------------------------------------------------------------
+[DestinationDirs]
+DefaultDestDir=12
+
+[SourceDisksNames]
+
+[SourceDisksFiles]
+
+[FakeModemCopyFileSection]
+
+[LowerFilter_Service_Inst]
+DisplayName= %SERVICE%
+ServiceType= 1
+StartType = 3
+ErrorControl = 0
+ServiceBinary = %12%\usbser.sys
+
+
+;------------------------------------------------------------------------------
+; String Definitions
+;------------------------------------------------------------------------------
+; These strings can be modified to customize your device
+;------------------------------------------------------------------------------
+[Strings]
+MFGFILENAME="Stk500v2"
+DRIVERFILENAME ="usbser"
+MFGNAME="chipKIT/MPIDE"
+DESCRIPTION="chipKIT USB Serial (Stk500v2 compatible)"
+SERVICE="chipKIT USB Serial Driver"
+
+
+
View
BIN build/windows/dist/drivers/chipKIT Drivers/USBDriverInstaller.exe
Binary file not shown.
View
BIN build/windows/dist/drivers/chipKIT Drivers/chipKITDriverInstaller_v10.exe
Binary file not shown.
View
BIN build/windows/dist/drivers/chipKIT Drivers/stk500v2.cat
Binary file not shown.
View
51 build/windows/dist/drivers/chipKIT Drivers/stk500v2InstallerScript.nsi
@@ -0,0 +1,51 @@
+; installscript.nsi
+;
+; An NSIS document for creating a windows installer.
+; Place this document in a directory with all of the
+; items that should be installed into the end user's
+; extensions directory, including the 'serial' folder.
+;
+;--------------------------------
+
+; The name of the installer
+Name "chipKIT USB Serial Driver Installer"
+
+; The file to write
+OutFile "chipKITDriverInstaller_v10.exe"
+
+; The default installation directory
+InstallDir "$EXEDIR"
+
+; Request application privileges for Windows Vista
+RequestExecutionLevel admin
+
+; Directory dialog text header::
+DirText "This appliation installs the chipKIT USB \
+serial drivers into the same direocty that the application \
+is run from."
+
+;--------------------------------
+
+; Pages
+
+Page directory
+Page instfiles
+
+;--------------------------------
+
+; The stuff to install
+Section "" ;No components page, name is not important
+
+ ; Set output path to the installation directory.
+ SetOutPath $INSTDIR
+
+ ; Put file there
+ File "USBDriverInstaller.exe"
+ File "DIFxAPI_x64.dll"
+ File "DIFxAPI_x86.dll"
+ File "stk500v2.cat"
+ File "Stk500v2.inf"
+ File "ReadMe.txt"
+ ExecWait '"$INSTDIR\USBDriverINstaller.exe" -auto'
+
+SectionEnd ; end the section

0 comments on commit ecef892

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