1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-11 22:24:13 +01:00
Commit Graph

2106 Commits

Author SHA1 Message Date
Zach Eveland
12eb56ac77 Merge branch 'master' of github.com:arduino/Arduino into LUFA_bootloader 2012-02-28 22:50:35 -05:00
Zach Eveland
7f76e96574 Merge branch 'master' of github.com:arduino/32U4 into LUFA_bootloader 2012-02-28 22:48:46 -05:00
David A. Mellis
ee537dd53e Adding 64-bit version of AVR tools on Linux (Paul Stoffregen)
http://code.google.com/p/arduino/issues/detail?id=300
2012-02-28 15:24:03 -05:00
David A. Mellis
4805395bb0 Removing __MACOSX file from reference.zip.
http://code.google.com/p/arduino/issues/detail?id=738
2012-02-28 14:53:18 -05:00
David A. Mellis
784232c6a5 Adding 32-bit version of AVR toolchain on Linux (Paul Stoffregen)
http://code.google.com/p/arduino/issues/detail?id=300
2012-02-28 14:50:28 -05:00
David A. Mellis
b861ae7767 Lowering upload timeout and per-iteration delay in Leonardo upload. 2012-02-28 12:59:52 -05:00
Cristian Maglie
a5404125f6 Speed up on serial port touch 2012-02-28 18:28:34 +01:00
Zach Eveland
d10b5da4f6 Merge branch 'master' of github.com:arduino/Arduino into LUFA_bootloader 2012-02-27 21:21:34 -05:00
Tom Igoe
9f755d159a Updated Ethernet PachubeClient and PachubeClientString examples to use Pachube API 2.0 2012-02-27 11:51:13 -05:00
Cristian Maglie
5eef4ca79c Autoreset 1200 bps fix. 2012-02-27 17:41:38 +01:00
Cristian Maglie
5d309dbb46 Added error messages for Leonardo upload 2012-02-27 16:32:24 +01:00
Cristian Maglie
507921fd0f Changes in upload procedure (WIP) 2012-02-27 14:51:19 +01:00
Cristian Maglie
60f8e10bf9 Reviewed IDE upload procedure for Leonardo bootloader 2012-02-24 17:30:29 +01:00
Zach Eveland
9ec558ba8d AvrdudeUploader auto reset improvements: auto-detect new port on Windows, big speedup on Windows and Mac/Linux
IDE auto-detects new port now instead of prompting user.  Better handling of delay on all platforms dramatically speeds up the upload sequence.
2012-02-22 22:35:28 -05:00
Zach Eveland
ae23ed0570 shortened the watchdog period for resetting Leonardo from 2 s to 250 ms. Reset into bootloader is much snappier. 2012-02-22 22:33:44 -05:00
Zach Eveland
65ddc6c43b Merge branch 'master' of github.com:arduino/Arduino into LUFA_bootloader 2012-02-22 15:19:32 -05:00
David A. Mellis
2f29f898de Adding ability to send repeated starts in Wire library.
This adds an additional (boolean) parameter to both endTransmission() and requestFrom(), which specifies whether or not to send a stop condition after the corresponding transmission.  This defaults to true, as in the previous behavior of the library.

http://code.google.com/p/arduino/issues/detail?id=663
2012-02-18 20:05:11 -05:00
David A. Mellis
561cd7054d Fixing (maybe) a bug involving multiple received UDP packets.
http://code.google.com/p/arduino/issues/detail?id=669
2012-02-14 16:41:22 -08:00
David A. Mellis
6ab18ea1cc Lowering minimum editor heights for netbooks
http://code.google.com/p/arduino/issues/detail?id=52
2012-02-14 16:13:39 -08:00
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
Zach Eveland
94c09c2618 Changed Leonardo fuses to select longer clock startup time.
Done with the aim of discriminating more reliably between reset sources.
2012-02-14 10:00:55 -05:00
Zach Eveland
52b0c7214b Leonardo bootloader jumps straight to sketch for a power-on reset.
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-14 09:59:48 -05:00
Cristian Maglie
9d4cb18f05 ARM: Fixed some compiling issues 2012-02-13 18:00:10 +01:00
Cristian Maglie
1479b2b4cf ARM: updated package preferences 2012-02-13 17:58:30 +01:00
Cristian Maglie
13ef2908b4 Added serial.port.file preference for linux 2012-02-13 17:56:16 +01:00
Zach Eveland
bab3c5eade Leonardo auto-reset-and-upload changes for Windows (explanation below)
On Windows COM port changes when board switched between bootloader and sketch.  No way to prevent this so now Windows users have to select the upload port separate from the comm port.  Also, handling of reset into bootloader was broken on Windows.  Would occasionally leave the original COM port completely unusable.  Changed the way this reset is initiated.
Finally, had to add upload.disable.flushing=true flag to boards.txt so IDE wouldn't try to flush the original COM port after it disappeared.
2012-02-13 00:56:06 -05:00
Zach Eveland
5c53796cec added static touchPort() method to Serial class.
Used by Leonardo to quickly tap the comm port to initiate a reset without the potential problems of doing a full Serial object construct/dispose with all listeners, etc.
2012-02-13 00:37:21 -05:00
Zach Eveland
25a4fe8607 changed Leonardo bootloader and sketch PID values again (now 0x0701 for bootloader, 0x0801 for sketch) 2012-02-13 00:10:16 -05:00
David A. Mellis
cb8e184ab8 Using setMinimumSize() instead of window listener for editor windows.
http://code.google.com/p/arduino/issues/detail?id=52
2012-02-12 19:58:40 -05:00
David A. Mellis
0acebeeff4 prog_char -> char PROGMEM in Print.cpp
http://code.google.com/p/arduino/issues/detail?id=795
2012-02-12 19:52:03 -05:00
Zach Eveland
c39793001c adjusting descriptors - trying to prevent sketch and bootloader from grabbing different COM numbers on Windows 2012-02-08 01:16:56 -05:00
Zach Eveland
4ee57f12e9 changed Caterina descriptors - Arduino LLC VID, new PID, manufacturer string, and serial number 2012-02-07 23:52:55 -05:00
Zach Eveland
5d53eed01a fixed bug in Caterina which caused some programming instructions to fail
Timer 1 interrupts were trashing self-programming timing.  Now disable Timer 1 compare match before doing Flash tasks and reenable afterward.
2012-02-07 23:46:31 -05:00
Zach Eveland
731ee15f0e increased wait time for Leonardo uploading to 8 seconds 2012-02-06 15:27:44 -05:00
Zach Eveland
f2d5ea87ad increased Leonardo bootloader timeout to 16 seconds 2012-02-06 15:23:41 -05:00
Cristian Maglie
043c190876 Upload size computation is now parametric 2012-02-06 00:51:24 +01:00
Cristian Maglie
a141a1dc1e Upload/Program with configurable generic command line tools (wip) 2012-02-05 23:17:15 +01:00
Zach Eveland
d8e906f81b added LUFA CDC Bootloader.inf for testing - temporary only 2012-02-03 23:16:35 -05:00
Zach Eveland
5483adf8fe proper bootloader timeout and LED control in Leonardo bootloader 2012-02-03 23:15:04 -05:00
Zach Eveland
1e0700b536 fixed starting Leonardo bootloader from sketch
AvrdudeUploader class opens and closes Leonardo port at the magic baudrate before starting avrdude; reduced reset timeout from 250 ms to 15 ms
2012-02-03 21:42:46 -05:00
Zach Eveland
086ed6382c modify boards.txt with new settings for Caterina_LUFA 2012-02-03 20:24:24 -05:00
Zach Eveland
5eb7ad154b Merge branch 'master' of github.com:arduino/Arduino into LUFA_bootloader 2012-02-03 19:54:33 -05:00
David A. Mellis
3dfc2c6311 Serial.print() -> Serial.write() in SD SerialPrint_P function.
http://code.google.com/p/arduino/issues/detail?id=759
2012-02-03 17:32:54 -05:00
David A. Mellis
915e4889e4 Making head and tail unsigned to avoid division in serial ISR.
http://code.google.com/p/arduino/issues/detail?id=776
2012-02-03 17:24:29 -05:00
Cristian Maglie
30ec90aca3 First attemp to generalize upload for mutiplatform IDE 2012-02-01 14:34:29 +01:00
Cristian Maglie
b295ab911e Some runtime infos now resides in preferences under runtime.* keys 2012-02-01 14:27:41 +01:00
Cristian Maglie
ab00a1360f Fixed preference setting whe changing board 2012-02-01 14:25:26 +01:00
Zach Eveland
1303b6fbba Caterina now cleanly hands off operation to the sketch
had to remove TIMER1 operation from bootloader - was interfering with normal sketch operation
2012-01-24 18:04:10 -05:00
Zach Eveland
6498b66059 move interrupt vector table to application section before jumping to it after upload finished. 2012-01-21 16:51:55 -05:00
Zach Eveland
73f6f2edd5 Leonardo bootloader checks reason for reset and jumps immediately to sketch if reset was caused by WDT 2012-01-21 16:39:06 -05:00