aboutsummaryrefslogtreecommitdiff
path: root/bootloaders/caterina_LUFA/Caterina.c
AgeCommit message (Collapse)Author
2012-03-01reduced Caterina timeout to 8 seconds from 16Zach Eveland
2012-02-14Leonardo now checks whether bootloader should be run after a WDT event.Zach Eveland
Before the sketch initiates an auto-reset for upload it pokes a magic word into a specific RAM address. On starting the bootloader checks this address. If it finds the magic word it knows the bootloader code should run. If not it jumps straight back to sketch. Test in a sketch by adding to setup(): wdt_enable(WDTO_2S); Sketch should upload, start, run for two seconds, WDT, and sketch should restart (not bootloader). Had to cut out unused descriptor code to make the bootloader still fit in 4k.
2012-02-14Leonardo bootloader jumps straight to sketch for a power-on reset.Zach Eveland
Disconnect programmer after burning bootloader to get the full effect. ICSP and JTAG programmers do a hardware reset after any reset condition, confusing the firmware a little.
2012-02-07fixed bug in Caterina which caused some programming instructions to failZach Eveland
Timer 1 interrupts were trashing self-programming timing. Now disable Timer 1 compare match before doing Flash tasks and reenable afterward.
2012-02-06increased Leonardo bootloader timeout to 16 secondsZach Eveland
2012-02-03proper bootloader timeout and LED control in Leonardo bootloaderZach Eveland
2012-01-24Caterina now cleanly hands off operation to the sketchZach Eveland
had to remove TIMER1 operation from bootloader - was interfering with normal sketch operation
2012-01-21move interrupt vector table to application section before jumping to it ↵Zach Eveland
after upload finished.
2012-01-21Leonardo bootloader checks reason for reset and jumps immediately to sketch ↵Zach Eveland
if reset was caused by WDT
2012-01-19stripped all LUFA LED control. from LUFA-based CaterinaZach Eveland
2012-01-19superficial changes to stock LUFA CDC bootloader - renamed project, removed ↵Zach Eveland
unnecessary files