I am getting the infamous
" avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer"
error when I try to upload some new Repetier firmware to the board for my 3D printer. The board came pre-loaded with some older firmware and it runs perfectly fine aside from the fact that the motors move the in the wrong direction which is why I need to upload edited firmware with the motor direction changed.
I am running Mac OS X 10.8.3 and here is everything I have tried...
Tried uploading from a different computer running OS X 10.6.8
Tried uploading other sketches including blink, no go
Tried older IDE versions
Tried different USB cables with both computers
Serial port is right
Board selection is MEGA 2560
I removed all the triple !!! in the code
Pressed the reset button after compiling
Tried with the USB as a power source as well as the 12V DC I have wired to the board
Tried different USB ports on my computer
Unplugged and re-plugged everything
I have an LCD controller attached and here are the exact things that happen when I try to upload.
Everything complies fine and the board auto-resets before the upload begins, the TX LED flashes a lot and the RX LED flashes about 4 or 5 times then I get the timeout error and the TX LED stays lit.
I have never used an Arduino before and know nothing about it except for what I have gleaned from reading thousands of forum posts in the past two days. Hopefully someone can help me find the answer and we can put this one to bed once and for all.