Unable to flash the board. Getting a timeout error

Hello! I’ve recently just built my K8200, but I’m experiencing a problem.
When trying to flash the board I’m getting the following error:

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’m using:
Arduino 1.0.6
Marlin v2
Mac OS

I’ve shorted the pins in on the JPROG connector, Repetier is closed and the right COM port is selected.
Tried switching the Baud Rate in the Arduino settings from 250000 to 115200, but it doesn’t seem to fix the problem.

Thank you for your help.

Did you choose the correct board type in Arduino?
Should be Arduino Mega 2560 / Arduino ADK
Baud rate 250000 is correct.
Make sure the printer is fully powered during flash. (15V connected)
Only USB power isn’t sufficient.

Hello! Thank you for the quick responce.
Yes, I’ve selected Arduino Mega 2560 / Adruino ADK
The printer is fully powered.

The flashing worked before but I’ve experienced problems with X and Y motors not working. (I think it was because I used Arduino 1.5.6)

Did the flash process break down while uploading before?
If so, it can be the bootloader on the Atmega is damaged.

I would try again using different USB port at first.

[quote=“ichbinsnur”]Did the flash process break down while uploading before?
If so, it can be the bootloader on the Atmega is damaged.

I would try again using different USB port at first.[/quote]

It didn’t break down. It was flashing like a firework when installing it the first time.
We have tried different USB-ports without success. We have also removed other USB-peripherals without it making any difference.

Furthermore. We succesfully uploaded Marlin v1 once, but didn’t shortcut the JPROO (or JPROG, it’s difficult to read) connector. So, it didn’t work.
Now, when trying to upload this again with that connector shortcut we can’t make it happen, but get these timeouts all the time.

Again. As a check, we tried to connect to K8200 thru Repetier Host v2.0. Repetier can open the connection to the printer, but it doesn’t recognise the firmware.

Just a guess, do you have a case for the controller mounted or the LCD controller connected?

If so, check if one of the reset buttons is held down accidentially.

No, the reset button is not the problem.
I think there is something wrong with the board. I am going to contact a specialist and have him check it out.

I would try re flashing the boot loader onto the board, then re flashing the firmware.

You will need special hardware, or another Arduino board to do so.

Here is an excellent article from sparkfun detailing both methods. It really is quite simple, just read the instructions carefully.

learn.sparkfun.com/tutorials/in … bootloader