Loading...
Pages: [1]   Go Down
Author Topic: Arduino code won't upload with Ethernet Shield attached...  (Read 707 times)
0 Members and 1 Guest are viewing this topic.
Baldwinville, MA, USA
Offline Offline
Newbie
*
Karma: 0
Posts: 1
No matter where you go, there you are.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello all

Kind of a newbie here...  smiley-red

Been playing with my Arduino Boards for a while.  i have an UNO and a Duemilanove 328.

I've been able to program both of them no problem for weeks.  Any example project I try will compile and upload with no issue.

I recently got an Ethernet shield...I'm trying some test sketches and no matter which board I try with the shield attached i get:

avrdude: stk500_getsync(): not in sync: resp=0x00

As I said, without the Ethernet shield attached all is bliss....

Do I have a bad shield or am I just doing something stupid.

Thanks in advance for any and all wisdom.  smiley-eek-blue

Robert

 
Logged

Miramar Beach, Florida
Offline Offline
Faraday Member
**
Karma: 56
Posts: 3529
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Some ethernet shields cause a problem with the reset from the usb port. If the Arduino doesn't get the reset, it won't start the bootloader.

Install the shield, and when you start to upload the code, press and release the reset button on the Arduino/shield. See if the code uploads then.

Logged

Portugal
Offline Offline
God Member
*****
Karma: 10
Posts: 784
Tomorrow I will know a BIT more than yesterday
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You can also try to update the arduino firmware and remove a resistor on the board.I dont remeber now the location on the board but it fix the problem.
« Last Edit: April 04, 2012, 12:58:43 pm by HugoPT » Logged

Debian,Mint,Ubuntu
Arduino Mega 2560
Arduino Nano
Arduino Duemilanove
MAC OS Montain Lion
Raspberry PI Model B


Austin, TX
Offline Offline
Faraday Member
**
Karma: 42
Posts: 5242
CMiYC
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Just curious, did you buy the board from eBay?
Logged

www.cmiyc.com - A guide to being an Enginerd

Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have exactly the same problem. Did one of the offered solutions work for you?

I'll try to reset the arduino and ethernet shield before uploading the sketch later.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I know this is an old thread, but I want to share my solution with others.

I bought a couple of the PoE ready shields from China off eBay and was having the same issue.  The problem is too much capacitance on the reset line when the shield is plugged in.  Here is the solution:

Look at http://arduino.cc/en/uploads/Main/arduino-ethernet-shield-06-schematic.pdf

The issue is c3 (100n cap).  It is located on the Ethernet shield, at the bottom left hand corner of the reset switch (the resistor is above and to the left of the cap).  Mine was brown.  Just float it off with a soldering iron, and viola!



If you are interested in what is going on, watch it with a scope.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks!
Logged

Pages: [1]   Go Up
Print
 
Jump to: