Pages: 1 2 [3]   Go Down
Author Topic: Can't upload to Arduino Mega 2560  (Read 5156 times)
0 Members and 1 Guest are viewing this topic.
Chile
Offline Offline
Edison Member
*
Karma: 35
Posts: 1251
Arduino rocks?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

eried posted
Can you test http://arduino.cc/forum/index.php/topic,118440.0.html ? I upgraded the 'uploader' in that modded version. I had a similar problem (frequently) with 1.0.1 and my 2560 but Samueldw's arduino never worked. /quote

Just tried that and it still will not upload to a Mega 2560. No problem with a Uno or a Uno Pro. I have just rebuilt the Mega program so it does not use any 1.0.1. parts so I can upload with the old 0022. Do like that SRAM estimate though after getting caught out on one sketch.
Many thanks
Dougie L

Very weird, you think I can remote control your machine via Teamviewer to check something? I want to fix 1.0.1 for mega 2560, works with mine, but it will be nice to get all boards working
Logged

My website: http://ried.cl

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

Sorry for late reply. Sorry again but no one gets remote access to any of my machines. Not personal but it just does not happen. ..
Another report has been posted about a similar problem again with a Mega. To my mind its either the 1.0.1 ide or an install problem.
Dougie l
Logged

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

just tried the 0022 but still the same problem.
Logged

Monterrey, N.L. México
Offline Offline
Full Member
***
Karma: 1
Posts: 154
Model Railroading & Arduino are Fun
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Try pressing RESET while trying to upload.
Logged

Billy     http://www.z-world.com/operations/gbremer/

When you've eliminated the impossible,
whatever remains, however improbable, must be

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

same prob, and i can use Teamviewer if someone wants to help...
Logged

Chile
Offline Offline
Edison Member
*
Karma: 35
Posts: 1251
Arduino rocks?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

same prob, and i can use Teamviewer if someone wants to help...

I can check your machine via remote control so we find a fix for everyone.

Can you first test: http://arduino.cc/forum/index.php/topic,118440.0.html
If problem continues, then send me your skypeid via message and I can try to check your machine
Logged

My website: http://ried.cl

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

hey.. any thing further to report on this thread?

I've suffered enough ... my mega2560 revision2 and IDE 1.0.1. I have four mega2560's and i have updated the 8u2 usbserial firmware (.hex RAW from github) in two of them and they still hang with the following verbose on upload:

         Programmer Type : STK500V2
         Description     : Atmel STK500 Version 2.x firmware
         Programmer Model: Unknown
avrdude: Send: . [1b] . [01] . [00] . [02] . [0e] . [03] . [90] . [85]
avrdude: Recv:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]

and the IDE never rcovers until the USB is disconnected. Once, i pressed RESET on the mega2560 while it was in the hang and it then continued but i haven't been able to replicate that again - though i am certain it was after the first Send: and no Recv: and before the second.

Also, I don't know if it is signifcant, but i believe the verbose above is the first failed upload after a successful one. The subsequent uploads that fail don't appear to have that first ignored Send. This is verbose too, and it is more common:

       Using Port                    : \\.\COM17
         Using Programmer              : stk500v2
         Overriding Baud Rate          : 115200
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: stk500v2_ReceiveMessage(): timeout

... I managed the 8u2 reflash with FLIP.  Before that i embarked on the LUFA route but that proved beyond me at the need for doxygen.. and the intricacies beat me.. I write that so that you might know the limit of my ability......

i think there is some significance in the Serial library or perhaps specifically the Stream class (sic?? limit of my understanding and terminology),  as it seems all sketches seem to load perfectly if i comment out all references to LiquidCrystal and Serial.  .. course the code doesn´t do much for me then but it might be signifcant ..

If i do once or twice get the code to burn properly, my code works well and does all i want... i am now only make tweaks to character positions on the lcd or eg. to a "second screen" display if you hold the pressbutton rather than just press it. That's abstract, but it makes my point that the code is not intrinsically flawed.

Help? What next? I am reticent to go to yet another version of Arduino IDE i now have 0022 (old normal), antipasto (for toushscreen) and now 1.0.1 ... But maybe of course i must.

Greg

Logged

Pages: 1 2 [3]   Go Up
Jump to: