diff options
author | WestfW <westfw@gmail.com> | 2011-06-13 19:07:07 -0700 |
---|---|---|
committer | David A. Mellis <d.mellis@arduino.cc> | 2011-10-10 12:11:16 -0400 |
commit | 0d9377c729d3dfe4719bab1631587bfc5d444b60 (patch) | |
tree | fdf18f6c101c39d58d9936e38a415fe28053d7d9 /bootloaders/optiboot/optiboot_luminet.hex | |
parent | e74e76ce14724fc3ea0a49e291de9b707825a576 (diff) |
http://code.google.com/p/arduino/issues/detail?id=368
Optiboot does not support ArduinoasISP programmer.
When avrdude runs and talks to an arduino running ArduinoISP,
it needs the optiboot (entered due to auto-reset) to abort and
start the ArduinoISP "application" when it sees communications
at the wrong serial speed. Unfortunately, optiboot treats all
unrecognized command characters as "no-ops" and responds/loops
for more commands, leading to a nice loop that never gets to
the sketch. This patch causes characters received with Framing
errors (the most likely error for speed mis-matches) to NOT
reset the watchdog timer (normally done in getch()), which will
cause the application to start if it continues for "a while."
(tested. Works! Running ArduinoISP at speeds as high as 57600
still causes the bootloader to start the sketch (although it fails
later on for other reasons.))
(cherry picked from commit e81c1123b624b6cac7da018c9c786700f3152bc9)
Diffstat (limited to 'bootloaders/optiboot/optiboot_luminet.hex')
-rw-r--r-- | bootloaders/optiboot/optiboot_luminet.hex | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/bootloaders/optiboot/optiboot_luminet.hex b/bootloaders/optiboot/optiboot_luminet.hex index 78fdc70..45b4dcd 100644 --- a/bootloaders/optiboot/optiboot_luminet.hex +++ b/bootloaders/optiboot/optiboot_luminet.hex @@ -1,14 +1,14 @@ -:101D0000112484B714BE81FF18D185E08EBD8EE00A
-:101D100000D1D49AD29A86E023EC3FEF91E03DBD0A
+:101D0000112484B714BE81FF17D185E08EBD8EE00B
+:101D1000FFD0D49AD29A86E023EC3FEF91E03DBD0C
:101D20002CBD9BB9589BFECFCC9AA8958150B9F792
:101D3000BB24B39425E0A22E9FE7D92E8EECC82EAB
-:101D4000D4D0813421F481E0F0D083E0B5C0823476
-:101D500011F484E103C0853419F485E0E6D0B3C002
+:101D4000D4D0813421F481E0EFD083E0B5C0823477
+:101D500011F484E103C0853419F485E0E5D0B3C003
:101D6000853569F4C2D0E82EFF24BFD0082F10E0DB
:101D7000102F00270E291F29000F111FA3C0863521
-:101D800021F484E0D2D080E097C0843609F060C0AE
+:101D800021F484E0D1D080E097C0843609F060C0AF
:101D9000ACD0ABD0F82EA9D0C0E0D1E0A6D08993CA
-:101DA000FC16E1F783E0F80187BFE895B6D007B6E7
+:101DA000FC16E1F783E0F80187BFE895B5D007B6E8
:101DB00000FCFDCF0115110511F0A8012AC080918A
:101DC00000012091010130E0322F222790E0282BE2
:101DD000392B309385012093840140910801809133
@@ -19,22 +19,22 @@ :101E200090E0982F8827822B932B1296FA010C01B1
:101E3000B7BEE89511244E5F5F4FF1E0A034BF07B5
:101E400051F7F801A7BEE89507B600FCFDCF3BC0EF
-:101E5000843751F54AD049D0F82E47D05ED0E801FA
+:101E5000843751F54AD049D0F82E47D05DD0E801FB
:101E6000EF2C209719F48091840114C0C130D10562
:101E700019F4809185010EC0C830D10519F4809104
:101E8000860108C0C930D10519F48091870102C0CC
:101E9000FE01849121961AD0EA9419F70F5F1F4F23
-:101EA000FA940F0D111D0FC0853741F436D08EE125
+:101EA000FA940F0D111D0FC0853741F435D08EE126
:101EB0000DD083E90BD08CE009D005C0813511F439
-:101EC00088E027D02AD080E101D03ACF2AE030E064
-:101ED0008095089410F4DA9802C0DA9A000015D0C0
-:101EE00014D086952A95B1F70895A89529E030E099
-:101EF000CB99FECF0AD009D008D08894CB9908940A
-:101F00002A9511F08795F7CF08959EE09A95F1F7FD
-:101F1000089598E191BD81BD0895E7DF803219F001
-:101F200088E0F7DFFFCF84E1D1CF1F93182FDDDFEB
-:101F30001150E9F7F2DF1F91089580E0EADFE4E055
-:041F4000FF270994DA
-:021EFE000204DC
+:101EC00088E026D029D080E101D03ACF2AE030E066
+:101ED0008095089410F4DA9802C0DA9A000014D0C1
+:101EE00013D086952A95B1F7089529E030E0CB9973
+:101EF000FECF0AD009D008D08894CB9908942A95AF
+:101F000011F08795F7CF08959EE09A95F1F708951F
+:101F100098E191BD81BD0895E8DF803219F088E035
+:101F2000F7DFFFCF84E1D2CF1F93182FDEDF1150F0
+:101F3000E9F7F2DF1F91089580E0EADFE4E0FF2790
+:021F4000099402
+:021EFE000304DB
:0400000300001D00DC
:00000001FF
|