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
Mimmo La Fauci
08fe0f4433
Updated elf in binary dir
2012-02-10 15:27:59 +01:00
Mimmo La Fauci
56f515243e
Delete some prints
2012-02-10 01:00:11 +01:00
Mimmo La Fauci
bfe9387538
Delete some prints
2012-02-10 01:00:11 +01:00
Mimmo La Fauci
fa9393f7c4
Avoid to print Warning Messages on Arduino monitor.
...
Add debug command on wifi shield to enable debug msgs.
Solved issue on repeat quick refresh or stop and go web server
2012-02-10 00:49:42 +01:00
Mimmo La Fauci
260746a612
Avoid to print Warning Messages on Arduino monitor.
...
Add debug command on wifi shield to enable debug msgs.
Solved issue on repeat quick refresh or stop and go web server
2012-02-10 00:49:42 +01: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
Domenico La Fauci
4558c021b7
WiFi libraries: fix compiler warning
2012-02-04 17:01:24 +01:00
Domenico La Fauci
24dfb4ed20
WiFi libraries: fix compiler warning
2012-02-04 17:01:24 +01:00
Mimmo La Fauci
00c36dc563
WiFi libraries: Bugfix on TestReport 12.01.2012
2012-02-04 12:29:12 +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
Mimmo La Fauci
7c2934a91b
Less print msgs on wifishield
2012-02-01 08:15:37 +01:00
Domenico La Fauci
b61427ddc8
Bugfix on Test Report 12.01.2012
2012-01-30 00:07:39 +01:00
Domenico La Fauci
5778170fa6
Bugfix on Test Report 12.01.2012
2012-01-30 00:07:39 +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