summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcpldcpu <cpldcpu@gmail.com>2015-06-15 02:08:41 +0200
committercpldcpu <cpldcpu@gmail.com>2015-06-15 02:08:41 +0200
commitc2c3125d000b34b7b828e364b43216069aea5878 (patch)
treeb5f143b6b6b2eb9938bab07bce4c377389d64db6
parent8bc91379aedd457e9186f6a87c3efe59c02d35f9 (diff)
downloadmicronucleus-2.0b.tar.gz
micronucleus-2.0b.tar.bz2
micronucleus-2.0b.zip
firmware: Fix configuration for ATtiny1672.0b
-rw-r--r--firmware/configuration/t167_default/Makefile.inc2
-rw-r--r--firmware/configuration/t167_default/bootloaderconfig.h12
-rw-r--r--firmware/releases/t167_default.hex178
3 files changed, 97 insertions, 95 deletions
diff --git a/firmware/configuration/t167_default/Makefile.inc b/firmware/configuration/t167_default/Makefile.inc
index ca17884..8610307 100644
--- a/firmware/configuration/t167_default/Makefile.inc
+++ b/firmware/configuration/t167_default/Makefile.inc
@@ -15,7 +15,7 @@ DEVICE = attiny167
# - 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 = 3980
+BOOTLOADER_ADDRESS = 3A00
FUSEOPT = # TODO
FUSEOPT_DISABLERESET = # TODO
diff --git a/firmware/configuration/t167_default/bootloaderconfig.h b/firmware/configuration/t167_default/bootloaderconfig.h
index 8c29913..01890a7 100644
--- a/firmware/configuration/t167_default/bootloaderconfig.h
+++ b/firmware/configuration/t167_default/bootloaderconfig.h
@@ -4,14 +4,14 @@
* according to the hardware.
*
* Controller type: ATtiny 167 - 16 MHz with crystal
- * Configuration: Standard configuration
+ * Configuration: Standard configuration - Follows Digispark Pro defaults
* USB D- : PB3
- * USB D+ : PB4
+ * USB D+ : PB6
* Entry : Always
- * LED : None
+ * LED : Active High on PB1
* OSCCAL : No change due to external crystal
* Note: Uses 16 MHz V-USB implementation.
- * Last Change: Mar 16,2014
+ * Last Change: JUn 15,2015
*
* License: GNU GPL v2 (see License.txt
*/
@@ -33,7 +33,7 @@
/* This is the bit number in USB_CFG_IOPORT where the USB D- line is connected.
* This may be any bit in the port.
*/
-#define USB_CFG_DPLUS_BIT 4
+#define USB_CFG_DPLUS_BIT 6
/* This is the bit number in USB_CFG_IOPORT where the USB D+ line is connected.
* This may be any bit in the port, but must be configured as a pin change interrupt.
*/
@@ -222,7 +222,7 @@
*
*/
-#define LED_MODE NONE
+#define LED_MODE ACTIVE_HIGH
#define LED_DDR DDRB
#define LED_PORT PORTB
diff --git a/firmware/releases/t167_default.hex b/firmware/releases/t167_default.hex
index e5e51be..e88a98d 100644
--- a/firmware/releases/t167_default.hex
+++ b/firmware/releases/t167_default.hex
@@ -1,89 +1,91 @@
-:1039800018C00000397A80059487090212000101ED
-:103990000080320904000000000000001201100144
-:1039A000FF000008D01653070002000000010403C6
-:1039B000090411241FBECEEFD2E0CDBFDEBF21E04F
-:1039C000A0E0B1E001C01D92AC32B207E1F742C104
-:1039D000A82FB92F80E090E041E050EA609530E0F8
-:1039E00009C02D9182279795879510F084279527F8
-:1039F000305EC8F36F5FA8F30895EADF8D939D935F
-:103A00000895CF93CFB7CF93DF93C3951B9BE9F76F
-:103A10001B9B0BC01B9B09C01B9B07C01B9B05C0AE
-:103A20001B9B03C01B9B01C08FC06F93C0910E01F5
-:103A3000DD27CA5EDE4F2F9365E51B9B03C02F91E8
-:103A40006F91E6CF0F931F934F9320E040E15F9378
-:103A500003B1087103FB27F93F9350E03BE039C005
-:103A6000187140642F77012F5F5F1EC0406813B14B
-:103A700018712F7752501FC0406403B12F7708711F
-:103A8000D1F15F5F00C023C0406213B12F7718717E
-:103A900091F15F5F00C025C008711027515012F4EA
-:103AA0005D5F0000115027952C3F13B1C8F61871C7
-:103AB0000127015027952C3FC8F64227499303B1AF
-:103AC000087110274F73115027952C3FA8F6469583
-:103AD000469513B1187179F00127015027952C3FB5
-:103AE00098F66B5A60F3315003B1B0F600C012E0A3
-:103AF0001BBB00271DC03B503195C31BD04012E0BB
-:103B00001BBB0881033C29F10B3419F120910C01F6
-:103B10001981110F1213EDCF093651F10D3211F049
-:103B2000013E39F7CAE01BB311FD02C0CA95D9F7AF
-:103B3000009314013F915F914F911F910F912F912D
-:103B40006F91CBB3C1FD61CFDF91CF91CFBFCF914B
-:103B5000089520911401222369F310911201112379
-:103B600009F534300AF13093120120930D011CC085
-:103B7000009112010130B4F40AE530910F0134FDD7
-:103B800014C000930F01C1E0D1E013C0052710E07D
-:103B900000C0000005B91AC0052710E0221F1DC093
-:103BA00010E021C04AE502C032ED432FC4E1D0E06D
-:103BB00032E014B118612B9A05B114B958E120E82C
-:103BC00065E320FF052705B9279517951C3FF0F6FB
-:103BD0006695B8F7B1F720FF052705B92795179522
-:103BE0001C3FD0F62795179517FF052700001C3FAF
-:103BF00005B9B0F629913A9519F7077E109113018E
-:103C0000110FC651D04005B911F010930C0112E00C
-:103C10001BBB086014B1177E402F477E54E05A95B5
-:103C2000F1F705B914B945B985CFF201309731F0F4
-:103C3000E230F10529F480EC9CE102C08CE094E9CB
-:103C400021E00C0120935700E8951124CF01029642
-:103C50002C01089514BE88E18093600087E0809372
-:103C60006000239A2FEF85EA9EE02150804090402B
-:103C7000E1F700C0000023988AE580930F018FEFE1
-:103C80008093000180916C00806180936C00809132
-:103C90006800826080936800712C312C412C512C7B
-:103CA00084E1C5EDD4E193B1987109F084E18150CC
-:103CB00021F41092130110920C01D99B03C0A1DED4
-:103CC000712C03C02197209771F7A89522E032123A
-:103CD0000CC0E0E8F9E3E058F10983E08093570075
-:103CE000E8953097C1F7412C512C832D803459F43D
-:103CF000F2013297E03889E3F80750F485E08093C9
-:103D00005700E89505C0843019F4CD2B11F4E8C0B4
-:103D1000312C80911201835087FD98C090910D0144
-:103D20009D3209F091C0883009F08EC083EC8093F9
-:103D300001018AE580930F0190911701907680919F
-:103D40001801992361F1811108C084E899E39093E7
-:103D500011018093100126E06CC0813059F44114A8
-:103D6000510409F44CC080911B018078482E50907A
-:103D70001C0145C0833081F48091190190911A0192
-:103D800054DF80911B0190911C014FDF842D8F77B0
-:103D9000B1F580E4382E33C08F73382E30C0909147
-:103DA000190110920A01811106C010920B018AE0DC
-:103DB00091E022E03AC0853019F49093130127C0B6
-:103DC0008630F9F480911A01813019F48CE999E375
-:103DD00004C0823041F48AE899E390931101809302
-:103DE000100122E126C0833051F4911108C08EEAFF
-:103DF00099E3909311018093100124E01AC020E010
-:103E000018C0883079F0893031F4909315018AE038
-:103E100091E020E00AC021E08A3009F020E08AE049
-:103E200091E003C085E191E021E09093110180933E
-:103E3000100180911E01811105C080911D01821722
-:103E400008F4282F209300011092120180910F0195
-:103E500084FF31C0809100018F3F69F1C82F893004
-:103E600008F0C8E08C1B809300018091010198E864
-:103E7000892780930101CC2391F0E0911001F0910A
-:103E8000110182E091E0DC0124912D9331962C2FD9
-:103E9000280F2A13F9CFF0931101E09310016C2F32
-:103EA00082E091E0AADDCC5FCC3019F08FEF8093F7
-:103EB0000001C0930F01C30101963C01803B944077
-:103EC00029F4EDE7F9E3E491EF3F51F4D99BE8CE13
-:103ED00080E21C9980E28150E1F782E08BBBE0CE6A
-:0E3EE000239A1092680010926C0048CDFFCF1C
-:040000030000398040
+:103A000018C0000039FA80059487090212000101EC
+:103A100000803209040000000000000012011001C3
+:103A2000FF000008D0165307000200000001040345
+:103A3000090411241FBECEEFD2E0CDBFDEBF21E0CE
+:103A4000A0E0B1E001C01D92AC32B207E1F742C183
+:103A5000A82FB92F80E090E041E050EA609530E077
+:103A600009C02D9182279795879510F08427952777
+:103A7000305EC8F36F5FA8F30895EADF8D939D93DE
+:103A80000895CF93CFB7CF93DF93C3951B9BE9F7EF
+:103A90001B9B0BC01B9B09C01B9B07C01B9B05C02E
+:103AA0001B9B03C01B9B01C08FC06F93C0910E0175
+:103AB000DD27CA5EDE4F2F9365E51B9B03C02F9168
+:103AC0006F91E6CF0F931F934F9320E040E15F93F8
+:103AD00003B1087403FB27F93F9350E03BE039C082
+:103AE000187440642F77012F5F5F1EC0406813B1C8
+:103AF00018742F7752501FC0406403B12F77087499
+:103B0000D1F15F5F00C023C0406213B12F771874FA
+:103B100091F15F5F00C025C008741027515012F466
+:103B20005D5F0000115027952C3F13B1C8F6187443
+:103B30000127015027952C3FC8F64227499303B12E
+:103B4000087410274F73115027952C3FA8F64695FF
+:103B5000469513B1187479F00127015027952C3F31
+:103B600098F66B5A60F3315003B1B0F600C012E022
+:103B70001BBB00271DC03B503195C31BD04012E03A
+:103B80001BBB0881033C29F10B3419F120910C0176
+:103B90001981110F1213EDCF093651F10D3211F0C9
+:103BA000013E39F7CAE01BB311FD02C0CA95D9F72F
+:103BB000009314013F915F914F911F910F912F91AD
+:103BC0006F91CBB3C1FD61CFDF91CF91CFBFCF91CB
+:103BD000089520911401222369F3109112011123F9
+:103BE00009F534300AF13093120120930D011CC005
+:103BF000009112010130B4F40AE530910F0134FD57
+:103C000014C000930F01C1E0D1E013C0052710E0FC
+:103C100000C0000005B91AC0052710E0221F1DC012
+:103C200010E021C04AE502C032ED432FC4E1D0E0EC
+:103C300032E014B118642B9A05B114B958E420E8A5
+:103C400065E320FF052705B9279517951C3FF0F67A
+:103C50006695B8F7B1F720FF052705B927951795A1
+:103C60001C3FD0F62795179517FF052700001C3F2E
+:103C700005B9B0F629913A9519F7077B1091130110
+:103C8000110FC651D04005B911F010930C0112E08C
+:103C90001BBB086014B1177B402F477B54E05A953B
+:103CA000F1F705B914B945B985CFF201309731F074
+:103CB000E230F10529F480E09DE102C08CE094E956
+:103CC00021E00C0120935700E8951124CF010296C2
+:103CD0002C01089514BE88E18093600087E08093F2
+:103CE0006000239A2FEF85EA9EE0215080409040AB
+:103CF000E1F700C0000023988AE580930F018FEF61
+:103D00008093000180916C00806480936C008091AE
+:103D1000680082608093680082E084B9712C312C45
+:103D2000412C512C84E1C5EDD4E193B1987409F094
+:103D300084E1815021F41092130110920C01D99B5F
+:103D400003C09FDE712C03C02197209771F7A895BF
+:103D500022E032120CC0E0E0FAE3E058F10983E01F
+:103D600080935700E8953097C1F7412C512C832D53
+:103D7000803459F4F2013297E1158AE3F80750F4E0
+:103D800085E080935700E89505C0843019F4CD2B69
+:103D900011F4EEC0312C80911201835087FD98C040
+:103DA00090910D019D3209F091C0883009F08EC0CC
+:103DB00083EC809301018AE580930F0190911701B4
+:103DC000907680911801992361F1811108C084E0F7
+:103DD0009AE3909311018093100126E06CC081302A
+:103DE00059F44114510409F44CC080911B018078AE
+:103DF000482E50901C0145C0833081F480911901F8
+:103E000090911A0152DF80911B0190911C014DDFAE
+:103E1000842D8F77B1F580E4382E33C08F73382E20
+:103E200030C09091190110920A01811106C01092C0
+:103E30000B018AE091E022E03AC0853019F49093BA
+:103E4000130127C08630F9F480911A01813019F4EA
+:103E50008CE19AE304C0823041F48AE09AE39093C3
+:103E600011018093100122E126C0833051F4911199
+:103E700008C08EE29AE3909311018093100124E030
+:103E80001AC020E018C0883079F0893031F490935E
+:103E900015018AE091E020E00AC021E08A3009F0B3
+:103EA00020E08AE091E003C085E191E021E0909379
+:103EB00011018093100180911E01811105C0809134
+:103EC0001D01821708F4282F20930001109212017F
+:103ED00080910F0184FF31C0809100018F3F69F113
+:103EE000C82F893008F0C8E08C1B809300018091B6
+:103EF000010198E8892780930101CC2391F0E0919A
+:103F00001001F091110182E091E0DC0124912D93E8
+:103F100031962C2F280F2A13F9CFF0931101E0933B
+:103F200010016C2F82E091E0A8DDCC5FCC3019F05D
+:103F30008FEF80930001C0930F01C30101963C01F4
+:103F4000803B944029F4EDEFF9E3E491EF3F81F4F5
+:103F5000862D8C7411F0299801C0299AD99BE2CE44
+:103F600080E21E9980E28150E1F782E08BBBDACEDD
+:103F700021982998239A1092680010926C003ECDE7
+:023F8000FFCF71
+:0400000300003A00BF
:00000001FF