Go Down

Topic: Programming Arduino via xbee (Read 158 times) previous topic - next topic

ThomasD


Hello,

here my Hardware first:
Arduino UNO R3
Arduino XBee Zigbee Shield (the old one from Arduino)
Xbee Series 1

I have a connection from the PC to the Arduin over Xbee and can receive Seriell Data from the Uno.
But i can't programming the Arduino, after upload a sketch i receive this message:

Quote
Der Sketch verwendet 7.990 Bytes (24%) des Programmspeicherplatzes. Das Maximum sind 32.256 Bytes.
Globale Variablen verwenden 495 Bytes (24%) des dynamischen Speichers, 1.553 Bytes für lokale Variablen verbleiben. Das Maximum sind 2.048 Bytes.
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00
any ideas what is wrong?

regards Thomas

ThomasD

Hello,

I think I found the problem, i need the DTR line for the Arduino.
My solution i to send the DTR Signal by an i/o pin to arduino.
But i need a level shiffter for the Xbee out put to the Arduino Reset.

Can i use the CTS level shiffter on the Arduino Xbee Shield by connect DI0 to CTS?

Regards Thomas

musclesinwood

Hi thomas

Did you solve hte problem. Actually I am having the same problem. I am trying to upload the code on the Arduino board using Xbee but the uploading is taking forever and I am getting the same sync error what you posted in your post.

Please help me and guide me.

sincerely

R_Thompson

Sometimes the upload does not work because there is something connected to the serial pins (TX and RX) during the upload. I had that problem with my Arduino Nano. If your using a shield it may be better to disconnect it during the upload.

Go Up