Offline
Newbie
Karma: 0
Posts: 7
|
 |
« on: March 08, 2012, 03:31:13 am » |
Arduino IDE 1.0 doesn't upload to Arduino Mega 2560. Older versions do.
|
|
|
|
|
Logged
|
|
|
|
|
Miramar Beach, Florida
Offline
Faraday Member
Karma: 50
Posts: 3447
|
 |
« Reply #1 on: March 08, 2012, 06:46:39 am » |
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.  Mine programs fine. What operating system are you using? Windows, Mac, or Linux?
|
|
|
|
|
Logged
|
|
|
|
|
Grass Valley, CA
Offline
Newbie
Karma: 0
Posts: 1
|
 |
« Reply #2 on: March 08, 2012, 08:03:43 pm » |
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
Faraday Member
Karma: 41
Posts: 5162
CMiYC
|
 |
« Reply #3 on: March 08, 2012, 10:45:39 pm » |
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
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 7
|
 |
« Reply #4 on: March 09, 2012, 08:05:30 am » |
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
Faraday Member
Karma: 50
Posts: 3447
|
 |
« Reply #5 on: March 09, 2012, 08:35:16 am » |
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
Newbie
Karma: 0
Posts: 7
|
 |
« Reply #6 on: March 09, 2012, 04:11:56 pm » |
Even the blink example is not uploaded. RX LED twinkles a little bit and that's all.
|
|
|
|
|
Logged
|
|
|
|
|
Tucson, AZ
Offline
Sr. Member
Karma: 4
Posts: 269
|
 |
« Reply #7 on: March 10, 2012, 02:44:27 am » |
Do you have any shields plugged in while you are trying to upload?
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 7
|
 |
« Reply #8 on: March 12, 2012, 02:10:55 am » |
No shield. The question is why does it work with the old version.
|
|
|
|
|
Logged
|
|
|
|
|
Austin, TX
Offline
Faraday Member
Karma: 41
Posts: 5162
CMiYC
|
 |
« Reply #9 on: March 12, 2012, 02:19:48 am » |
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
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 7
|
 |
« Reply #10 on: March 12, 2012, 09:16:07 am » |
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
Newbie
Karma: 0
Posts: 7
|
 |
« Reply #11 on: March 12, 2012, 03:35:07 pm » |
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. 
|
|
|
|
|
Logged
|
|
|
|
|
Left Coast, CA (USA)
Offline
Brattain Member
Karma: 279
Posts: 15309
Measurement changes behavior
|
 |
« Reply #12 on: March 12, 2012, 03:40:09 pm » |
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.  Ah, that old 'short between the headsets' problem.  Lefty
|
|
|
|
|
Logged
|
|
|
|
|
|