Pages: [1]   Go Down
Author Topic: Mega 2560 not working with IDE 1.0  (Read 1030 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Arduino IDE 1.0 doesn't upload to Arduino Mega 2560.
Older versions do.
Logged

Miramar Beach, Florida
Offline Offline
Faraday Member
**
Karma: 115
Posts: 5367
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Arduino IDE 1.0 doesn't upload to Arduino Mega 2560.
Older versions do.

I wish I had known this before I started programming my Mega2560 with v1.0.  smiley-eek

Mine programs fine. What operating system are you using? Windows, Mac, or Linux?
Logged

Grass Valley, CA
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I have about 30 Mega 2560 Rev 2 and 3 boards,  they all work fine under Win7 64.   If the driver is installed properly, then I would assume it might be a bad board.
Logged

Austin, TX
Offline Offline
Faraday Member
**
Karma: 63
Posts: 6049
Baldengineer
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Arduino IDE 1.0 doesn't upload to Arduino Mega 2560.
Older versions do.

You might want to include some details.  This isn't a true statement for everyone.
Logged

Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.com

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

I have windows XP, SP3.
I thought there is a driver problem, but  anything I did with the drivers didn't help.
I was desperate and I tried older version of Arduino IDE and uploading was working smoothly.
More info about the problem: when I click upload button in IDE rev 1.0, the progress bar gets filled for ~ 80% and than the program hangs. It's not possible to open the serial port any more. There is a deadlocked process "avrdude". If I kill it, IDE is responsing again and serial port is accessible.
Logged

Miramar Beach, Florida
Offline Offline
Faraday Member
**
Karma: 115
Posts: 5367
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Do all program uploads hang? Like the blink example? Or just this one specifically?

You don't happen to have three exclamation marks in a row (!!!) somewhere in the code, do you?
Logged

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

Even the blink example is not uploaded. RX LED twinkles a little bit and that's all.
Logged

Tucson, AZ
Offline Offline
Sr. Member
****
Karma: 4
Posts: 272
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Do you have any shields plugged in while you are trying to upload?
Logged

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

No shield. The question is why does it work with the old version.
Logged

Austin, TX
Offline Offline
Faraday Member
**
Karma: 63
Posts: 6049
Baldengineer
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

No shield. The question is why does it work with the old version.
The lock-up sounds like it is related to avrdude, which was updated with 1.0.  You could try snagging the avrdude with the older version and copying into the tools directory of the newer version.  It might be an interesting troubleshooting step.
Logged

Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.com

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

OK, I will try that. If it will be clear that avrdude is the source of troubles what info can I try extract so that we know more about the core cause ? Is there any log ?
Logged

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

Problem solved - I selected Mega 2560 in IDE while I have Mega 1280. There is no problem uploading after selecting the correct board.
Sorry for bothering you, my mistake.
   smiley-red
Logged

Left Coast, CA (USA)
Online Online
Brattain Member
*****
Karma: 331
Posts: 16485
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Problem solved - I selected Mega 2560 in IDE while I have Mega 1280. There is no problem uploading after selecting the correct board.
Sorry for bothering you, my mistake.
   smiley-red

Ah, that old 'short between the headsets' problem.  smiley-wink

Lefty
Logged

Pages: [1]   Go Up
Jump to: