From d83543cff15d8a1f4623b1e2babc6c2f4a867815 Mon Sep 17 00:00:00 2001 From: "David A. Mellis" Date: Sun, 15 Jul 2012 09:12:08 -0400 Subject: [PATCH] Use "wiring" (not "stk500v2") avrdude protocol for uploads to Mega 2560. It performs the auto-reset in avrdude. Otherwise, some uploads seem to fail (possibly because it takes too long to launch avrdude from the IDE, so there's too much of a delay between the auto-reset done by the IDE and the upload). http://code.google.com/p/arduino/issues/detail?id=806 --- hardware/arduino/boards.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hardware/arduino/boards.txt b/hardware/arduino/boards.txt index 638eb4aa7..e5ce6af0c 100644 --- a/hardware/arduino/boards.txt +++ b/hardware/arduino/boards.txt @@ -106,7 +106,7 @@ nano.build.variant=eightanaloginputs mega2560.name=Arduino Mega 2560 or Mega ADK -mega2560.upload.protocol=stk500v2 +mega2560.upload.protocol=wiring mega2560.upload.maximum_size=258048 mega2560.upload.speed=115200