# firmware update with arduino

**URL:** <https://forums.digi.com/t/firmware-update-with-arduino/1615>\
**Category:** XBee - 802.15.4\
**Created:** [January 7, 2011, 2:35pm UTC](https://forums.digi.com/t/firmware-update-with-arduino/1615 "2011-01-07T14:35:52Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![cioto](https://avatars.discourse-cdn.com/v4/letter/c/b782af/32.png) [@cioto](https://forums.digi.com/u/cioto)\
**Post date:** [January 7, 2011, 2:35pm UTC](https://forums.digi.com/t/firmware-update-with-arduino/1615/1 "2011-01-07T14:35:52Z")

</div>

Hello, I am trying to update the firmware of a XBee module, current firmware 1084.  
I am using an Arduino board with the atmega chip removed, and the XBee is mounted onto an Arduino XBee shield  
[http://www.arduino.cc/en/Main/ArduinoXbeeShield](http://www.arduino.cc/en/Main/ArduinoXbeeShield)  
I can set parameters but I am having no success in updating the firmware of the module:

“Getting modem type… Failed to enter command mode  
… Write parameters… Failed”

Any hint?

---

<div class="post-metadata">

**Author:** ![Herman](https://avatars.discourse-cdn.com/v4/letter/h/eada6e/32.png) [@Herman](https://forums.digi.com/u/Herman)\
**Post date:** [January 10, 2011, 3:01pm UTC](https://forums.digi.com/t/firmware-update-with-arduino/1615/2 "2011-01-10T15:01:53Z")

</div>

Is the Xbee connected to the PC?

It is doubtful the firmare can be updated wirelessly while connected to an Arduino shield. You’ll likely need to connect it directly to the PC running XCTU (serial or USB).

---

<div class="post-metadata">

**Author:** ![cioto](https://avatars.discourse-cdn.com/v4/letter/c/b782af/32.png) [@cioto](https://forums.digi.com/u/cioto)\
**Post date:** [January 10, 2011, 3:14pm UTC](https://forums.digi.com/t/firmware-update-with-arduino/1615/3 "2011-01-10T15:14:09Z")

</div>

The arduino is connected with USB to the PC, and on the arduino there’s the XBee shield and the XBee.

---

<div class="post-metadata">

**Author:** ![Herman](https://avatars.discourse-cdn.com/v4/letter/h/eada6e/32.png) [@Herman](https://forums.digi.com/u/Herman)\
**Post date:** [January 10, 2011, 3:21pm UTC](https://forums.digi.com/t/firmware-update-with-arduino/1615/4 "2011-01-10T15:21:37Z")

</div>

To my knowledge, you won’t be able to update the Xbee via the Arduino USB connection.

You will need to remove the XBee from the shield and place it in a USB XBIB/FTDI connection or a Serial XBIB board and connect it directly to the PC in order to update the firmware.

Aside from this, the only other way I know of to update the firmware is by using a ConnectPort X coordinator unit to perform OTA updates.

---

<div class="post-metadata">

**Author:** ![cioto](https://avatars.discourse-cdn.com/v4/letter/c/b782af/32.png) [@cioto](https://forums.digi.com/u/cioto)\
**Post date:** [January 10, 2011, 3:24pm UTC](https://forums.digi.com/t/firmware-update-with-arduino/1615/5 "2011-01-10T15:24:47Z")

</div>

Thank you.  
I asked because I found some hints about upgrading firmware with the Arduino, connecting the RTS line of the XBee to the RTS line of the arduino:  
[http://www.ladyada.net/make/xbee/wiring.html](http://www.ladyada.net/make/xbee/wiring.html)  
but it did not work for me.

---

<div class="post-metadata">

**Author:** ![MST\_616](https://avatars.discourse-cdn.com/v4/letter/m/6de8d8/32.png) [@MST\_616](https://forums.digi.com/u/MST_616)\
**Post date:** [January 31, 2012, 5:23pm UTC](https://forums.digi.com/t/firmware-update-with-arduino/1615/6 "2012-01-31T17:23:15Z")

</div>

When updating via the Arduino with XBee shield, which of the XBee’s RS232 pins are actually connected? I’m assuming Rx, Tx, Signal Ground, but what else is pinned into the cable or interface?

---

<div class="post-metadata">

**Author:** ![beqbeq](https://avatars.discourse-cdn.com/v4/letter/b/e95f7d/32.png) [@beqbeq](https://forums.digi.com/u/beqbeq)\
**Post date:** [February 28, 2012, 2:12pm UTC](https://forums.digi.com/t/firmware-update-with-arduino/1615/7 "2012-02-28T14:12:57Z")

</div>

nice post,thanks for sharing to us.  
[Gaya Busana](http://informasibusana.blogspot.com/)
