Welcome! Log In Create A New Profile

Advanced

Firmware upload error

Posted by jininjin 
Firmware upload error
February 24, 2016 11:25PM
Im getting this error on my new i3 build when uploading firmware via Arduino IDE uploader 1.6.8. Any idea what this is? The board led flashes when uploading but it hangs after a while:

avrdude: stk500v2_recv(): checksum error
avrdude: stk500v2_recv(): checksum error
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer


Flashforge Creator Pro 2016

mUVe3D UltiPro+

Prusa i3 Rework
Ramps 1.4
Repetier
Re: Firmware upload error
February 26, 2016 10:20AM
I haven't tried a new cord. The cord worked on my CNC controller but I will try a different one. No lamps or weird stuff around.
Re: Firmware upload error
February 28, 2016 04:49PM
This is the latest error:

avrdude: stk500v2_recv(): checksum error
avrdude: verification error, first mismatch at byte 0x074e
0x50 != 0x00
avrdude: verification error; content mismatch

I tried a new cord but the same error occurred. I have tried the blink test and that uploads fine and works.

Edited 2 time(s). Last edit at 02/28/2016 05:08PM by jininjin.
Re: Firmware upload error
February 28, 2016 08:50PM
Got it to work!

I read a few posts and I tried a bunch of random ideas. One or some of these fixed it.
- I turned off the power supply to the Arduino and just used the USB
- Pressed reset while uploading which generated an error
- Next I switchd the processor from Mega 2560 to 1280 which also generated an error
- I finally switched it back to 2560 and reuploaded which worked..

I have no idea why this worked but it did.
Re: Firmware upload error
March 02, 2016 11:52PM
It's not working anymore.

avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_recv(): checksum error
avrdude: stk500v2_recv(): checksum error
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: verification error, first mismatch at byte 0x5dd1
0x04 != 0x93
avrdude: verification error; content mismatch

Everytime I upload it timesout. I can see the lights flashing on the board then it just stops and hangs for a long time and finally the software catches up and gives a 20 lines of errors like this:
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_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
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_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
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_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
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_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
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_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
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_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_command(): failed miserably to execute command 0x14
avrdude: stk500v2_paged_load: read command failed
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_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
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_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
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_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
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_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdud
Re: Firmware upload error
March 03, 2016 01:58AM
remove the ramps, just try uploading to the bare mega powered over the usb cable.

re 1280 vs 2560 you need to select the correct board in the ardunio IDE , the 1280 has a different upload baud rate than the 2560 (with standard boot loaders)
Re: Firmware upload error
March 05, 2016 10:55AM
I couldn't get it to work with the shield off either. I ended up switching from a laptop to desktop and it worked instantly. I am not sure why that's the case but I guess I have to use a different machine to upload.

Edit: Turned out I messed up downloaded the nightly build. The stable release works fine on both computers. Sorry for any wasted time. Thanks for helping!

Edited 1 time(s). Last edit at 03/05/2016 11:15AM by jininjin.
Re: Firmware upload error
March 24, 2016 07:32PM
Heyhey and good evening,
I actually have a similar problem, where first I thought it was a problem with the board, or rather, the bootloader. Now, after ordering and sending back two more MEGA 2560s, and finally trying instead to upload using my laptop (instead of my desktop), I can verify that the problem is NOT the board but the USB-connection. This baffles me, as it was working before, but now I get the same exact error:

avrdude: stk500v2_recv(): checksum error

So, my setup is this:
I have two MEGA 2560-boards. Both of them will run Repetier firmware, but I fried the USB-capability on the first one that I got - it still works as a printer, but I can't upload new firmware to it and have to print using an SD-card. That is last weeks problem though. I guess I could try using the second board as an AVR-programmer to replace the bootloader, already looked up how. I don't have high hopes here though.
I have two computers running Windows 10 available to me. Both of them have the Arduino 1.6.8 version installed, and before this USB-trouble started, both were able to upload firmware to the MEGA. Now though, only the laptop will succeed in uploading Repetier though, while the desktop will only upload for example the Blink-sketch.
Arduino-drivers and -software are installed and reinstalled, COM-ports are reset, the desktop was restarted several times. I get the MEGA on COM port 5 in the device manager, and it also disappears when I disconnect it. The fact that the Blink-sketch is uploading and that I can connect to the board with Repetier-Host show that the setup on the desktop should be working. But then - since Amazon brought me three boards this week, two of which I sent back after experiencing the same problem, I also exclude a hardware error.
I tried switched USB-ports, connecting to the front- and back-ports of my desktop, and also using two different chords, both of which work on the laptop.
any ideas what I could still try?

Thanks in advance!



EDIT: SOLVED!
Your solution was my solution - even though 1.6.8 is the most current "stable" version to download from their website, I reverted to 1.6.7 and it works without a hitch. Thanks!
I'll leave this here for future generations.

Edited 1 time(s). Last edit at 03/24/2016 07:43PM by cutmeat.
Sorry, only registered users may post in this forum.

Click here to login