summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcpldcpu <cpldcpu@gmail.com>2015-08-03 20:56:35 +0200
committercpldcpu <cpldcpu@gmail.com>2015-08-03 20:56:35 +0200
commitcff515c3b39aaa3e52b004226e9b4c9a4f73a1bc (patch)
tree744be823466778bcafc9b46d67e61e346dccaa36
parent83ac1db46955d6130e15e45d85b995d33b417692 (diff)
downloadmicronucleus-cff515c3b39aaa3e52b004226e9b4c9a4f73a1bc.tar.gz
micronucleus-cff515c3b39aaa3e52b004226e9b4c9a4f73a1bc.tar.bz2
micronucleus-cff515c3b39aaa3e52b004226e9b4c9a4f73a1bc.zip
firmware: fix win 10 issue
-rw-r--r--Readme.txt17
-rw-r--r--firmware/configuration/Nanite841/Makefile.inc2
-rw-r--r--firmware/main.c2
3 files changed, 13 insertions, 8 deletions
diff --git a/Readme.txt b/Readme.txt
index b8e71a4..80f3801 100644
--- a/Readme.txt
+++ b/Readme.txt
@@ -1,4 +1,4 @@
-Micronucleus V2.01
+Micronucleus V2.02
==================
Micronucleus is a bootloader designed for AVR ATtiny microcontrollers with a minimal usb interface, cross platform libusb-based program upload tool, and a strong emphasis on bootloader compactness. To the authors knowledge this is, by far, the smallest USB bootloader for AVR ATtiny
@@ -42,12 +42,12 @@ To allow maximum flexibility, micronucleus supports a configuration system. To c
Currently, the following configurations are included and tested. Please check the subfolders /firmware/configurations/ for details. Hex files can be found in /releases.
-t84_default - ATtiny84A default configuration - 1560 bytes
-t841_default - ATtiny841 default configuration - 1612 bytes
-t85_default - ATtiny85 default configuration - 1614 bytes
+t84_default - ATtiny84A default configuration - 1538 bytes
+t841_default - ATtiny841 default configuration - 1590 bytes
+t85_default - ATtiny85 default configuration - 1592 bytes
t85_aggressive - ATtiny85 smaller size - critical - 1422 bytes
t167_default - ATtiny167 default (uses xtal) - 1418 bytes
-Nanite841 - Nanite841 firmware - 1634 bytes
+Nanite841 - Nanite841 firmware - 1614 bytes
You can add your own configuration by adding a new folder to /firmware/configurations/. The folder has to contain a customized "Makefile.inc" and "bootloaderconfig.h". Feel free to supply a pull request if you added and tested a previously unsupported device.
@@ -107,7 +107,12 @@ 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 µs. This led to an issue
+ with osccalASM.S, which did not terminate correctly.
+
+
Credits
=======
diff --git a/firmware/configuration/Nanite841/Makefile.inc b/firmware/configuration/Nanite841/Makefile.inc
index 79e84a3..e147248 100644
--- a/firmware/configuration/Nanite841/Makefile.inc
+++ b/firmware/configuration/Nanite841/Makefile.inc
@@ -15,7 +15,7 @@ DEVICE = attiny841
# - for the size of your device (8kb = 1024 * 8 = 8192) subtract above value 2124... = 6068
# - How many pages in is that? 6068 / 64 (tiny85 page size in bytes) = 94.8125
# - round that down to 94 - our new bootloader address is 94 * 64 = 6016, in hex = 1780
-BOOTLOADER_ADDRESS = 1940
+BOOTLOADER_ADDRESS = 1980
FUSEOPT = -U lfuse:w:0xe2:m -U hfuse:w:0xdd:m -U efuse:w:0xfe:m
FUSEOPT_DISABLERESET = # TODO
diff --git a/firmware/main.c b/firmware/main.c
index ddd03e3..bcfa91e 100644
--- a/firmware/main.c
+++ b/firmware/main.c
@@ -12,7 +12,7 @@
*/
#define MICRONUCLEUS_VERSION_MAJOR 2
-#define MICRONUCLEUS_VERSION_MINOR 1
+#define MICRONUCLEUS_VERSION_MINOR 2
#include <avr/io.h>
#include <avr/pgmspace.h>