diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/bootloaderconfig.h | 2 | ||||
-rw-r--r-- | firmware/main.c | 5 | ||||
-rw-r--r-- | firmware/releases/micronucleus-1.10.hex | 121 | ||||
-rw-r--r-- | firmware/releases/micronucleus-1.10_LEDonPB1.hex | 122 | ||||
-rw-r--r-- | firmware/releases/release notes.txt | 17 |
5 files changed, 259 insertions, 8 deletions
diff --git a/firmware/bootloaderconfig.h b/firmware/bootloaderconfig.h index a3afc4c..e1b2a4c 100644 --- a/firmware/bootloaderconfig.h +++ b/firmware/bootloaderconfig.h @@ -313,7 +313,7 @@ these macros are defined, the boot loader uses them. * defines are ignored. * Adds 18 bytes depending on implementation. * - * LED_DDR,LED_PORT,LED_PIN Where is you LED connected? + * LED_DDR,LED_PORT,LED_PIN Where is your LED connected? * * LED_INIT Called once after bootloader entry * LED_EXIT Called once during bootloader exit diff --git a/firmware/main.c b/firmware/main.c index 8a3a0b0..a6af148 100644 --- a/firmware/main.c +++ b/firmware/main.c @@ -4,9 +4,11 @@ * Creation Date: 2007-12-08 * Tabsize: 4 * Copyright: (c) 2012 Jenna Fox + * All changes past revision 1.06 authored by http://github.com/cpldcpu * Portions Copyright: (c) 2007 by OBJECTIVE DEVELOPMENT Software GmbH (USBaspLoader) * Portions Copyright: (c) 2012 Louis Beaudoin (USBaspLoader-tiny85) * License: GNU GPL v2 (see License.txt) + * */ #define MICRONUCLEUS_VERSION_MAJOR 1 @@ -340,10 +342,9 @@ int main(void) { # if OSCCAL_RESTORE OSCCAL=osccal_default; - asm volatile("nop"); // NOP to avoid CPU hickup during osccillator stabilization + asm volatile("nop"); // NOP to avoid CPU hickup during oscillator stabilization # endif leaveBootloader(); } - /* ------------------------------------------------------------------------ */ diff --git a/firmware/releases/micronucleus-1.10.hex b/firmware/releases/micronucleus-1.10.hex new file mode 100644 index 0000000..8b66f21 --- /dev/null +++ b/firmware/releases/micronucleus-1.10.hex @@ -0,0 +1,121 @@ +:0800000057CC56CC8CCC54CC3B +:1018800017C016C04CC014C009021200010100802C +:101890003209040000000000000012011001FF00E6 +:1018A0000008D01653070A010000000104030904D0 +:1018B00011241FBECFE5D2E0CDBFDEBF00EB0F93FA +:1018C00007E00F9310E0A0E6B0E0E8ECFFE102C013 +:1018D00005900D92A636B107D9F720E0A6E6B0E054 +:1018E00001C01D92AB39B207E1F7ECC1A82FB92FA7 +:1018F00080E090E041E050EA609530E009C02D9131 +:1019000082279795879510F084279527305EC8F336 +:101910006F5FA8F30895EADF8D939D930895CF93A9 +:10192000CFB7CF93C0915F02C03B21F4C0915E025C +:10193000C73021F0CF91CFBFCF91A1CFCC27C39596 +:10194000B39BE9F7B39B0BC0B39B09C0B39B07C024 +:10195000B39B05C0B39B03C0B39B01C0D3C00F9220 +:10196000DF93C0917E00DD27CB57DF4F012EB39B65 +:1019700003C0DF910F90E6CF2F930F931F934F93E8 +:101980002FEF4F6F06B303FB20F95F933F9350E0B7 +:101990003BE065C016B30126502953FDC89556B3E8 +:1019A000012703FB25F92F7306B3B1F05027102749 +:1019B00013FB26F906B22230F0F000C016B301275F +:1019C00003FB27F90126502906B22430E8F54F77AA +:1019D000206816B30000F6CF50274F7D206206B274 +:1019E000102F000000C006B300265029102713FB5B +:1019F00026F906B2E2CF4F7B06B3206400C0DACFEF +:101A000001265029187106B269F14E7F2160012F1D +:101A100016B328C0002650294D7F06B22260102F31 +:101A200029C0012650294B7F06B22460012F2DC00A +:101A300016B301265029477F2860000006B22EC049 +:101A40004F7E06B3206130C0422706B3499300267B +:101A50005029102706B24FEF13FB20F9297F16B348 +:101A600079F2187159F10126502906B2012703FBBA +:101A700021F9237F06B371F2002650293150D0F0AE +:101A800006B2102713FB22F9277E16B351F2012666 +:101A90005029012703FB06B223F92F7C49F20000ED +:101AA00006B3102713FB24F90026502906B22F791C +:101AB00039F270CF10E21ABF002717C03B503195A2 +:101AC000C31BD04010E21ABF0881033CF9F00B346D +:101AD000E9F020917C001981110F1213EDCF093626 +:101AE00051F10D3211F0013E39F7009383003F911F +:101AF0005F914F911F910F912F91DF910F90CAB776 +:101B0000C5FD1DCFCF91CFBFCF91189520918300F8 +:101B1000222369F310918100112321F5343022F141 +:101B20003093810020937D0010917E003BE0311BBB +:101B300030937E0019C00091810001309CF40AE5C9 +:101B40003091600034FD11C000936000C1E7D0E027 +:101B500010C0052710E000C021C0052710E0C8957F +:101B600008BB14C03AE501C032ED032EC0E0D0E05E +:101B700032E017B31861C39A08B317BB58E120E8E5 +:101B80004FEF20FF052708BB279517951C3F28F727 +:101B900000004552B0F720FF0527279508BB179591 +:101BA0001C3FB8F629913A9561F7077E10918200A3 +:101BB000110F08BBC250D04011F010937C0010E20E +:101BC0001ABF086017B3177E402F477E54E05A951E +:101BD000F1F708BB17BB48BB8ACFF8942FEFB0E8EA +:101BE000A0E44AE0B1BF000081EE9CE0B399FECFD3 +:101BF000B39BFECF0197B399FDCF97FF03C0BA1BEC +:101C0000819501C0BA0FA69529F4281710F031B7B5 +:101C1000282FA1E0415031F731BF0000789408959A +:101C2000F894E0916A00F0916B00329785E0809320 +:101C30005700E89578940895E0916A00F0916B0060 +:101C4000309729F490936D0080936C0007C0E430C6 +:101C5000F10539F490936F0080936E008FE39CEC54 +:101C60001CC0EC3728E1F20739F480916C009091A8 +:101C70006D008E539C4F11C0EE3728E1F20739F406 +:101C800080916E0090916F008D539C4F06C0EA3793 +:101C900028E1F20711F481B790E02FB7F89430975C +:101CA00021F431E130935700E89531E00C01309395 +:101CB0005700E89511243296F0936B00E0936A0088 +:101CC0002FBF089514BE88E10FB6F89481BD11BCF2 +:101CD0000FBEBB9A88E893E1ECE9F1E03197F1F7A8 +:101CE0000197D1F7BB98AC9A8BB780628BBF789481 +:101CF00000918100035007FDBAC080917E00CCE0C6 +:101D0000D0E0C81BD109CB57DF4F80917D008D32C9 +:101D100009F08EC0083009F0A8C083EC80937100F0 +:101D20008AE580936000109269002881922F907656 +:101D30008981992319F110926700811108C082E608 +:101D400090E09093800080937F0014E067C0813022 +:101D500051F48C819D8190936B0080936A0027FDE4 +:101D600058C01FEF57C090916800823011F4916005 +:101D700001C094609093680010E050C09A81109266 +:101D80007A00811106C010927B008AE790E012E091 +:101D90003BC0853019F4909382002CC0863009F541 +:101DA0008B81813019F48AE998E104C0823041F4D2 +:101DB00088E898E19093800080937F0012E10DC045 +:101DC000833051F4911108C08CEA98E1909380001F +:101DD00080937F0014E001C010E080E480936900EC +:101DE0001DC0883059F0893019F49093840002C0E6 +:101DF0008A3039F08AE790E010E006C084E890E08D +:101E000002C08AE790E011E09093800080937F0009 +:101E100005C01E8180E88093690007C08F81811111 +:101E200004C08E81811708F4182F109361001DC023 +:101E30008091690087FF19C080916A0090916B00C2 +:101E40008038984128F080916A008F7339F00DC076 +:101E500089919991F1DE025079F7F5CF8091680070 +:101E600082608093680010926100109281008091DE +:101E7000600084FF43C0809161008F3F09F43EC041 +:101E8000082F893008F008E0801B80936100809162 +:101E9000710098E8892780937100002319F1E0917F +:101EA0007F00F09180008091690086FF0BC0A2E75F +:101EB000B0E084918D93319682E790E0800F8A1391 +:101EC000F8CF0CC0CF01A2E7B0E0FC012191CF0117 +:101ED0002D9322E730E0200F2A13F7CFF0938000F4 +:101EE000E0937F00602F82E790E015DD0C5F0C30FF +:101EF00019F08FEF809361000093600084E196B346 +:101F0000987131F48150D9F71092820010927C00C0 +:101F100001E0811100E080917000801739F001111B +:101F200003C01092670059DE009370008CE991E0C5 +:101F30000197F1F70091680000FF17C0F894E0E8FE +:101F4000F8E1E054F10983E080935700E895309779 +:101F5000C1F710926B0010926A0088E0F82E8FEFA4 +:101F60009FEF6ADEFA94D9F75BDE01FF05C08AE3D2 +:101F700090E20197F1F754DE02FF12C082E291EA8B +:101F80000197F1F7F894BB9A1BBE15BA10925F0245 +:101F9000EAE7F8E1E4918E2F81508E3F88F012C07D +:101FA000109268008091660090916700019690936E +:101FB00067008093660080369A4E08F499CEDECF93 +:081FC000E1BF00005BCC2ACF59 +:061FC8005AFF187A4008E0 +:040000030000188061 +:00000001FF diff --git a/firmware/releases/micronucleus-1.10_LEDonPB1.hex b/firmware/releases/micronucleus-1.10_LEDonPB1.hex new file mode 100644 index 0000000..074a0d6 --- /dev/null +++ b/firmware/releases/micronucleus-1.10_LEDonPB1.hex @@ -0,0 +1,122 @@ +:0800000057CC56CC8CCC54CC3B +:1018800017C016C04CC014C009021200010100802C +:101890003209040000000000000012011001FF00E6 +:1018A0000008D01653070A010000000104030904D0 +:1018B00011241FBECFE5D2E0CDBFDEBF00EB0F93FA +:1018C00007E00F9310E0A0E6B0E0EAEDFFE102C010 +:1018D00005900D92A636B107D9F720E0A6E6B0E054 +:1018E00001C01D92AB39B207E1F7ECC1A82FB92FA7 +:1018F00080E090E041E050EA609530E009C02D9131 +:1019000082279795879510F084279527305EC8F336 +:101910006F5FA8F30895EADF8D939D930895CF93A9 +:10192000CFB7CF93C0915F02C03B21F4C0915E025C +:10193000C73021F0CF91CFBFCF91A1CFCC27C39596 +:10194000B39BE9F7B39B0BC0B39B09C0B39B07C024 +:10195000B39B05C0B39B03C0B39B01C0D3C00F9220 +:10196000DF93C0917E00DD27CB57DF4F012EB39B65 +:1019700003C0DF910F90E6CF2F930F931F934F93E8 +:101980002FEF4F6F06B303FB20F95F933F9350E0B7 +:101990003BE065C016B30126502953FDC89556B3E8 +:1019A000012703FB25F92F7306B3B1F05027102749 +:1019B00013FB26F906B22230F0F000C016B301275F +:1019C00003FB27F90126502906B22430E8F54F77AA +:1019D000206816B30000F6CF50274F7D206206B274 +:1019E000102F000000C006B300265029102713FB5B +:1019F00026F906B2E2CF4F7B06B3206400C0DACFEF +:101A000001265029187106B269F14E7F2160012F1D +:101A100016B328C0002650294D7F06B22260102F31 +:101A200029C0012650294B7F06B22460012F2DC00A +:101A300016B301265029477F2860000006B22EC049 +:101A40004F7E06B3206130C0422706B3499300267B +:101A50005029102706B24FEF13FB20F9297F16B348 +:101A600079F2187159F10126502906B2012703FBBA +:101A700021F9237F06B371F2002650293150D0F0AE +:101A800006B2102713FB22F9277E16B351F2012666 +:101A90005029012703FB06B223F92F7C49F20000ED +:101AA00006B3102713FB24F90026502906B22F791C +:101AB00039F270CF10E21ABF002717C03B503195A2 +:101AC000C31BD04010E21ABF0881033CF9F00B346D +:101AD000E9F020917C001981110F1213EDCF093626 +:101AE00051F10D3211F0013E39F7009383003F911F +:101AF0005F914F911F910F912F91DF910F90CAB776 +:101B0000C5FD1DCFCF91CFBFCF91189520918300F8 +:101B1000222369F310918100112321F5343022F141 +:101B20003093810020937D0010917E003BE0311BBB +:101B300030937E0019C00091810001309CF40AE5C9 +:101B40003091600034FD11C000936000C1E7D0E027 +:101B500010C0052710E000C021C0052710E0C8957F +:101B600008BB14C03AE501C032ED032EC0E0D0E05E +:101B700032E017B31861C39A08B317BB58E120E8E5 +:101B80004FEF20FF052708BB279517951C3F28F727 +:101B900000004552B0F720FF0527279508BB179591 +:101BA0001C3FB8F629913A9561F7077E10918200A3 +:101BB000110F08BBC250D04011F010937C0010E20E +:101BC0001ABF086017B3177E402F477E54E05A951E +:101BD000F1F708BB17BB48BB8ACFF8942FEFB0E8EA +:101BE000A0E44AE0B1BF000081EE9CE0B399FECFD3 +:101BF000B39BFECF0197B399FDCF97FF03C0BA1BEC +:101C0000819501C0BA0FA69529F4281710F031B7B5 +:101C1000282FA1E0415031F731BF0000789408959A +:101C2000F894E0916A00F0916B00329785E0809320 +:101C30005700E89578940895E0916A00F0916B0060 +:101C4000309729F490936D0080936C0007C0E430C6 +:101C5000F10539F490936F0080936E008FE39CEC54 +:101C60001CC0EC3728E1F20739F480916C009091A8 +:101C70006D008E539C4F11C0EE3728E1F20739F406 +:101C800080916E0090916F008D539C4F06C0EA3793 +:101C900028E1F20711F481B790E02FB7F89430975C +:101CA00021F431E130935700E89531E00C01309395 +:101CB0005700E89511243296F0936B00E0936A0088 +:101CC0002FBF089514BE88E10FB6F89481BD11BCF2 +:101CD0000FBEC198BB9A88E893E1ECE9F1E0319737 +:101CE000F1F70197D1F7BB98AC9A8BB780628BBFA5 +:101CF000789400918100035007FDBAC080917E0066 +:101D0000CCE0D0E0C81BD109CB57DF4F80917D00DC +:101D10008D3209F08EC0083009F0A8C083EC8093A2 +:101D200071008AE580936000109269002881922FEB +:101D300090768981992319F110926700811108C06A +:101D400082E690E09093800080937F0014E067C06B +:101D5000813051F48C819D8190936B0080936A0057 +:101D600027FD58C01FEF57C090916800823011F4D2 +:101D7000916001C094609093680010E050C09A8117 +:101D800010927A00811106C010927B008AE790E0E1 +:101D900012E03BC0853019F4909382002CC086304D +:101DA00009F58B81813019F48AE998E104C0823009 +:101DB00041F488E898E19093800080937F0012E1DD +:101DC0000DC0833051F4911108C08CEA98E19093D2 +:101DD000800080937F0014E001C010E080E48093D5 +:101DE00069001DC0883059F0893019F4909384003F +:101DF00002C08A3039F08AE790E010E006C084E83B +:101E000090E002C08AE790E011E090938000809318 +:101E10007F0005C01E8180E88093690007C08F8124 +:101E2000811104C08E81811708F4182F109361006E +:101E30001DC08091690087FF19C080916A00909150 +:101E40006B008038984128F080916A008F7339F0D8 +:101E50000DC089919991F0DE025079F7F5CF80910C +:101E60006800826080936800109261001092810087 +:101E70008091600084FF43C0809161008F3F09F42E +:101E80003EC0082F893008F008E0801B8093610075 +:101E90008091710098E8892780937100002319F1DF +:101EA000E0917F00F09180008091690086FF0BC077 +:101EB000A2E7B0E084918D93319682E790E0800FA5 +:101EC0008A13F8CF0CC0CF01A2E7B0E0FC0121914A +:101ED000CF012D9322E730E0200F2A13F7CFF093A4 +:101EE0008000E0937F00602F82E790E014DD0C5FBC +:101EF0000C3019F08FEF809361000093600084E153 +:101F000096B3987131F48150D9F7109282001092F3 +:101F10007C0001E0811100E080917000801739F0B1 +:101F2000011103C01092670058DE009370008CE925 +:101F300091E00197F1F70091680000FF17C0F89455 +:101F4000E0E8F8E1E054F10983E080935700E89578 +:101F50003097C1F710926B0010926A0088E0F82E5B +:101F60008FEF9FEF69DEFA94D9F75ADE01FF05C0C3 +:101F70008AE390E20197F1F753DE02FF13C0B998AC +:101F800082E291EA0197F1F7F894BB9A1BBE15BA69 +:101F900010925F02EAE7F8E1E4918E2F81508E3FC4 +:101FA000C0F019C010926800809167008D7011F028 +:101FB000B99801C0B99A8091660090916700019626 +:101FC000909367008093660080369A4E08F491CE15 +:0A1FD000D6CFE1BF000052CC22CFB3 +:061FDA005AFF187A4008CE +:040000030000188061 +:00000001FF diff --git a/firmware/releases/release notes.txt b/firmware/releases/release notes.txt index ae83338..18deb4f 100644 --- a/firmware/releases/release notes.txt +++ b/firmware/releases/release notes.txt @@ -1,11 +1,18 @@ +== 1.10rc3 - 2013-12-15 == +firmware: + o Major reorganization of the source and build system. + - Used own crt1.s to create vector table in the first flash-page. + - Removed all functions related to vector-table writing. + - Refactored code and inlined all functions that were only called once. + - Removed redundantly defined types to avoid confusion. Only C99 types are used now. + o Size is now 1878 bytes, 6314 bytes user space. No changes to functionality. + == 1.10rc2 - 2013-11-25 == firmware: o It seems that the USB specification does not define a maximum delay from device power up until the host issues a bus reset. Therefore too short delays AUTO_EXIT_NO_USB_MS can lead to the - bootloader exiting before enumeration on some systems. - Disabled AUTO_EXIT_NO_USB_MS in default configuration. Use the hex file with the "early_exit" postfix - if you need this feature. Set AUTO_EXIT_NO_USB_MS to 800ms. + bootloader exiting before enumeration on some systems. Disabled AUTO_EXIT_NO_USB_MS in default configuration. == 1.10rc1 - 2013-11-25 == @@ -21,10 +28,10 @@ Version jump to 1.10 due to major changes in firmware by @cpldcpu. o Cleaned up bootloaderconfig.h o Introduced a second time-out (AUTO_EXIT_NO_USB_MS) if no USB reset from the host is detected. This can be used to quit the bootloader early if the device is not connected to USB. The bootloader will enter the user - program after ~0.8s with the default settings instead of 6s when USB is connected. + program after ~0.8s with the default settings instead of 6s when USB is connected. o Introduced optional code to flash a LED. See LED_PRESENT in bootloaderconfig.h for details. Careful: Right now enabling the LED-code requires setting the bootloader base address to 0x1800 due - to increased code size. + to increased code size. == 1.06-jumper-v2 - 2013-5-20 == |