Go to file
Zach Eveland 4c3aa52258 Leonardo now checks whether bootloader should be run after a WDT event.
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-14 12:17:30 -05:00
app Leonardo auto-reset-and-upload changes for Windows (explanation below) 2012-02-13 00:56:06 -05:00
build changed Leonardo bootloader and sketch PID values again (now 0x0701 for bootloader, 0x0801 for sketch) 2012-02-13 00:10:16 -05:00
core Setting Arduino icon. 2010-11-10 11:46:52 -05:00
hardware/arduino Leonardo now checks whether bootloader should be run after a WDT event. 2012-02-14 12:17:30 -05:00
libraries Merge branch 'master' of github.com:arduino/Arduino into LUFA_bootloader 2012-02-03 19:54:33 -05:00
.classpath Fixed projects setting to make it compile again inside Eclipse IDE 2011-08-16 19:57:39 +02:00
.project Importing Processing rev. 5503 (1.0.3). 2009-05-31 15:53:33 +00:00
license.txt Replacing Processing's text files with Arduino's (e.g. todo.txt) 2009-06-01 21:06:59 +00:00
readme.txt Don't consume trailing char in parseInt() and parseFloat (Paul Stoffregen). 2011-09-09 16:24:47 -04:00
todo.txt Updating version number to 0100 to allow checking for Arduino 1.0. 2011-03-26 16:41:30 -04:00

readme.txt

Arduino is an open-source physical computing platform based on a simple i/o
board and a development environment that implements the Processing/Wiring
language. Arduino can be used to develop stand-alone interactive objects or
can be connected to software on your computer (e.g. Flash, Processing, MaxMSP).
The boards can be assembled by hand or purchased preassembled; the open-source
IDE can be downloaded for free.

For more information, see the website at: http://www.arduino.cc/
or the forums at: http://arduino.cc/forum/

To report a bug in the software, go to:
http://code.google.com/p/arduino/issues/list

For other suggestions, use the forum:
http://arduino.cc/forum/index.php/board,21.0.html

INSTALLATION
Detailed instructions are in reference/Guide_Windows.html and
reference/Guide_MacOSX.html.  For Linux, see the Arduino playground:
http://www.arduino.cc/playground/Learning/Linux

CREDITS
Arduino is an open source project, supported by many.

The Arduino team is composed of Massimo Banzi, David Cuartielles, Tom Igoe,
Gianluca Martino, and David A. Mellis.

Arduino uses the GNU avr-gcc toolchain, avrdude, avr-libc, and code from
Processing and Wiring.

Icon and about image designed by ToDo: http://www.todo.to.it/