I too am having a problem uploading sketches to my UNO with the Ethernet Shield attached. I get the message
avrdude: stk500_getsync(): not in sync: resp=0x00
If I remove the shield, it uploads every time. But as you can imagine, it slows down the development process to:
unplug the USB
unplug the Ethernet Shield
plug in the USB
upload the sketch
unplug the USB
line up the pins and plug in the Ethernet Shield
plug in the USB
test, repeat from step 1
From looking at the schematics, I don't see why the Shield should interfere with the serial upload of the sketch. The only thing that they seem to have in common is the reset. For a while I thought that it might be that the USB-to-Serial chip could not reset both boards to begin the upload. I tried manually resetting the boards, like you had to do with the early Arduinos, but I still couldn't get the sketches to upload.
Earlier reversions of the Ethernet shield (which by default mean the ones sold on eBay) suffer this issue. You need to bend the pins for 0 and 1 out of the way when plugging it onto the Arduino.
Some shields sold on ebay that have PoE support built in seem to require pushing the reset button when the code starts. Search the forum for PoE to find previous post on the issue. The ebay shields I saw with the PoE had a clear disclamer about the process.
zoomkat:
Some shields sold on ebay that have PoE support built in seem to require pushing the reset button when the code starts. Search the forum for PoE to find previous post on the issue. The ebay shields I saw with the PoE had a clear disclamer about the process.
Manually pressing the reset button when the sketch begins loading is one of the things I tried. I didn't try it more than half a dozen times though.
The board is a POE version of the board. It was supposed to be V6 of the Ethernet Shield. I had hoped to find a reasonably price POE module to add to it but never did. I think I got it about 6 month ago from some place in NJ but I forget the name of the place now.
Does anyone know what caused of the problem with the POE boards? I didn't see anything in the schematic that I could point to.
I have had some success with manually resetting the unit while uploading. I hit reset at the same time I hit the upload bottom. I then hit the reset 1-2 seconds after the "Uploading..." message appears in the status area. It works about half the time. I guess I should have suspected the reset more than I did. It appears that the unit does not reset when you start a serial terminal, this is not normal.
Usually, when you start a serial terminal, the DTR signal goes low, this reset the Arduino. However, this does not happen when the Ethernet Shield is attached. I assume it has something to do with the added capacitance added to the Shield's reset circuit use for the power on reset.
I have done so yet, but does anyone see a down side to diode isolating the reset for the two boards. I was thinking of putting a diode on the reset pin of the ICSP connector of the Ethernet Shield. This should allow both boards to be reset by pressing the reset button on the shield however the main board would not reset the shield. I would also need to bend the reset pin back so that is also disconnected.