aboutsummaryrefslogtreecommitdiff
path: root/bootloaders/caterina_LUFA/Descriptors.c
AgeCommit message (Collapse)Author
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-13changed Leonardo bootloader and sketch PID values again (now 0x0701 for ↵Zach Eveland
bootloader, 0x0801 for sketch)
2012-02-08adjusting descriptors - trying to prevent sketch and bootloader from ↵Zach Eveland
grabbing different COM numbers on Windows
2012-02-07changed Caterina descriptors - Arduino LLC VID, new PID, manufacturer ↵Zach Eveland
string, and serial number
2012-01-19initial checkin of LUFA 111009 CDC bootloaderZach Eveland