Commit Graph

1731 Commits

Author SHA1 Message Date
David A. Mellis c5c41bc531 Fixing build on 64-bit linux. 2012-02-29 16:16:37 -05:00
David A. Mellis de8c051f38 Merge branch 'master' of github.com:arduino/Arduino
Conflicts:
	build/build.xml
2012-02-29 15:56:23 -05:00
David A. Mellis c128aac761 Cleaning up Linux build (32 vs. 64-bit, dist). 2012-02-29 15:30:03 -05:00
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
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
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
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
Zach Eveland 371b72c681 stripped all LUFA LED control. from LUFA-based Caterina 2012-01-19 21:31:51 -05:00
Zach Eveland 83c9f21667 changed fuses to select 4k bootloader for LUFA-based Caterina 2012-01-19 21:18:07 -05:00
Zach Eveland db397d5b35 added Board/LEDs.h to LUFA-based Caterina 2012-01-19 21:17:12 -05:00
Zach Eveland 98b0491fbd superficial changes to stock LUFA CDC bootloader - renamed project, removed unnecessary files 2012-01-19 20:31:35 -05:00
Zach Eveland 9c0352b22a initial checkin of LUFA 111009 CDC bootloader 2012-01-19 20:04:55 -05:00