Error uploading

Hi,

I know this problem occurs often, but the answers on the topics did not solve my problem.

When I put this Ethernet shield on my arduino mega 2560 I got this error:

De schets gebruikt 14.652 bytes (45%)  programma-opslagruimte. Maximum is 32.256 bytes.
Globale variabelen gebruiken 631 bytes (30%) van het dynamisch geheugen. Resteren 1.417 bytes voor lokale variabelen. Maximum is 2.048 bytes.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x5e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x5e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x5e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x5e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x5e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x5e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x5e
Probleem bij het uploaden naar het board. Zie http://www.arduino.cc/en/Guide/Troubleshooting#upload voor suggesties.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x5e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x5e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x5e

Despite its Mega compatible I bought this Arduino UNO

The same problem occurs again. The code that I uploaded ware the ethernet exemples.

Things I tried:

  1. Order board; 1 mega and 1 uno.
  2. Different USB cables
  3. Put a adapter on the boards for voltages drop
  4. Press reset till IDE shows uploading:
    Press the reset from the ether shield alone
    Press the reset from the board alone
    Press both resets
  5. Tried uploading a other sketch
    (when uploading without ethernet shield no problems occurs)
  6. Tried another PC
  7. Tried uploading with the ethernet cable plugged in
  8. Reed almost every thing when searching google with: "upload error arduino with ethernet shield"

I checked a 100 times if my COM port is selected right, selected the right board and tried every programmer that is that programmer list.

I use a windows 7 64BIT, with arduino 1.6.7 software and a PC windows 7 32BIT, with arduino 1.6.7.

The only thing I did not tried was removing a capacitor from the ethernet shield. If someone knows how this fix, thanks a 100 times. Removing the capacitor is last option, the capacitor has his reason to be there I think?

Michel

Have you tried to upload your code without the shield, then when done uploading, connecting the shield to see if it works? The only thing that I can see is that the shield is using the RX/TX programming pins when trying to upload. Almost sounds like the shield is defective.

Yes I tried uploading without the shield. No problems or errors when uploading without the shield. :frowning:

Like Codlink said, if the TX/RX ports are in use (which they are with the eth shield connected) you will not be able to upload any new code.
So, remove the shield when uploading, put it back when done (After you cut power from the Arduino ofcourse)

Thanks for replying, I give a try when I get home.

It doesn't work.

Also I tried uploading this easy code:

// the setup function runs once when you press reset or power the board
void setup() {
Serial.begin(9600); 
}

// the loop function runs over and over again forever
void loop() {
 Serial.print("Joo");
 Serial.print("\t");// prints a label
 delay(200);
  Serial.print("joo2");
  Serial.print("\t");// prints a tab
  delay(200);
}

This prints joo and joo2 with tabs. Without the shield it works, with the shield not.
I don't know what do else?
Some one?

Like people before said, no matter how simple the code is, it will not upload with the shield connected. Just disconnect it, upload code, place it back.

Exactly like I said, take the shield off before programming, put it back afterwards.
You can't program anything when pins 0 and 1 are in use.

Septillion and Benji, thanks for replying.
I upload a code without a shield, that works. Then I put the shield on, nothing works anymore.

Uploading works, that was your question.
If the code itself doesn't do what you're expecting it to do, post the code and we'll see if there is something there.