Andrea Agostini - 2017-11-02

Good morning, I cannot upload anything in my Arduino Mega 2560 board using Eclipse Luna and the AVR plugin.

This is the error I got:

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00

The comand Eclipse launch is quite different from the one used by Arduino IDE:

Eclipse:
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avrdude -pm2560 -carduino -P//./COM8 -Uflash:w:blink.hex:a "-CC:\Program Files (x86)\Arduino\hardware\tools\avr\etc\avrdude.conf"

Arduino IDE:
C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega2560 -cwiring -PCOM8 -b115200 -D -Uflash:w:C:\Users\THEDRA~1\AppData\Local\Temp\arduino_build_297809/Demo_Landscape.ino.hex:i

What went wrong?

Thanks and regards
Andrea