Softivation

Updating XBee module firmware (with XCTU)

Updating the firmware of an XBee Series 2C module with XCTU: the right product family and function set, keeping your settings, flashing, and what to do if it stops halfway.

Furkan IŞIKAY Updated: 3 min read

For two XBees to talk to each other, both need the same firmware. Updating the firmware with XCTU takes a few minutes. In this article we also explain which firmware to choose and how to keep your settings. The article is written for XBee Series 2C (S2C) and the current version of XCTU. The setting names are the same on the newer XBee 3 modules.

1. Adding the module to XCTU

Plug the module into the XBee Explorer, connect it to the computer, and in XCTU add it by selecting the COM port with the "Add a radio module" button at the top left. The details are in the first step of the XBee Series 2C settings article. If the port doesn't show up: XBee Explorer doesn't show up on the computer.

2. Starting the update

  1. Click the module in the list on the left; its settings open on the right.
  2. Press the Update button at the top of the settings page.
The Update button on the settings page
Look at the Update button in the red circle: the update starts with this button.

3. Choosing the right firmware

The window that opens has three choices:

ChoiceWhat to pick
Product familyThe family matching the name on the module's label. XBP24C for Pro Series 2C, XB24C for regular Series 2C.
Function setFor Zigbee, "Zigbee TH Pro" ("Zigbee TH" on non-Pro modules). On Series 2C, Coordinator and Router use the same firmware.
Firmware versionThe top one, that is, the newest version. Load the same one onto both modules.
Firmware selection window
Look at the numbers in order: product family, function set, newest version, and Update. The Force the module… checkbox at the bottom keeps your settings.

If you tick the "Force the module to maintain its current configuration" checkbox at the bottom of the window, settings such as PAN ID and baud rate stay in place after the update. If you don't, the module starts up with factory settings and you redo the settings. If you chose a new function set, you have to redo the settings anyway.

The most common mistake: loading a different function set or version onto the two modules. Both look fine in XCTU, but a message typed in the console never reaches the other side. After the update, compare the Firmware Version row of the two modules side by side.

4. Flashing

When you press Update, XCTU writes the firmware, and a few windows open and close. Don't pull the cable or put the computer to sleep during this. If it stops halfway, the module drops off the list; you then bring it back with the Recovery step in the Action Required error fix article.

When "Firmware update process successfully completed" appears, press OK. You'll see the new version number at the top of the settings page. Bring the second module to the same version too.

Example: bringing two modules from version 405E to 4060

Select the first module and press Update. In the window, select XBP24C, ZIGBEE TH PRO, and the 4060 (Newest) row at the top of the list, tick the Force the module… checkbox, and click Update.

When flashing finishes, the top of the settings page reads Firmware version 4060, and PAN ID and baud rate stay in place. Make the same choices on the second module. Once both modules show 4060, the update is done.

Error Messages and Their Meanings

Reset your radio module. If the dialog is not closed within 10 seconds, click cancel.

During the update, XCTU asks for a reset to put the module into bootloader mode. Press the reset button on the Explorer once; the window closes on its own and flashing continues.

Could not find any radio module connected to the specified port and with valid settings.

Flashing stopped halfway and the module no longer responds. Rewrite the firmware from scratch with the Recovery step in the XBee Action Required error fix article.

What's next

Once both modules are on the same firmware, here is how to put them on a network and connect them to the drone: XBee Series 2C settings and drone connection. Radio selection and range calculation are in the Drone Communication Technologies Course; the first lesson is free for members.

Was this article helpful?

Free resourceTEKNOFEST UAV software readiness checklistCheck off your UAV software readiness stage by stage on a printable list.

Learn this topic from start to finish

Season plan: all six courses for 9 months, ₺790 a month. ₺390 a month for high school and university students, ₺351 the first month with your member code. You can stop in any month you like. Start the Season plan · I'm a student