Skip to content

Commit

Permalink
t45 adjusted
Browse files Browse the repository at this point in the history
  • Loading branch information
ArminJo committed Nov 4, 2021
1 parent 25911cd commit 022393d
Show file tree
Hide file tree
Showing 5 changed files with 220 additions and 222 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,10 @@ If not otherwise noted, the OSCCAL value is calibrated (+/- 1%) after boot for a
| **t167_entry_on_powerOn_<br/>activePullup_fastExit**<br/>[recommended configuration](#recommended-configuration) | 14970 | 1406 | [ENTRY_D_MINUS_PULLUP_ACTIVATED_AND_ENTRY_POWER_ON](#entry_d_minus_pullup_activated_and_entry_power_on-entry-condition), [FAST_EXIT_NO_USB_MS=300](#fast_exit_no_usb_ms-for-fast-bootloader-exit), LED_MODE=ACTIVE_HIGH<br/>For 16 MHz quartz |
| t167_entry_on_reset_<br/>activePullup_fastExit | 14970 | 1406 | [ENTRY_D_MINUS_PULLUP_ACTIVATED_AND_ENTRY_EXT_RESET](#entry_d_minus_pullup_activated_and_entry_ext_reset-entry-condition), [FAST_EXIT_NO_USB_MS=300](#fast_exit_no_usb_ms-for-fast-bootloader-exit), <br/>AUTO_EXIT_MS=15000 Bootloader timeout increased to 15 seconds (if connected to USB),<br/>LED_MODE=ACTIVE_HIGH.<br/>For 16 MHz quartz |
| | | | |
| t45_default | 2554 | 1514 | |
| t4313_default | 6714 | 1460 | |
| Nanite841 | 6586 | 1548 | |
| t841_default | 6650 | 1514 | |
| t84_default | 6650 | 1480 | |
| | | | |
| m168p_extclock | | 1498 | |
Expand Down
12 changes: 4 additions & 8 deletions firmware/build.log
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ Building Micronucleus configuration: t167_entry_on_reset_activePullup_fastExit
8K Device -- Codesize: 1406 bytes, BOOTLOADER_ADDRESS: 0x1A80, Free user memory 6778 bytes.
16K Device -- Codesize: 1406 bytes, BOOTLOADER_ADDRESS: 0x3A80, Free user memory 14970 bytes.
-
Building Micronucleus configuration: t4313_default
8K Device -- Codesize: 1460 bytes, BOOTLOADER_ADDRESS: 0x1A40, Free user memory 6714 bytes.
16K Device -- Codesize: 1460 bytes, BOOTLOADER_ADDRESS: 0x3A00, Free user memory 14842 bytes.
-
Building Micronucleus configuration: t45_default
8K Device -- Codesize: 1514 bytes, BOOTLOADER_ADDRESS: 0x1A00, Free user memory 6650 bytes.
16K Device -- Codesize: 1514 bytes, BOOTLOADER_ADDRESS: 0x3A00, Free user memory 14842 bytes.
Expand Down Expand Up @@ -78,11 +82,3 @@ Building Micronucleus configuration: t88_entry_on_powerOn_activePullup_fastExit
8K Device -- Codesize: 1394 bytes, BOOTLOADER_ADDRESS: 0x1A80, Free user memory 6778 bytes.
16K Device -- Codesize: 1394 bytes, BOOTLOADER_ADDRESS: 0x3A80, Free user memory 14970 bytes.
-
Building Micronucleus configuration: t4313_default
8K Device -- Codesize: 1460 bytes, BOOTLOADER_ADDRESS: 0x1A40, Free user memory 6714 bytes.
16K Device -- Codesize: 1460 bytes, BOOTLOADER_ADDRESS: 0x3A00, Free user memory 14842 bytes.
-
Building Micronucleus configuration: t4313_default
8K Device -- Codesize: 1460 bytes, BOOTLOADER_ADDRESS: 0x1A40, Free user memory 6714 bytes.
16K Device -- Codesize: 1460 bytes, BOOTLOADER_ADDRESS: 0x3A00, Free user memory 14842 bytes.
-
10 changes: 5 additions & 5 deletions firmware/configuration/t45_default/Makefile.inc
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
# Controller type: ATtiny 45 - 16.5 MHz
# Configuration: Default
# Last Change: Oct 9,2015


F_CPU = 16500000
DEVICE = attiny45

Expand All @@ -15,7 +15,7 @@ DEVICE = attiny45
# - 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 = 980
BOOTLOADER_ADDRESS = A00

FUSEOPT = -U lfuse:w:0xe1:m -U hfuse:w:0xdd:m -U efuse:w:0xfe:m
FUSEOPT_DISABLERESET = -U lfuse:w:0xe1:m -U efuse:w:0xfe:m -U hfuse:w:0x5d:m
Expand All @@ -31,7 +31,7 @@ FUSEOPT_DISABLERESET = -U lfuse:w:0xe1:m -U efuse:w:0xfe:m -U hfuse:w:0x5d:m
#
# Fuse high byte:
# 0xdd = 1 1 0 1 1 1 0 1
# ^ ^ ^ ^ ^ \-+-/
# ^ ^ ^ ^ ^ \-+-/
# | | | | | +------ BODLEVEL 2..0 (brownout trigger level -> 2.7V)
# | | | | +---------- EESAVE (preserve EEPROM on Chip Erase -> not preserved)
# | | | +-------------- WDTON (watchdog timer always on -> disable)
Expand All @@ -41,7 +41,7 @@ FUSEOPT_DISABLERESET = -U lfuse:w:0xe1:m -U efuse:w:0xfe:m -U hfuse:w:0x5d:m
#
# Fuse high byte ("no reset": external reset disabled, can't program through SPI anymore)
# 0x5d = 0 1 0 1 1 1 0 1
# ^ ^ ^ ^ ^ \-+-/
# ^ ^ ^ ^ ^ \-+-/
# | | | | | +------ BODLEVEL 2..0 (brownout trigger level -> 2.7V)
# | | | | +---------- EESAVE (preserve EEPROM on Chip Erase -> not preserved)
# | | | +-------------- WDTON (watchdog timer always on -> disable)
Expand Down
192 changes: 96 additions & 96 deletions firmware/releases/t45_default.hex
Original file line number Diff line number Diff line change
@@ -1,97 +1,97 @@
:1009800016C0097A40059206000009021200010112
:100990000080320904000000000000001201100174
:1009A000FF000008D01653070602000000011124C2
:1009B0001FBECFE5D1E0CDBFDEBF20E0A0E6B0E0B6
:1009C00001C01D92AC38B207E1F78DC1DC0180E0B7
:1009D00090E041E050EA609530E009C02D91822717
:1009E0009795879510F084279527305EC8F36F5F41
:1009F000A8F38D939D930895CF93DF93CC27C39550
:100A0000B39BE9F7B39B0BC0B39B09C0B39B07C073
:100A1000B39B05C0B39B03C0B39B01C0D1C00F9271
:100A20000F90C0916E00DD27CA58DF4F012EB39B97
:100A300003C00F920F90E6CF0F930F910F930F917A
:100A40002FEF4F6F06B303FB20F90F930F9150E088
:100A50003BE065C016B30126502953FDC89556B337
:100A6000012703FB25F92F7306B3B1F05027102798
:100A700013FB26F906B22230F0F000C016B30127AE
:100A800003FB27F90126502906B22430E8F54F77F9
:100A9000206816B30000F6CF50274F7D206206B2C3
:100AA000102F000000C006B300265029102713FBAA
:100AB00026F906B2E2CF4F7B06B3206400C0DACF3E
:100AC00001265029187106B269F14E7F2160012F6D
:100AD00016B328C0002650294D7F06B22260102F81
:100AE00029C0012650294B7F06B22460012F2DC05A
:100AF00016B301265029477F2860000006B22EC099
:100B00004F7E06B3206130C0422706B349930026CA
:100B10005029102706B24FEF13FB20F9297F16B397
:100B200079F2187159F10126502906B2012703FB09
:100B300021F9237F06B371F2002650293150D0F0FD
:100B400006B2102713FB22F9277E16B351F20126B5
:100B50005029012703FB06B223F92F7C49F200003C
:100B600006B3102713FB24F90026502906B22F796B
:100B700039F270CF10E21ABF00271DC03B503195EB
:100B8000C31BD04010E21ABF0881033CE1F00B34D4
:100B9000D1F020916C001981110F1213EDCF09369D
:100BA00009F10D3211F0013E39F7CAE01AB715FD0F
:100BB00002C0CA95D9F700937400CAB7C5FD1FCF0C
:100BC000DF91CF910895209174002223B1F3109109
:100BD00072001123F1F43430F2F03093720020935C
:100BE0006D0019C00091720001309CF40AE530914B
:100BF0006F0034FD11C000936F00C1E6D0E010C05B
:100C0000052710E000C021C0052710E0C89508BBEB
:100C100014C03AE501C032ED032EC0E0D0E032E06E
:100C200017B31861C39A08B317BB58E120E84FEF18
:100C300020FF052708BB279517951C3F28F70000C4
:100C40004552B0F720FF0527279508BB17951C3F95
:100C5000B8F629913A9561F7077E10917300110F4C
:100C600008BBC250D04011F010936C0010E21ABFC4
:100C7000086017B3177E402F477E54E05A95F1F76E
:100C800008BB17BB48BB99CFB39BFECF07D006D09C
:100C900001D000D09B5A71B7791B71BF6FEF80E212
:100CA0009927669576B37029809674FB67F906B22A
:100CB00003FE6623B1F70895F201309789F02AE721
:100CC000421629E0520611F481B790E021E00C01B0
:100CD00020935700E8951124CF0102962C01089526
:100CE0008FEB94ECF3CFEAE7F9E0E491EF3F11F0FA
:100CF000E1BF000088E181BD87E081BDBB9A88EB40
:100D00009BE0ECE9F1E03197F1F70197D1F7BB985F
:100D10008AE580936F008FEF80936000AC9A8BB769
:100D200080628BBF712C312C512C412CCCE7D5E14A
:100D300014E686B3887109F014E6115029F4109274
:100D4000730010926C00A0DF0AB605FE9CC054DE52
:100D500080E28ABFA89522E032120CC0E0E8F9E0F8
:100D6000E054F10983E080935700E8953097C1F78C
:100D7000512C412C832D803409F089C0F201329727
:100D8000E03889E0F80720F485E080935700E89583
:100D9000312C80917200835087FD2BC090916D00A3
:100DA0009D3229F5883019F583EC809361008AE53E
:100DB00080936F00809177008076909178008823EF
:100DC00009F498C0712C91116FC082E899E090935A
:100DD00071008093700088E090917E00911105C0B1
:100DE00090917D00981708F4892F809360001092ED
:100DF000720080916F0084FF30C0809160008F3F4F
:100E000061F1C82F893008F0C8E0982F9C1B90939F
:100E100060009091610028E89227909361008823F8
:100E200081F0E0917000F0917100A2E6B0E08C2FAB
:100E300094919D9331968150D9F7F0937100E0938E
:100E400070006C2F82E690E0C1DDCC5FCC3019F0F1
:100E50008FEF80936000C0936F00C30101963C0147
:100E6000803B944029F4EDE7F9E0E491EF3FA9F4E9
:100E70000AB605FE5BCF8DE1B39B8DE18150E1F7B2
:100E800080E28ABF53CF219709F053CF63CF8430DC
:100E900009F07ECFCD2B09F07CCF17BA1BBE15BA57
:100EA00084B781BB14BE6ACD913079F441145104EA
:100EB00011F480E091CF80917B00807C482E50908F
:100EC0007C0081E187BFE895F4CF933081F4809175
:100ED000790090917A00F0DE80917B0090917C0007
:100EE000EBDE842D8F7329F790E4392E75CF9F7335
:100EF000392EDFCF2091790010926A0091110AC03B
:100F000010926B002AE630E082E03093710020936B
:100F1000700062CF953029F4209373002AE630E008
:100F2000F4CF963091F480917A00813041F48CE9CD
:100F300099E0909371008093700082E14DCF8230F0
:100F400009F0B7CF8AE899E0F4CF983051F09930A2
:100F500019F420937500E2CF81E09A30F9F280E035
:0A0F6000DDCF25E730E081E0D0CFBF
:040000030000098070
:100A000016C009FA40059206000009021200010111
:100A100000803209040000000000000012011001F3
:100A2000FF000008D0165307060200000001112441
:100A30001FBECFE5D1E0CDBFDEBF20E0A0E6B0E035
:100A400001C01D92AC38B207E1F78DC1DC0180E036
:100A500090E041E050EA609530E009C02D91822796
:100A60009795879510F084279527305EC8F36F5FC0
:100A7000A8F38D939D930895CF93DF93CC27C395CF
:100A8000B39BE9F7B39B0BC0B39B09C0B39B07C0F3
:100A9000B39B05C0B39B03C0B39B01C0D1C00F92F1
:100AA0000F90C0916E00DD27CA58DF4F012EB39B17
:100AB00003C00F920F90E6CF0F930F910F930F91FA
:100AC0002FEF4F6F06B303FB20F90F930F9150E008
:100AD0003BE065C016B30126502953FDC89556B3B7
:100AE000012703FB25F92F7306B3B1F05027102718
:100AF00013FB26F906B22230F0F000C016B301272E
:100B000003FB27F90126502906B22430E8F54F7778
:100B1000206816B30000F6CF50274F7D206206B242
:100B2000102F000000C006B300265029102713FB29
:100B300026F906B2E2CF4F7B06B3206400C0DACFBD
:100B400001265029187106B269F14E7F2160012FEC
:100B500016B328C0002650294D7F06B22260102F00
:100B600029C0012650294B7F06B22460012F2DC0D9
:100B700016B301265029477F2860000006B22EC018
:100B80004F7E06B3206130C0422706B3499300264A
:100B90005029102706B24FEF13FB20F9297F16B317
:100BA00079F2187159F10126502906B2012703FB89
:100BB00021F9237F06B371F2002650293150D0F07D
:100BC00006B2102713FB22F9277E16B351F2012635
:100BD0005029012703FB06B223F92F7C49F20000BC
:100BE00006B3102713FB24F90026502906B22F79EB
:100BF00039F270CF10E21ABF00271DC03B5031956B
:100C0000C31BD04010E21ABF0881033CE1F00B3453
:100C1000D1F020916C001981110F1213EDCF09361C
:100C200009F10D3211F0013E39F7CAE01AB715FD8E
:100C300002C0CA95D9F700937400CAB7C5FD1FCF8B
:100C4000DF91CF910895209174002223B1F3109188
:100C500072001123F1F43430F2F0309372002093DB
:100C60006D0019C00091720001309CF40AE53091CA
:100C70006F0034FD11C000936F00C1E6D0E010C0DA
:100C8000052710E000C021C0052710E0C89508BB6B
:100C900014C03AE501C032ED032EC0E0D0E032E0EE
:100CA00017B31861C39A08B317BB58E120E84FEF98
:100CB00020FF052708BB279517951C3F28F7000044
:100CC0004552B0F720FF0527279508BB17951C3F15
:100CD000B8F629913A9561F7077E10917300110FCC
:100CE00008BBC250D04011F010936C0010E21ABF44
:100CF000086017B3177E402F477E54E05A95F1F7EE
:100D000008BB17BB48BB99CFB39BFECF07D006D01B
:100D100001D000D09B5A71B7791B71BF6FEF80E291
:100D20009927669576B37029809674FB67F906B2A9
:100D300003FE6623B1F70895F201309789F02AEF98
:100D4000421629E0520611F481B790E021E00C012F
:100D500020935700E8951124CF0102962C010895A5
:100D60008FEF94ECF3CFEAEFF9E0E491EF3F11F06D
:100D7000E1BF000088E181BD87E081BDBB9A88EBBF
:100D80009BE0ECE9F1E03197F1F70197D1F7BB98DF
:100D90008AE580936F008FEF80936000AC9A8BB7E9
:100DA00080628BBF712C312C512C412CCCE7D5E1CA
:100DB00014E686B3887109F014E6115029F41092F4
:100DC000730010926C00A0DF0AB605FE9CC054DED2
:100DD00080E28ABFA89522E032120CC0E0E0FAE07F
:100DE000E054F10983E080935700E8953097C1F70C
:100DF000512C412C832D803409F089C0F2013297A7
:100E0000E1158AE0F80720F485E080935700E89523
:100E1000312C80917200835087FD2BC090916D0022
:100E20009D3229F5883019F583EC809361008AE5BD
:100E300080936F008091770080769091780088236E
:100E400009F498C0712C91116FC082E09AE09093E0
:100E500071008093700088E090917E00911105C030
:100E600090917D00981708F4892F8093600010926C
:100E7000720080916F0084FF30C0809160008F3FCE
:100E800061F1C82F893008F0C8E0982F9C1B90931F
:100E900060009091610028E8922790936100882378
:100EA00081F0E0917000F0917100A2E6B0E08C2F2B
:100EB00094919D9331968150D9F7F0937100E0930E
:100EC00070006C2F82E690E0C1DDCC5FCC3019F071
:100ED0008FEF80936000C0936F00C30101963C01C7
:100EE000803B944029F4EDEFF9E0E491EF3FA9F461
:100EF0000AB605FE5BCF8DE1B39B8DE18150E1F732
:100F000080E28ABF53CF219709F053CF63CF84305B
:100F100009F07ECFCD2B09F07CCF17BA1BBE15BAD6
:100F200084B781BB14BE6ACD913079F44114510469
:100F300011F480E091CF80917B00807C482E50900E
:100F40007C0081E187BFE895F4CF933081F48091F4
:100F5000790090917A00F0DE80917B0090917C0086
:100F6000EBDE842D8F7329F790E4392E75CF9F73B4
:100F7000392EDFCF2091790010926A0091110AC0BA
:100F800010926B002AE630E082E0309371002093EB
:100F9000700062CF953029F4209373002AE630E088
:100FA000F4CF963091F480917A00813041F48CE155
:100FB0009AE0909371008093700082E14DCF82306F
:100FC00009F0B7CF8AE09AE0F4CF983051F0993029
:100FD00019F420937500E2CF81E09A30F9F280E0B5
:0A0FE000DDCF25E730E081E0D0CF3F
:0400000300000A00EF
:00000001FF
Loading

0 comments on commit 022393d

Please sign in to comment.