Problems whith uploading to my Arduino Mega 2560

Hey,

today I bought an Arduino Mega 2560 and tried to install it.
I installed the drivers and wanted to test the connection with an easy blink program.
After a while the program shows the following message:

Binäre Sketchgröße: 5.552 Bytes (von einem Maximum von 258.048 Bytes)
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer

I tried the same thing on another computer with no effort.
I've no idea what the problem could be.
The blink program works on my Arduino Uno.. so it cant be the program I've written.

Please help me.

Thanks

did you sellect the correct device in the arduino IDE?

Yes.. I selected the correct driver and com port.

Please verify in device manger also. In other PC are you getting same message ?

I tried do upload witch two computers.
Both can handle with the Arduino Uno.. so the problem cant be the cable or the computer.
I also uploaded a new firmware to the Atmega16u2.
But it is still dont working :frowning:

I have the same error and I'm really upset!
I'm trying to solve it and I will follow the thread!

First step, specify:

  • Computer OS: Windows ?, OS X ? - Version?
  • Arduino IDE Version ?
  • Arduino Mega 2560 r?

I did different test, but no one worked =(

OS: Windows 7 64bit, Windows 7 32 bit, Linux (ubuntu 10.4)
Arduino IDE: 1.0.5 - 1.5.2 - 100 - 1.0.3 - 0022
Arduino Mega 2560. How can I see the r?

DarkCoffee:
...
Arduino Mega 2560. How can I see the r?

On the back side. (maybe it's not needed, let see)

ArduinoMega2560_R3_Back_450px.jpg

This works on my Windows 7 Home Edition - 32bit - Service Pack 1 using Arduino IDE 1.05, Mega 2560 r3.

Try:

  • uninstall all Arduino Versions.
  • delete the file C:\Users\yourusername\Roaming\Arduino\references.txt
  • install Arduino IDE 1.0.5 again
  • plugin the Mega 2560, Windows will install a driver: e.g. Arduino Mega 2560 (COM5)

flurin:

DarkCoffee:
...
Arduino Mega 2560. How can I see the r?

On the back side. (maybe it's not needed, let see)

I have an APM 2.5 is not an arduino board.
https://www.google.com/search?q=apm+2.5&client=firefox-a&hs=k86&rls=org.mozilla:it:official&channel=rcs&source=lnms&tbm=isch&sa=X&ei=gV8TUujkAYXDhAfU6YDYCw&ved=0CAcQ_AUoAQ&biw=1138&bih=549

flurin:
This works on my Windows 7 Home Edition - 32bit - Service Pack 1 using Arduino IDE 1.05, Mega 2560 r3.

Try:

  • uninstall all Arduino Versions.
  • delete the file C:\Users\yourusername\Roaming\Arduino\references.txt
  • install Arduino IDE 1.0.5 again
  • plugin the Mega 2560, Windows will install a driver: e.g. Arduino Mega 2560 (COM5)

I did it:(
But I'm going to try again, I will reply soon.

P.S.: Thank you!

When I go to:
Start->control panel -> Unistall program
I can see "driver package for windows - Arduino LLC (www.arduino.cc) (usbser) ports - (11/15/2012 5.1.2006.0)
And when I want unistall it it appear an error


Sorry for some sentences in italian.

  1. What is that file?
  2. I went to "C:\Windows\System32\DriverStore\FileRepository" and I found two folders :
  • arduino mega 2560.inf_amd64_neutral_b7b9e12ef708c16a
  • arduino.inf_amd64_neutral_57cec7a18891cb76
    what are they? :fearful:

...file not found!

I use this tool to clean my windows:

I tried your suggestion, but doesn't work :frowning:
I also tried the reset button as I read in a lots of forum .

DarkCoffee:
I have an APM 2.5 is not an arduino board.

You are not using a Mega 2560!!!

google APM 2.5 + Arduino IDE or similar

APM 2.5 has atmega2560

DarkCoffee:
APM 2.5 has atmega2560

Arduino Mega 2560 is a board using ATmega2560
ATmega2560 is a microcontroller

APM 2.5 is not the same as Arduino Mega 2560!!!

http://dev.ardupilot.com/wiki/load-the-code-onto-apm2x/

Yes I did in this way http://dev.ardupilot.com/wiki/load-the-code-onto-apm2x/

flurin:
First step, specify:

  • Computer OS: Windows ?, OS X ? - Version?
  • Arduino IDE Version ?
  • Arduino Mega 2560 r?

Conclusion:
The Computer is merciless, the human MUST be accurate.