I'm having the fairly common problem with Eclipse and the AVR plug-in where uploading to the board is only sometimes successful. It often fails with
stk500_recv(): programmer is not responding
I've Googled extensively and found no consistent solution. It's not my board or cable as I have no problem uploading with the Arduino IDE.
Sometimes it'll work if I press the reset button just after the first few packets are sent. Not ideal obviously!
The most pertinent post I found referred to the Duemilanove documentation
"Automatic (Software) Reset - This setup has other implications. When the Duemilanove is connected to either a computer running Mac OS X or Linux, it resets each time a connection is made to it from software (via USB). For the following half-second or so, the bootloader is running on the Duemilanove. While it is programmed to ignore malformed data (i.e. anything besides an upload of new code), it will intercept the first few bytes of data sent to the board after a connection is opened. If a sketch running on the board receives one-time configuration or other data when it first starts, make sure that the software with which it communicates waits a second after opening the connection and before sending this data."
I am indeed using OSX an a Duemilanove.
It continues by saying
"The Duemilanove contains a trace that can be cut to disable the auto-reset. The pads on either side of the trace can be soldered together to re-enable it. It's labeled "RESET-EN". You may also be able to disable the auto-reset by connecting a 110 ohm resistor from 5V to the reset line; see this forum thread for deta"
I don't have a 110 ohm resistor to hand but a 100 ohm failed to help. Also I don't quite understand the implications of cutting the trace. Will it solve my problem or does it just mean I have to press reset to upload at all and does it mean it'll effect using the Arduino IDE?
Any thoughts anybody? Such a shame to have sorted Eclipse to program my Arduino (which was painful as it is) and not be able to upload any code!