Uploading XBee firmware

From SquidBee

Jump to: navigation, search

Uploading the XBee firmware

You'll need:

  • Arduino board (the one in squidbee gateway)
  • XBee shield for arduino
  • 2 female pin-heads
  • Soldering iron
  • 2 wires
  • A PC (linux or windows)
  • X-CTU software (www.maxstream.net)

Hardware

1 - Solder the pin-headers on the arduino board
Ardino Diecimila:


Arduino NG

Arduino Duemilanove

2 - Connect two wires to the pin-headers and take out the ATmega (The microcontroller located in the Arduino board) Ardino Diecimila:


Arduino NG

Arduino Duemilanove

3 - Plug the XBee shield on the arduino board and connect the wires as follows:

  • Yellow to pin 16 in XBee
  • Purple to pin 9 in XBee

4 - Connect the USB cable to your PC

Software - Linux (tested in debian hetch)

1 - Install wine

2 - Install X-CTU using wine

3 - Run X-CTU software


4 - Make a symbolic link between ttyUSB0 and com2

type in terminal: ln -s /dev/ttyUSB0 /home/your_home/.wine/dosdevices/com2

5 - Add com2 port to X-CTU


6 - Check the communication (click on test button)

7 - Go to modem configuration

8 - Press read button to check your actual firmware version

9 - Select the Function Set and version you want upload

10 - Press write button

11 - If you get OK, you have your xbee with the new firmware uploaded

Software - Windows

1 - Run X-CTU software

2 - Check the communication (click on test button)

3 - Go to modem configuration

4 - Press read button to check your actual firmware version

5 - Select the Function Set and version you want upload

6 - Press write button

7 - If you get OK, you have your xbee with the new firmware uploaded

Personal tools