I've just received my Arduino 2560 and want to try a simple testprogramm. I've configured Eclipse already so it creates my hex Files.
The Problem is the following:
Flashing an Sketch with the Arduino IDE works very well but I dont get it working with Eclipse. I've configured it to call the following command line
Of course I could also post the whole config but I think those avrdude specialists out there dont need any more information to tell me what I've to fix.
Okay seems I found the problem.
As far as I understood the bootloader it is a tiny process, which waits just a few seconds after initialization for a special "signal" from avrdude. If it doesn't receive sucht a signal it will jump to main function of sketches.
To get this working the avrdude has to reset the µC and immediatly begin with communication. This reset never occurs if I use the comandline above. If I press reset while hitting return to trigger avrdude it will work nearly 100% (the others is maybe because I'm to slow).
Sadly this information was hidden behind completly useless phrases. I've edited it so that you will find the solution if you run into this problem. http://arduino.cc/playground/Code/Eclipse