I bought an Arduino Mega 2560 and am trying to use eclipse to build and upload my code. I already used eclipse on my 168 with no problems, witch was configured using the tutorial on the Arduino page.
To make eclipse work with the Meta2560 I've changed "Target Hardware" to "ATmega2560". The programmer configuration is more dificult. According to boards.txt the programmer should be stk500v2 and the baud rate 115200bps. In this way I get:
I've already tried a lot of combinations of cstk500v2, cstk500v1, cstk500, arduino and cstk200 with baud rates of 19200, 57600 and 115200 and got timeouts or sync errors. For example:
I'm very sorry for taking so long time to answer. I had to finish the project using the Arduino IDE. :\
Returning to the problem, the change from "//./" to "\." makes no diference on the errors. But I've discovered by accident a few minutes ago that if I fire the following commands in sequence the first fail and the second succeeds:
I'll try to add the first line on the build chain on eclipse to see if it works, but I'm quite confident it will. Some idea about how to solve the problem with a more... say 'elegant' approach?