Example Projects
Workshops
Actuators
Connections
Power
Sensors
Traces
Circuits and Code Wireless

Conductive Materials
Non-Conductive Materials
Tools
Techniques
Wireless
  • BLE (Bluetooth Low Energy)
  • Bluetooth Mate
  • Data Logging
  • Embroidered LilyBLE Module
  • Wireless Communication 101
  • Xbee
  • Xbee Direct (Xbee-Xbee)
  • Xbee Direct (Multiple Xbee - Xbee- comp)
  • Xbee Direct (Sensor-Xbee-Comp)
  • Xbee dongle
  • Xbee FirmwareUpdate
  • Xbee lilypad shield PCB
  • Xbee Serial Communication
  • About
  • Newsletter
  • Shopping Local

  • SEARCH
    Content by Mika Satomi and Hannah Perner-Wilson
    The following institutions have funded our research and supported our work:

    From 2013-2014 Mika is a guest professor at the eLab at Kunsthochschule Berlin-Weissensee

    From July - December 2013 Hannah was a researcher at the UdK's Design Research Lab

    From 2010-2012 Mika was a guest researcher in the Smart Textiles Design Lab at The Swedish School of Textiles

    From 2009 - 2011 Hannah was a graduate student in the MIT Media Lab's High-Low Tech research group led by Leah Buechley


    In 2009 Hannah and Mika were both research fellows at the Distance Lab


    Between 2003 - 2009 Hannah and Mika were both students at Interface Cultures
    We support the Open Source Hardware movement. All our own designs published on this website are released under the Free Cultural Works definition
    Wireless

    Xbee FirmwareUpdate

    To enable the direct xbee communication, you need firmware version 10A1 or later (I used 10A5) for Xbee  Series 1 802.15.4, or for Xbee Seriese 2, ZNET 2.5 CORDINATOR API or  ZNET 2.5 ROUTER/END DEVICE API firmware. If your Xbee does not have these firmware by default, you can update the firmware by using X-CTU software (only PC) from digi.

    In this post, I am explaining how I did the firmware update, including how I restored my bricked Xbee Series 1 802.15.4 and Series 2. (I can not guarantee that it works for every case, but at least it worked for me)

    Step 1: Connect the Xbee to your computer(PC).

    You can use Xbee USB dongle or make your own Xbee-USB connection using arduino USB board.
    For detail, please see Xbee dongle post.

    Step 2: Open X-CTU

    X-CTU is a software from digi (the company which produces Xbee) that let you update the firmware. You can download it from here (http://www.digi.com/support/productdetl.jsp?pid=3352&osvid=57&tp=4&s=316)

    When X-CTU is installed, open the software and go to “PC settings” tab. 
    Choose the USB port that Xbee is connected.
    Set the baudrate to the Baudrate of the Xbee (default 9600), Flow Control = NONE, Data Bits = 8, Parity = NONE, StopBits=1.
    Click “Test / Query” to see if software can recognize your Xbee.

    If you have a bricked Xbee series 2, then you can set it as following.
    Baudrate of the Xbee (default 9600), Flow Control = HARDWARE, Data Bits = 8, Parity = NONE, StopBits=1.

    Step 3: Go to “Modem Configuration” tab.

    Click “Read” to get your Xbee setting to X-CTU. (if your Xbee is not bricked)
    It is good to get the newest version by clicking “Download new versions” and choose from the web (make sure you are connected to network)

    For Series 1 802.15.4:
    Choose “modem= XB24″, “XBEE 802.15.4″ “10A5″ (the latest one did not work for mine)
    Choose “Always update firmware” under “Read” button.

    For Bricked Series 2: 
    Choose “modem= XB24-B”, “ZNET 2.5 CORDINATOR AT ” “1047″ or “modem= XB24-B”, “ZNET 2.5 ROUTER/END DEVICE AT” “1247″
    Choose “Always update firmware” under “Read” button.

    For Series 2: 
    Choose “modem= XB24-B”, “ZNET 2.5 CORDINATOR API ” “1147″ or “modem= XB24-B”, “ZNET 2.5 ROUTER/END DEVICE API ” “1347″
    Choose “Always update firmware” under “Read” button.

    Step 4: Click “Write”

    Then you should see blue progress bar on the bottom.

    Step 5: X-CTR will ask to reset the Xbee. 

    Press reset push switch that you made between reset (pin5) and GND.
    Then the message box should disappear. 

    Then you should see “firmware update completed” message on the bottom.
    When reset message window does not disappear after pressing the push switch, (it happened to me when it was trying to write AT command after programming sequence), you can click “cancel”. 

    Step 6: Quite X-CTU, restart it and see if you can connect to Xbee from X-CTU

    Go to “Modem Configuration” tab, set baudrate to the Baudrate of the Xbee (default 9600), Flow Control = NONE, Data Bits = 8, Parity = NONE, StopBits=1.
    If you have made Series 2 Xbee to API firmware, make sure to check “Enable API” in Host Setup tab 
    Click “Test / Query” to see if software can recognize your Xbee.


    If you had the bricked Series 2, now you can go back to step 5 and update it to API firmware.

    Now you should be able to setup pin configuration, PAN ID and all the setting needed for Direct Xbee communication using X-CTU or simple serial port communication software using AT command.

    24 Comments so far

    1. Chen123 on February 4th, 2010

      Can you please explain step by step how to configure Xbee in API mode ?

    2. Mika on February 9th, 2010

      It is not really “step by step”, but you can check “Xbee Direct” post( http://www.kobakant.at/DIY/?p=214) for API setup. I did not post “step by step” since how you connect Xbee via terminal differs per person. You can use processing sketch by Rob Faludi, max/msp patch that I posted at “Xbee Direct” post, or other terminal communication program. To enter the AT command mode, send ” “. Your Xbee should return “OK” when connected. Once you are connected, you can set up AT command as you like by just typing in. (i.e. setting up ID as 1234, type “ATID 1234 (return)” and Xbee will answer “OK”. Before disconnecting, type “ATWR” so that your change is saved. To check if your change is there, type “ATID” and it should return “1234″ (the change you’ve made). The whole AT commands are listed on the Xbee manual, which you can download from Digi site.

    3. Daan on February 20th, 2010

      Thank you so much for this article. By using this tutorial I repaired my 3 ‘bricked’ XBee Series 2 modules.

    4. Mika on February 21st, 2010

      !! Happy to hear that!! I was also very happy when it repaired mine.

    5. Georg on June 21st, 2010

      I use a XBee Series 2 Modul. Few days ago I tried to upgrade the firmware. But during the progress a failure occured and the XBee Modul stopped the upgrade. Now I can’t communicate with the module. I tried to fix my problem with this tutorial http://www.youtube.com/watch?v=fxOqQZD-oaM&feature=PlayList&p=375218B66A32088E&playnext_from=PL&playnext=1&index=1 but it still not works.

      I hope you has an idea what I can do.

      greetings

    6. awab on December 21st, 2010

      Georg on June 21st, 2010
      u should check “sparkfun” forums for that…

    7. Laura on June 17th, 2011

      For serie 1 is it the same?

    8. [...] Instructions for updating the XBee firmware set. http://www.kobakant.at/DIY/?p=163 [...]

    9. sudip on December 23rd, 2011

      can we update ZB firmware instead of ZNet ?
      other thanks, you made configuration simple
      keep blogging

    10. Kragan on January 22nd, 2012

      I’ve a big question in this.
      I’ve been working with Xbee for a short period of time with no problems ’til i got no response from the module when i used the ” “. The correct answer for the module would be “OK”, but just nothing happens.
      I’ve read a lot of this, but i had no succeded in find any solution for this matter.
      Could you please tell me what to do, or what i shouldnt be doing?.
      I’ll appreciate it.

      Thanks!

    11. Kragan on January 22nd, 2012

      It didnt capture the “PlusPlusPlus” symbol.
      sorry and thanks

    12. dave07 on February 25th, 2012

      Thanks alot! Saved my bricked Series 2!

    13. Matt on March 15th, 2012

      I just got my Series 1 XBee unbricked by holding down the reset button then starting the Write. I then go a pop-up window and pressed the rest button again. Firmware updated fine. Prior to this I was getting ‘lost comms with modem’ with every version I tried downloading.
      I had ‘Always Update Firmware’ checked and used Ver 10A5.
      After unbricking I updated to latest 10ED no problem.

    14. Bn4al on May 3rd, 2012

      I bought two xbee S1 with one usb booard, X-CTU software does recognise both xbees but am unable to get either coordinator nor router under function set.
      I have well downloaded the firmware several times and the first time i did so, it took me atleast one hour to do so.
      Even after that i still cant find either coordinator not router.

      can you please help me out?

      thanks

    15. Haytham on September 10th, 2012

      Thank you very much, i thought i have to buy another module :))

    16. Anuja on March 3rd, 2013

      I am using xbee series 2 in my project. I couldn’t interface it with Arm kit, LPC2148. It is required in my project for serial communication. I have a doubt that is it required to configure xbee through LPC2148′s programe or is it possible to configure xbee through X-CTU and just send data throough programe???
      And I also want the connections required for interfacing xbee and LPC2148? Can I connect it directly or should it connect through DB9???

    17. lola on April 5th, 2013

      I am using xbee serie 1. I have the kit with the XBIB-U.
      I have a problem with modem configuration , when i want to click on “read”
      i have a message which says “a sharing violation occurred while accesing
      C:\PROGRAM FILES(X86)\DIGI\XCTU\update\xcite10C_02.mxi. “…
      and i need help for avancing my project.

    18. weight reduction capsule on July 3rd, 2013

      For my reading purposes, I at all times used to get the video lectures from YouTube, for the reason that it is trouble-free to fan-out from there.

    19. khalil on July 13th, 2013

      I am using zigBee series1. The problem when i switch to api mode (AP=1) the receiver does not receive data anymore( transmitter(AP=1) receiver(AP=1)?. help please

    20. comments on July 22nd, 2013

      Pretty! This has been a really wonderful post. Many thanks
      for providing these details.

    21. offerte croazia on August 6th, 2013

      Hmm it seems like your website ate my first comment (it was super long) so I guess
      I’ll just sum it up what I had written and say, I’m thoroughly enjoying your blog.
      I too am an aspiring blog blogger but I’m still new to the whole thing. Do you have any helpful hints for rookie blog writers? I’d genuinely appreciate
      it.

    22. Jyothi on November 7th, 2013

      Hi,my Xbee is not detected after trying for 100 times in PC configuration of x-CTU plz help.

    23. rafiqah amira on May 13th, 2014

      i have a problem with xbee pro s1. i just received my xbee from the supplier last week. before this the xbee is corrupted, so after i get back the xbee , the version is upgraded to 10ED. the old version was 10EC. the latest XCTU software for xbee that i am using is 10EC. do you know where is the best website should i refer to. thanks.

    24. YU on May 14th, 2014

      Thanks a lot.. It saved my bricked Xbee.. thumbs up!

    Leave a comment

    This site is protected by Comment SPAM Wiper.