Optiboot / optiboot

Small and Fast Bootloader for Arduino and other Atmel AVR chips
Other
1.08k stars 396 forks source link

Use SW reset request (on Mega0, xTiny) to start application? #354

Open WestfW opened 1 year ago

WestfW commented 1 year ago

Can we use the SW-generated reset function available on newer AVRs to our advantage, or does just using it to allow "run the bootloader" requests from applications (current behavior) make the most sense?

WestfW commented 9 months ago

Good question. I thought it made more sense to have it mean "run the bootloader", since that capability wasn't really present before. Letting the watchdog expire runs the app when it happens from either the app or the bootloader, so that's consistent.