Skip to content

Timeout no uploading no arduino mega 2560 #1130

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
colp opened this issue Nov 24, 2012 · 7 comments
Closed

Timeout no uploading no arduino mega 2560 #1130

colp opened this issue Nov 24, 2012 · 7 comments
Labels
Component: Bootloader The bootloader is the program used to load the uploaded program into the microcontroller's memory Component: Firmware Limited to the contents of the firmwares folder in the core packages
Milestone

Comments

@colp
Copy link

colp commented Nov 24, 2012

I'm having problem in uploading the sketch to the board Arduino Mega 2560. It seems that this occurs when the sketch exceeds 13,000 bytes. For code with less than 13,000 bytes uploading is successful.

I'm using Windows 7, Arduino Mega 2560 and IDE 1.0.2. I have also tried the 1.0 IDE, and continues with the same error.

Please could someone help me?

Below is the result of uploading:

Binary sketch size: 13.026 bytes (of a 258.048 byte maximum)
avrdude: stk500v2_ReceiveMessage(): timeout
...
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_ReceiveMessage(): timeout
...
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_command(): failed miserably to execute command 0x13
avrdude: stk500v2_paged_write: write command failed
avrdude: stk500v2_ReceiveMessage(): timeout
...
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_command(): failed miserably to execute command 0x1d
avrdude: stk500v2_cmd(): failed to send command
avrdude: stk500v2_ReceiveMessage(): timeout
...
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_command(): failed miserably to execute command 0x1d
avrdude: stk500v2_cmd(): failed to send command
avrdude: stk500v2_ReceiveMessage(): timeout

@carmolim
Copy link

same here... I'm read a lot about this problem and I didn't find any solutions...

@sy-mengxinyu
Copy link

http://code.google.com/p/arduino/issues/detail?id=181
it can solve your problem.

@cmaglie
Copy link
Member

cmaglie commented Jan 24, 2013

There are various problems with the current bootloader.
If you can reprogram the bootloader please try this one:

https://github.com/cmaglie/Arduino/blob/06ee62afc66e9917b3dc38bcf496de0e1a3d7d7d/hardware/arduino/bootloaders/stk500v2/stk500boot_v2_mega2560.hex

I'm going to merge this one upstream once I receive sufficient test reports.

#1183

@cmaglie
Copy link
Member

cmaglie commented May 3, 2013

I assume this solved with the proposed fix. Feel free to reopen if needed.

@cmaglie cmaglie closed this as completed May 3, 2013
@Chirag2239
Copy link

How to check whether the bootloader is loaded successfully or not?
And I have seen that Arduino seems that done bootloading when I am trying to bootloading through the Arduino as ISP with ATmega2560 to be programmed and Arduino Duemilanouve as programmer. So is bootloader correctly installed?

If yes, then I am trying to upload the blink code to ATmega2560, then it gives the error of avrdude stk500v2_getsync() timeout and Receive timeout.

Please help me.

@facchinm
Copy link
Member

Hi @Chirag2239 , I think your problem can be related to #388, however I have to test it to be sure.

In the meantime, please give a try to this PR #3500, I don't know it the updated ArduinoISP sketch is enough or if you also need to update avrdude to version 6.1 (arduino/toolchain-avr#17). As soon as I can test it I'll post here a proper solution

@ffissore ffissore modified the milestone: Release 1.6.6 Aug 3, 2015
@MustafaMta
Copy link

I've had the same problem and the solution is. Download XLoader and upload to your arduino.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Bootloader The bootloader is the program used to load the uploaded program into the microcontroller's memory Component: Firmware Limited to the contents of the firmwares folder in the core packages
Projects
None yet
Development

No branches or pull requests

8 participants