Loading...
Pages: 1 ... 3 4 [5]   Go Down
Author Topic: Upload Timeout Error on Mega 2560 - Not Sure What Changed  (Read 20758 times)
0 Members and 1 Guest are viewing this topic.
Europe
Offline Offline
Full Member
***
Karma: 0
Posts: 104
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

OK, picked up the Mega2560 from my friend last night, and tested it out on the Lenovo Win7 32bit desktop and HP Win7 64bit laptop, and it works fine on both. The only variation from the Uno is the driver takes a long time to load (2-3 minutes - OK maybe not that long in the big scheme) and opening the serial monitor takes a while to reset the Mega - maybe 5 seconds. The Mega works well on our LED and LCD shield and takes only slightly longer to load.

So the issue looks like a Dell issue. Maybe if anyone has a dead Mega2560, please report the make, model, operating system, and any other details which are show when you right click on My Computer and select Properties.

i tossed my mega into junk (i only scalvaged some connectors...), if i will ever need a high end dev. platform, i will go for psoc, mbed, el.imp, chipkit or raspberry...  smiley-twist smiley-twist smiley-twist
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey All,
    I had a similar issue when I was trying to use an Uno as a boot loader, and I think the trick is that the chip is getting reset part way into the upload. The reasons this seems plausible are :
A - someone mentioned it looked like his board had reset
B - after a half-assed attempt at uploading, my board just starts up the old code (i.e. looks like it reset)
C - It seems correlated to length of code, and I have no issue uploading the blink code, ever.
    Anywho, the hardware solution to this software problem is to toss a BFC (10uF or so, I used an electrolytic) between the Reset pin and ground. What this does is it stops the device from getting reset by little transients that I believe are associated with the serial printing stuff.
    Hope this works for Y'all, in the end I got it working with Arduino 023 and a 49K program.

EDIT: This worked great briefly but now it has gone back to it's old ways of not working.
    -Shibbs
« Last Edit: November 05, 2012, 08:19:13 pm by shibbs » Logged

Europe
Offline Offline
Full Member
***
Karma: 0
Posts: 104
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey All,
    I had a similar issue when I was trying to use an Uno as a boot loader, and I think the trick is that the chip is getting reset part way into the upload. The reasons this seems plausible are :
A - someone mentioned it looked like his board had reset
B - after a half-assed attempt at uploading, my board just starts up the old code (i.e. looks like it reset)
C - It seems correlated to length of code, and I have no issue uploading the blink code, ever.
    Anywho, the hardware solution to this software problem is to toss a BFC (10uF or so, I used an electrolytic) between the Reset pin and ground. What this does is it stops the device from getting reset by little transients that I believe are associated with the serial printing stuff.
    Hope this works for Y'all, in the end I got it working with Arduino 023 and a 49K program.

EDIT: This worked great briefly but now it has gone back to it's old ways of not working.
    -Shibbs

Salvage usable components and throw the rest away...
Logged

San Pedro, CA.
Offline Offline
Full Member
***
Karma: 2
Posts: 122
My head HURTS!!!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm having the same problem as Ragnar. Burn a new bootloader, upload one sketch. Then can't upload again (just hangs). Burn bootloader, upload one sketch... Has anyone found the problem or a fix. I'm using Mega2560 R1 and IDE1.0.2 on Windows 7 x64.

DJ
Logged

DigitalJohnson

0
Offline Offline
Newbie
*
Karma: 0
Posts: 35
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

In reply to http://arduino.cc/forum/index.php/topic,83079.msg659993.html#msg659993

For the software patch of avrdude (stk500v2.c, patch for gentoo attached) it is necessary to take/leave the protocol "stk500v2" to take effect of patched program.

Wise versa for the protocol "wiring" got to work it is necessary to connect the "RESET-EN" pads on the board.


Good luck, Thomas
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I had this error, the solution was simple. from the tools menu, select the correct serial port. If that doesn't work, try putting the usb into the same port you used during installation of the arduino software. smiley-wink
Logged

Brazil
Offline Offline
Newbie
*
Karma: 0
Posts: 1
Science Go
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I've got this issue today after change my sketch to print three exclamation characters in sequence to the serial port:

Code:
Serial.println("!!!");

I'm using Mega 256 with a Ethernet shield however this happens in any sketch, even Blink.ino.
It looks like to me that this is a kind of reserved word for the compiler or for the firmware.
Anyways I've just removed one exclamation character and it is working fine now.
« Last Edit: April 13, 2013, 01:00:39 pm by edugodoy » Logged

---
Eduardo

Pages: 1 ... 3 4 [5]   Go Up
Print
 
Jump to: