0
Offline
Newbie
Karma: 0
Posts: 18
Arduino rocks
|
 |
« on: April 09, 2009, 03:59:51 pm » |
I'm using an Arduino Duemilanove board with XBee shield. When I upload the different examples to the board by USB cable, the same errors come out :
avrdude: stk500_getsync(): not in sync: resp=0x00 avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
Anyone here can help me?
Thanks a lot.
|
|
|
|
« Last Edit: April 09, 2009, 04:01:03 pm by hzhang »
|
Logged
|
|
|
|
|
Keynsham, UK
Offline
Full Member
Karma: 0
Posts: 224
I like for loops and walks on the beach,
|
 |
« Reply #1 on: April 09, 2009, 04:07:19 pm » |
More info? Are you using the 168 or 328 and have you selected the right chip from the board menu?
/me
|
|
|
|
|
Logged
|
"C++ : Where friends have access to your private members." - Gavin Russell Baker
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 43
Arduino rocks
|
 |
« Reply #2 on: April 09, 2009, 05:25:21 pm » |
remove the module before uploading.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 18
Arduino rocks
|
 |
« Reply #3 on: April 10, 2009, 10:58:30 am » |
Atmega328 i'm sure i choose the right board and port..
My aim is to make the board communicate with computer.
|
|
|
|
|
Logged
|
|
|
|
|
Indiana
Offline
Full Member
Karma: 0
Posts: 234
Arduino rocks
|
 |
« Reply #4 on: April 10, 2009, 03:05:44 pm » |
remove the module before uploading. What he said. The Xbee is connected to RX/TX pins on the chip. This is interfering with the upload because the data from the FTDI chip also connects to the the same pins. Another solution would be to remove both jumpers on the Xbee shield that control how the Xbee's serial lines are connected when you want to upload. You didn't say which Xbee shield you have so I assume you have the jumpers. If you just want the computer to talk directly and only to the Xbee, then you need to set the jumpers in the "USB" position and remove the ATmega chip from it's socket.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 18
Arduino rocks
|
 |
« Reply #5 on: April 13, 2009, 10:41:29 am » |
Thanks a lot. but the board is already sealed. we couldn't remove the XBee shield and there's no jumper i think.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 18
Arduino rocks
|
 |
« Reply #6 on: April 22, 2009, 03:12:12 pm » |
Thanks etracer. I got it.
But do you know how to use the SquidBee to form a wirless sensor network? Squidbee gateway is the arduino+xbee+xbee pro+usb cable Squidbee node is the arduino+xbee+xbee pro+sensors
when i connect the gateway with computer via usb cable, squidbee node could transmit data to the gateway via antenna(wirless RF). I saw the sensed data on terminal software(hyperterminal or x-ctu). The problems is: i couldn't stop the transmitting? is there a command? how can i set up the squidbee node's address? because i have more than one node, i want to distingush them
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 7
Arduino rocks
|
 |
« Reply #7 on: April 29, 2009, 07:23:27 pm » |
Hello diya, i'll use Arduino Duemilanove + XBee in a couple weeks. Did you just connect Tx-Rx of Arduino and XBee and communicated? Because there is the 5V to 3.3V issue. I thought it was needed a tension divider.
About identifying nodes: -ATMY command sets the node adress. Ex.: ATMY6666 sets the node adress to 6666. -ATDL command sets the node Destination adress. Ex.: ATDL7777
This way, the node "6666" will only send data to 1(or more) node with "7777" adress. You can set several nodes with 7777 adress, so they all receive the data. You can create many diffenrent setups. Hope this will help you.
To stop transmittion (i'm assuming you're using XBee A/Ds to transmit constantly) I guess you can set the transmitting node to sleep. nut I'm not sure of that. Another option is to enter command mode by sending '+++' and waiting 1 sec without send anything. Then disable A/Ds.
Hope this can help you
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 18
Arduino rocks
|
 |
« Reply #8 on: April 30, 2009, 11:00:08 am » |
Thanks KBK.
The way to use ATMY etc. command could set up the gateway's address, because the gateway is connected via cable and X-ctu could communicate with the gateway. But as for the node which is powered by battery and communicate wirlessly, we couldn't use any terminal to set up their address.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 18
Arduino rocks
|
 |
« Reply #9 on: April 30, 2009, 12:02:57 pm » |
quto[tr]'m using an Arduino Duemilanove board with XBee shield. When I upload the different examples to the board by USB cable, the same errors come out :
avrdude: stk500_getsync(): not in sync: resp=0x00 avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51 [/tr]
i think the reason is that i don't have Atmega chip.....i only have a board.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 4
Arduino rocks
|
 |
« Reply #10 on: May 04, 2009, 04:40:42 am » |
I am working with the same board, and i have this problem too.
I bought Arduino+Xbee board last week. When I tried to upload a example, this message appeared:
avrdude: stk500_getsync(): not in sync: resp=0x00 avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
I saw the recommendations in Arduino website but I can´t solve it.
Some information about my enviroment: OS: Windows XP Serial Port: COM3 Board: Arduino Duemilanove + XBee (Squidbee)
I am new in Arduino.I need your help. Thanks!
|
|
|
|
|
Logged
|
|
|
|
|
Indiana
Offline
Full Member
Karma: 0
Posts: 234
Arduino rocks
|
 |
« Reply #11 on: May 04, 2009, 06:19:51 am » |
I am working with the same board, and i have this problem too.
I bought Arduino+Xbee board last week. When I tried to upload a example, this message appeared:
avrdude: stk500_getsync(): not in sync: resp=0x00 avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
I saw the recommendations in Arduino website but I can´t solve it.
Some information about my enviroment: OS: Windows XP Serial Port: COM3 Board: Arduino Duemilanove + XBee (Squidbee)
I am new in Arduino.I need your help. Thanks! Read some of the earlier replies in this topic.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 18
Arduino rocks
|
 |
« Reply #12 on: May 04, 2009, 09:46:45 am » |
Hi Crisfuga, did you buy from libelium company? what's your experiment about?
As for the problem, I think we don't have the Atmega 168/368 chip on Duemilanove board. Later I will try to upload some photos about my board.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 4
Arduino rocks
|
 |
« Reply #13 on: May 05, 2009, 02:20:29 am » |
Hi diya!
yes, It´s a arduino board of Libelium. I´m working in a proyect of sensor network to have a degree in telecomunications. My experiment is about mixed networks, but it could change.
So, have you also bought it from Libelium?
Thanks for your photos, i want to solve this problem as soon as possible.
|
|
|
|
« Last Edit: May 05, 2009, 02:21:27 am by crisfuga »
|
Logged
|
|
|
|
|
Indiana
Offline
Full Member
Karma: 0
Posts: 234
Arduino rocks
|
 |
« Reply #14 on: May 05, 2009, 06:11:27 am » |
i want to solve this problem as soon as possible. second try to give you the answer... Then read the other posts in this topic (<< it's a link) that tell you how to solve the problem. If you don't want to click on the link, then just scroll up.
|
|
|
|
|
Logged
|
|
|
|
|
|