summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcpldcpu <cpldcpu@gmail.com>2015-08-19 19:34:05 +0200
committercpldcpu <cpldcpu@gmail.com>2015-08-19 19:34:05 +0200
commit87cc3f508236952517216c583a8468fa3240fc4b (patch)
tree3037a476790636ba2b565e237eaa404a21ac54e1
parente846fb350ee17d35b0ac9f73a2eaf82613f54c0e (diff)
downloadmicronucleus-87cc3f508236952517216c583a8468fa3240fc4b.tar.gz
micronucleus-87cc3f508236952517216c583a8468fa3240fc4b.tar.bz2
micronucleus-87cc3f508236952517216c583a8468fa3240fc4b.zip
Zadig driver installer for Win 10
-rw-r--r--Readme.txt3
-rw-r--r--windows_driver_installer/Driver_installation.md15
-rw-r--r--windows_driver_installer/Zadig.ini31
-rw-r--r--windows_driver_installer/micronucleus.cfg8
-rw-r--r--windows_driver_installer/zadig_2.1.2.exebin0 -> 5191512 bytes
-rw-r--r--windows_driver_installer/zadig_screenshot.gifbin0 -> 91528 bytes
6 files changed, 57 insertions, 0 deletions
diff --git a/Readme.txt b/Readme.txt
index 4719820..6b3841a 100644
--- a/Readme.txt
+++ b/Readme.txt
@@ -27,6 +27,8 @@ For proper timing, the command line tool should to be started on the host comput
Windows machines will need to install the libusb drivers found in the /windows_drivers folder. Clean Micronucleus devices without uploaded userprogram will not time out and allow sufficient time for proper driver installation. Linux and OS X do not require custom drivers.
+Windows 10: Installing unsigned drivers became more difficult in Windows 10. Please use the Zadig driver installer as provided in the /windows_driver_installer folder.
+
Please invoke the command line tool with "micronucleus -help" for a list of available options.
The bootloader resides in the same memory as the user program, since the ATtiny series does not support a protected bootloader section. Therefore, special care has to be taken not to overwrite the bootloader if the user program uses the self programming features. The bootloader will patch itself into the reset vector of the user program. No other interrupt vectors are changed.
@@ -107,6 +109,7 @@ Changes
reset depending on the duration of the reset button activation. Att: This may
lead to a "Unknown device" pop-up in Windows, if the user program does not have
USB functionality itself.
+
• v2.02 August 3rd, 2015
- Fixes timing bug with Windows 10 USB drivers. Some Win 10 drivers reduce the
delay between reset and the first data packet to 20 ms. This led to an issue
diff --git a/windows_driver_installer/Driver_installation.md b/windows_driver_installer/Driver_installation.md
new file mode 100644
index 0000000..14dac38
--- /dev/null
+++ b/windows_driver_installer/Driver_installation.md
@@ -0,0 +1,15 @@
+# Windows driver installation with Zadig #
+
+Zadig is an automated windows driver installer for libusb devices. It will automatically create a driver signature which prevents issues with unsigned driver on Windows 10 and earlier. The latest version of Zadig can be found here: [http://zadig.akeo.ie/](http://zadig.akeo.ie/). For convenience a copy is provided in this folder.
+
+Please proceed as follows to install the Micronucleus driver:
+
+1. Run Zadig_2.1.2.exe. The interface as shown below appears.
+2. In the menu go to *Device->Load Preset Device*. Select micronucleus.cfg
+3. Click the "Install Driver" button.
+
+The driver is now installed and Micronucleus should be ready to use.
+
+![](zadig_screenshot.gif)
+
+
diff --git a/windows_driver_installer/Zadig.ini b/windows_driver_installer/Zadig.ini
new file mode 100644
index 0000000..6a8ec55
--- /dev/null
+++ b/windows_driver_installer/Zadig.ini
@@ -0,0 +1,31 @@
+
+[general]
+ # Start application in advanced mode (default = false)
+ # advanced_mode = true
+ # Exit application upon successful driver installation (default = false)
+ exit_on_success = false
+ # Log level (0=debug, 1=info, 2=warning, 3=error)
+ # log_level = 0
+
+[device]
+ # List all devices, including the ones that already have a driver (default = false)
+ list_all = true
+ # Include hubs and composite parent devices when listing all (default = false)
+ include_hubs = true
+ # Trim trailing whitespaces from the USB device description (default = false)
+ trim_whitespaces = true
+
+[driver]
+ # Select the following as the default driver to install:
+ # WinUSB = 0, libusb0.sys = 1, libusbK.sys = 2, Custom = 3 (default = WinUSB)
+ default_driver = 1
+ # Extract driver files only, don't install (default = false)
+ extract_only = false
+ # Set the default destination directory for extraction of the driver files (default = "C:\\usb_driver")
+ default_dir = "C:\\usb_driver"
+
+[security]
+ # If embedded, install the following certificate to the Trusted Publisher store
+ # install_cert = "mycert.cer"
+ # If set to true, will silently install the cert provided above (not recommended)
+ # disable_cert_install_warning = false \ No newline at end of file
diff --git a/windows_driver_installer/micronucleus.cfg b/windows_driver_installer/micronucleus.cfg
new file mode 100644
index 0000000..8a27bca
--- /dev/null
+++ b/windows_driver_installer/micronucleus.cfg
@@ -0,0 +1,8 @@
+# Micronucleus Device description
+[device]
+ Description = "Micronucleus"
+ VID = 0x16d0
+ PID = 0x0753
+# MI = 0x01
+# You can also force a specific Device Interface GUID as follows
+# GUID = "{11111111-2222-3333-4444-555555555555}" \ No newline at end of file
diff --git a/windows_driver_installer/zadig_2.1.2.exe b/windows_driver_installer/zadig_2.1.2.exe
new file mode 100644
index 0000000..ace97a1
--- /dev/null
+++ b/windows_driver_installer/zadig_2.1.2.exe
Binary files differ
diff --git a/windows_driver_installer/zadig_screenshot.gif b/windows_driver_installer/zadig_screenshot.gif
new file mode 100644
index 0000000..8158f14
--- /dev/null
+++ b/windows_driver_installer/zadig_screenshot.gif
Binary files differ