upload through ICSP to arduino ethernet

Hi all,

I'm having a strange problem since I started to upload sketched to an Arduino Ethernet (I'm talking about the actual Ethernet board, not the shield).

I use an Arduino Duemilanovue as the programmer with the standard ISP sketch from the examples. Everything is connected as is described in the documentation, and the home-made shield I made up for this has proved to function well.

If I just upload the ISP sketch, and then try to upload my own sketch through the 'upload using programmer' command, it works most of the time immediately. Once. If I make a change to the code and upload again, it will fail consequently . If I upload the ISP sketch again to the 'programmer-arduino', then it will most likely work again.

It's mostly guessing at this point, and I'm switching in between boards in the 'tools, boards' menu all the time for this, and it will always work at some point. But it's annoying and I'm sure I must be missing something.

any ideas?

thanks!
Jens

Have you disabled autoreset on the board that's acting as the ISP programmer?

Standard way is ~10uf cap from reset to ground (though almost anything more than a uF or two will probably be enough to clobber the autoreset) - obviously you have to connect this after you load ArduinoAsISP sketch onto the board acting as programmer :wink:

I have not! :slight_smile:

Sorry for the late reply, was busy with something else the last weeks. I'll try your suggestion!
Thanks!