mirror of
https://github.com/arduino/Arduino.git
synced 2024-12-03 14:24:15 +01:00
e81c1123b6
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.))
35 lines
1.4 KiB
Plaintext
35 lines
1.4 KiB
Plaintext
:107E0000112484B714BE81FFE7D085E08093810000
|
|
:107E100082E08093C00088E18093C10086E0809377
|
|
:107E2000C20080E18093C4008EE0C0D0259A86E035
|
|
:107E300020E33CEF91E0309385002093840096BBD3
|
|
:107E4000B09BFECF1D9AA8958150A9F799249394D1
|
|
:107E5000A5E0AA2EF1E1BF2E9DD0813421F481E06E
|
|
:107E6000B3D083E01FC0823411F484E103C08534B1
|
|
:107E700019F485E0A9D083C0853579F48BD0E82E3C
|
|
:107E8000FF2488D0082F10E0102F00270E291F296B
|
|
:107E9000000F111F91D0680172C0863529F484E06B
|
|
:107EA00093D080E06FD06BC0843609F042C072D0AE
|
|
:107EB00071D0082F6FD080E0C81680E7D80620F474
|
|
:107EC00083E0F60187BFE895C0E0D1E063D08993F5
|
|
:107ED0000C17E1F7F0E0CF16F0E7DF0620F083E0C3
|
|
:107EE000F60187BFE89568D007B600FCFDCFA60174
|
|
:107EF000A0E0B1E02C9130E011968C91119790E0C8
|
|
:107F0000982F8827822B932B1296FA010C0197BE8B
|
|
:107F1000E89511244E5F5F4FF1E0A038BF0751F79D
|
|
:107F2000F601A7BEE89507B600FCFDCFB7BEE89501
|
|
:107F300026C08437B1F42ED02DD0F82E2BD03CD0D3
|
|
:107F4000F601EF2C8F010F5F1F4F84911BD0EA9435
|
|
:107F5000F801C1F70894C11CD11CFA94CF0CD11CB4
|
|
:107F60000EC0853739F428D08EE10CD085E90AD0CF
|
|
:107F70008FE098CF813511F488E018D01DD080E1D2
|
|
:107F800001D06ACF982F8091C00085FFFCCF9093DD
|
|
:107F9000C60008958091C00087FFFCCF8091C0008B
|
|
:107FA00084FD01C0A8958091C6000895E0E6F0E048
|
|
:107FB00098E1908380830895EDDF803219F088E0A6
|
|
:107FC000F5DFFFCF84E1DECF1F93182FE3DF1150E1
|
|
:107FD000E9F7F2DF1F91089580E0E8DFEE27FF2741
|
|
:027FE000099402
|
|
:027FFE0003047A
|
|
:0400000300007E007B
|
|
:00000001FF
|