SparkFun Forums 

Where electronics enthusiasts find answers.

For the discussion of Arduino related topics.
By async
#118599
Hello,
I'm just starting out with the Arduino Uno.

I'm getting errors when downloading a sketch to the Arduino Uno when the XBee Shield and XBee Pro 60mW is connected. I don't get the errors if I remove the XBee Pro 60W from the Shield. I tried downloading the sketch with the Shield switch in both the UART and DLINE positions. Both positions had the same failed download.

What am I doing wrong?

The error message I get when the sketch fails to download are:
Code: Select all
Binary sketch size: 1018 bytes (of a 32256 byte maximum)
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
This is the Arduino I'm using:
http://www.sparkfun.com/products/9950

This is the Shield I'm using:
http://www.sparkfun.com/products/9976

This is the XBee I'm using.
http://www.sparkfun.com/products/8742
By ScottH
#118858
How are you powering the XBee? Those modules can draw up to 350 mA.
-Scott

quote="async"]Hello,
I'm just starting out with the Arduino Uno.

I'm getting errors when downloading a sketch to the Arduino Uno when the XBee Shield and XBee Pro 60mW is connected. I don't get the errors if I remove the XBee Pro 60W from the Shield. I tried downloading the sketch with the Shield switch in both the UART and DLINE positions. Both positions had the same failed download.

What am I doing wrong?

The error message I get when the sketch fails to download are:
Code: Select all
Binary sketch size: 1018 bytes (of a 32256 byte maximum)
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
This is the Arduino I'm using:
http://www.sparkfun.com/products/9950

This is the Shield I'm using:
http://www.sparkfun.com/products/9976

This is the XBee I'm using.
http://www.sparkfun.com/products/8742[/quote]
By jumanji
#122383
There is a small switch on the XBee Shield with two positions marked "UART" and "DLINE". If the shield is attached to the UNO when you uploading the program, then the switch has to be in the "DLINE" position or you will see the errors that you are getting. After your program has been uploaded change the switch to the "UART" position and you are good to go.
By Wallacecarvalho
#192272
Good afternoon folks. Get me a question: I'm using a one r3 along with a xbee shield and when I do uploading program sends correctly.

But when I connect the xbee the shield, an error occurs: avrdude stk500_getsync () not in sync resp = 0x00