SlideShare una empresa de Scribd logo
1 de 7
Descargar para leer sin conexión
022-0145 Rev. A 1
TN270
Using X-CTU to Download Firmware and
Profiles to XBee RF Modules
Introduction
X-CTU is a graphical Windows-based serial utility provided by Digi to program and configure the firmware
on its RF products, including the XBee ZB and XBee ZNet RF modules and the Digi XBee USB. X-CTU
is designed to function with all Windows-based computers running Windows 98 SE and later.
This technical note focuses on the PC settings and modem configuration used to set up and change profiles
on XBee RF modules used with Rabbit-based products. Additional information on other aspects of X-CTU
is available in Digi’s online X-CTU Configuration and Test Utility Software User’s Guide.
Using X-CTU
Install X-CTU
1. Locate and double-click the X-CTU setup executable (Setup_XCTU_5222.exe in the Dynamic C
DCRabbit…UtilitiesX-CTU directory) to install the X-CTU application that you will use to
download profiles or firmware. You may use a different version of X-CTU from another source, but its
behavior may be different.
2. Start X-CTU from the desktop icon.
3. You will be prompted to check Digi's Web site for firmware updates —select no since the correct firm-
ware is already included.
You may need to select yes to get the 2x41 firmware from Digi's Web site if you are using a different
version of X-CTU. The “Firmware Download Options” section in this Technical Note describes how to
install the firmware without an Internet connection.
022-0145 Rev. A 2
Connect Download Cable — XBee RF Module
Connect Digi XBee USB
If you are planning to configure the Digi XBee USB, simply connect the USB connector to a USB port on
your PC.
1. Set the jumpers on header J5 on the RF Interface Board for
the DCE configuration to load or modify profiles on the
XBee RF modules. Remember to also install the jumper to
enable RS-232.
2. Connect the 10-pin connector of the download cable to
header J6 on the RF Interface Board. Line up the colored
edge of the download cable with pin 1 of header J6 as shown.
Connect the DB9 connector end of the download cable to a
COM (serial) port on the PC. You may use an RS-232/USB
converter cable (Rabbit Part No. 20-151-0178) if your com-
puter does not have a COM port.
DCE DTE
J5DCE
PC connects
to RF Module
J6
To
PC COM port
022-0145 Rev. A 3
PC Settings Tab
Some displays of a successful Test/Query may show XB24-B to reflect ZNet firmware instead of
XB24-ZB to reflect the ZB firmware that is actually on the XBee ZB RF module. This reflects a bug in
the X-CTU utility.
If the Test/Query fails, try unchecking or checking “Enable API” under “Host Setup.” Also try changing
the baud rate to 9600 or 115200 baud. These are the most common settings you will use for XBee RF
modules that are used with Rabbit products.
1. Set the “PC Settings” tab to 115200 baud,
HARDWARE flow control, 8 data bits, parity
NONE, 1 stop bit.
This is the usual setup for XBee RF modules that
have been configured for use with Rabbit prod-
ucts. Set the “PC Settings” tab to 9600 baud for
XBee RF modules that were obtained from
sources other than Rabbit.
2. Check “Enable API” under “Host Setup.” This
box must be checked unless you reconfigure the
XBee RF module with AT firmware.
3. Select the COM port the download cable is con-
nected to, then click Test/Query. A window
should open to display the firmware version. Note
that a failed Test/Query is indicated by no entry
after the “=” sign when “Enable API” under “Host
Setup” is checked, otherwise a clear failure mes-
sage is displayed. You may have to retry several
times if your XBee RF module is currently con-
figured as an end device and has the sleep mode
enabled. Click OK in this window to close it.
Samples of successful and failed Test/Query results for API firmware are shown below.
Successful Test/Query Failed Test/Query
022-0145 Rev. A 4
Modem Configuration Tab
Profiles, firmware, and configurations for the XBee RF module are set using the “Modem Configuration”
tab.
You may get an error message after you click Write, particularly if the existing profile had different firm-
ware (for example, if the XBee RF module was set up as a router and you loaded an end-device profile).
Return to the “PC Settings” tab to set the baud rate to 9600 baud, check or uncheck “Enable API” depend-
ing on whether the new profile is API or AT, then click Write on the “Modem Configuration” tab. You
will have to return to the “PC Settings” tab and set the baud rate according to the new profile to continue
using X-CTU for any additional configuration.
The “Customizing Configuration” section explains how to customize the XBee RF module’s configura-
tion, for example, by assigning a name.
Load Existing Profile
1. To reinstall a default profile, click the Load
button under “Profile” and browse to the
Dynamic C DCRabbit…Utilities
X-CTU directory to select the desired profile.
If your version of Dynamic C does not have
any profiles, they are available on our Web
site at www.rabbit.com/support/downloads/.
2. Click Open after you select the profile.
Click Write.
022-0145 Rev. A 5
Firmware Download Options
1. Only the firmware supplied on the Dynamic C CD has been tested with Dynamic C and the sample pro-
grams. Later versions of the firmware, which will be available from Digi, have not been tested. Click
the “Download new versions…” button, select “File,” and browse to the Dynamic C DCRabbit…
UtilitiesX-CTUMODEMFW folder to select the XB24-ZB_2x….zip file.
NOTE: All the available new firmware versions will be downloaded if you select “Web” and are
connected to the Internet.
2. Select this ZIP file, click Open, OK, then Done.
3. Choose “XB24-ZB” from the “Modem” pull-down menu for XBee ZB RF modules, or choose
“XB24-B” for XBee ZNet RF modules. Other firmware choices have not been tested for compatibility
with Dynamic C.
4. Select whether you are configuring an API or AT coordinator, router, or end device from the “Function
Set” pull-down menu. Other firmware choices have not been tested for compatibility with Dynamic C.
5. Check the “Always update firmware” box.
6. Click Write to load the new firmware.
NOTE: The default setup for the XBee ZB RF modules in the ZigBee Mesh Add-On Kit is an
API end device. If you download any AT firmware, remember to uncheck “Enable API” under
“Host Setup” on the “PC Settings” tab and change the baud rate to 9600 baud before doing any
further configuration or attempting to download any more firmware to this XBee RF module.
The “Customizing Configuration” section explains how to customize the XBee RF module’s configura-
tion, for example, by assigning a name or changing the baud rate.
022-0145 Rev. A 6
Customizing Configuration
1. Click Read to read the firmware.
2. There are networking and I/O settings that need to be set. Before changing any configurations, it is a
good idea to press the Show Defaults button to set all the values to their default states. Here are
the most likely settings you will then configure. Refer to Digi’s online X-CTU Configuration and Test
Utility Software User’s Guide for more information.
Networking
ID - Pan ID = 0 – 0xFFFFFFFFFFFFFFFF;
0 to for the coordinator to assign Pan ID randomly to the first available Pan ID detected; router and end
devices with Pan ID = 0 will join the first Pan ID detected and connected to successfully—in future
firmware releases it is expected that routers and end devices will scan all Pan IDs, and will then
connect to a Pan ID in descending order of signal strength
NJ - Node Join Time = 0–0xFF (seconds). The value of NJ determines the time (in seconds) that the device
will allow other devices to join to it. If set to 0xFF, the device will always allow joining. This is an impor-
tant parameter to set for security so that joining is not always allowed.
Addressing
DH - Destination Address High and DL - destination Address Low are used only with AT firmware
NI - Node ID = up to a 20-character ASCII string
Serial Interfacing
BD - Baud Rate = 7 (115200) is the default baud rate interface with Rabbit microprocessors
Sleep Mode
The sleep mode is particularly useful for an end device so that it may be in a power-conserving sleep state
when not being used.
SM - Sleep Mode =5 (CYCLIC SLEEP PIN WAKE) is the preferred sleep mode setting, and allows the
XBEE RF module configured as an end device to be awakened by a signal on the wake up pin (pin 9).
ST = Time before Sleep (time period of inactivity — no serial or RF data is sent or received — before
activating Sleep Mode, 0 – 0xFFFE milliseconds)
SP = Cyclic sleep period for cyclic sleeping remotes, set to match SP on end devices. On routers and coor-
dinators, SP determines the transmission and buffering timeouts when sending a message to a sleeping end
device. (0x20 – 0xAF0 × 10 milliseconds)
SN = Number of cyclic sleep cycles the on/sleep pin should remain low during cyclic sleep. Set to 1 to set
on/sleep high after each SP time (default). (1 – 0xFFFF)
3. Click Write to load the XBee RF module with the configurations.
NOTE: If you changed the baud rate, remember to use the new baud rate on the “PC Settings” tab
before doing any further configuration or attempting to download any more firmware to this
XBee RF module.
022-0145 Rev. A 7
Rabbit — A Digi International Brand
www.rabbit.com
Troubleshooting
The two most common issues arising while using the X-CTU utility with XBee RF modules on Rabbit-
based products are associated with the PC settings and the sleep mode configuration.
The “PC Settings” tab must reflect the state of the XBee RF module at all times for communication to
work. Writing new firmware will revert the serial parameters to their defaults, which means the baud rate
will revert to 9600 baud. If these defaults differ from the previous configuration, the “PC Settings” tab
must be updated before the X-CTU utility can continue to communicate with the XBee RF module. Any
modification of the Serial Interfacing parameters on the “Modem Configuration” tab, either directly or
through a profile, will require a corresponding update of the “PC Settings” tab. If you are having trouble
communicating with the XBee RF module through the X-CTU utility, it may be due to such a change. Try
different combinations of serial parameters until you can communicate — most often this is simply a matter
of switching between 115200 and 9600 baud, or checking/unchecking “Enable API” under “Host Setup.”
If you use SM = 4 (CYCLIC SLEEP), any future attempt to communicate with the XBee RF module
using the X-CTU utility will fail while the XBee RF module is asleep. Such an XBee RF module may be
awakened for the ST time by cycling the power off/on, which will reset it. (If attempts to awaken it prove
insurmountable, the XBee RF module may be reprogrammed by downloading a different configuration
using the Dynamic C SAMPLESXBEEMODEMFWLOAD.C sample program with the XBee RF module
installed on a ZigBee RabbitCore module or single-board computer. See the User’s Manual for the ZigBee
RabbitCore module or single-board computer for more information on this sample program.)
Use of API and AT Commands
The XBee RF modules are loaded by default as end devices with API firmware,.
AT commands originated with modems, and generally consist of the letters AT (for attention) followed by
a short text string to describe the actual command. If you are connecting a simple serial device that does
not have to interact with the XBee RF module, use the AT firmware for transparent serial operation.
API firmware is loaded by default on XBee RF modules in the ZigBee Mesh Add-On Kit, and on ZigBee
RabbitCore modules and single-board computers; ZigBee RabbitCore modules and single-board computers
are set up as routers by default. The API firmware allows for a larger range of functionality than is possible
with the AT firmware. However, even with API firmware, the driver can still send AT commands embedded
in API frames to the XBee RF module.

Más contenido relacionado

La actualidad más candente

IBM Flex System Fabric EN4093 and EN4093R 10Gb Scalable Switches
IBM Flex System Fabric EN4093 and EN4093R 10Gb Scalable SwitchesIBM Flex System Fabric EN4093 and EN4093R 10Gb Scalable Switches
IBM Flex System Fabric EN4093 and EN4093R 10Gb Scalable SwitchesIBM India Smarter Computing
 
Bus de datos y Software de DDC
Bus de datos y Software de DDCBus de datos y Software de DDC
Bus de datos y Software de DDCMarketing Donalba
 
Gxe502x usermanual english
Gxe502x usermanual englishGxe502x usermanual english
Gxe502x usermanual englishjaxian
 
Kyl 200 l user manual
Kyl 200 l user manualKyl 200 l user manual
Kyl 200 l user manualkyl03losia
 
Kyl 200l user manual
Kyl 200l user manualKyl 200l user manual
Kyl 200l user manualSunny Zhou
 
Advanced motion controls dpranir 030a800
Advanced motion controls dpranir 030a800Advanced motion controls dpranir 030a800
Advanced motion controls dpranir 030a800Electromate
 
Kyl 300 h user manual
Kyl 300 h user manualKyl 300 h user manual
Kyl 300 h user manualkyl03losia
 
KYL-500L User manual
KYL-500L User manualKYL-500L User manual
KYL-500L User manualkyl03losia
 
Virtual dj 7 audio setup guide
Virtual dj 7   audio setup guideVirtual dj 7   audio setup guide
Virtual dj 7 audio setup guideleludomairton
 

La actualidad más candente (11)

IBM Flex System Fabric EN4093 and EN4093R 10Gb Scalable Switches
IBM Flex System Fabric EN4093 and EN4093R 10Gb Scalable SwitchesIBM Flex System Fabric EN4093 and EN4093R 10Gb Scalable Switches
IBM Flex System Fabric EN4093 and EN4093R 10Gb Scalable Switches
 
Bus de datos y Software de DDC
Bus de datos y Software de DDCBus de datos y Software de DDC
Bus de datos y Software de DDC
 
Gxe502x usermanual english
Gxe502x usermanual englishGxe502x usermanual english
Gxe502x usermanual english
 
DVB-T2 Reception using RTL SDR
DVB-T2 Reception using RTL SDR DVB-T2 Reception using RTL SDR
DVB-T2 Reception using RTL SDR
 
Kyl 200 l user manual
Kyl 200 l user manualKyl 200 l user manual
Kyl 200 l user manual
 
Kyl 200l user manual
Kyl 200l user manualKyl 200l user manual
Kyl 200l user manual
 
Advanced motion controls dpranir 030a800
Advanced motion controls dpranir 030a800Advanced motion controls dpranir 030a800
Advanced motion controls dpranir 030a800
 
Kyl 300 h user manual
Kyl 300 h user manualKyl 300 h user manual
Kyl 300 h user manual
 
KYL-500L User manual
KYL-500L User manualKYL-500L User manual
KYL-500L User manual
 
Ies5000 usg
Ies5000 usgIes5000 usg
Ies5000 usg
 
Virtual dj 7 audio setup guide
Virtual dj 7   audio setup guideVirtual dj 7   audio setup guide
Virtual dj 7 audio setup guide
 

Destacado

Ipsos MORI / Halifax Housing Market Confidence Tracker: Q3 2015
Ipsos MORI / Halifax Housing Market Confidence Tracker: Q3 2015Ipsos MORI / Halifax Housing Market Confidence Tracker: Q3 2015
Ipsos MORI / Halifax Housing Market Confidence Tracker: Q3 2015Ipsos UK
 
9 12 oświadczenie ws. 16 kwietnia 2016 20 04-2016
9 12 oświadczenie ws. 16 kwietnia 2016 20 04-20169 12 oświadczenie ws. 16 kwietnia 2016 20 04-2016
9 12 oświadczenie ws. 16 kwietnia 2016 20 04-20169dwunastych
 
X-Coding - Scrum Story (a.k.a. preventing cars getting fired from cannons)
X-Coding - Scrum Story (a.k.a. preventing cars getting fired from cannons)X-Coding - Scrum Story (a.k.a. preventing cars getting fired from cannons)
X-Coding - Scrum Story (a.k.a. preventing cars getting fired from cannons)X-Coding IT Studio
 
Highlighting Your Strengths as a Professional, Online
Highlighting Your Strengths as a Professional, OnlineHighlighting Your Strengths as a Professional, Online
Highlighting Your Strengths as a Professional, OnlinePaul Brown
 
Beauty of Norway
Beauty of NorwayBeauty of Norway
Beauty of NorwayNubia **
 

Destacado (8)

Ipsos MORI / Halifax Housing Market Confidence Tracker: Q3 2015
Ipsos MORI / Halifax Housing Market Confidence Tracker: Q3 2015Ipsos MORI / Halifax Housing Market Confidence Tracker: Q3 2015
Ipsos MORI / Halifax Housing Market Confidence Tracker: Q3 2015
 
9 12 oświadczenie ws. 16 kwietnia 2016 20 04-2016
9 12 oświadczenie ws. 16 kwietnia 2016 20 04-20169 12 oświadczenie ws. 16 kwietnia 2016 20 04-2016
9 12 oświadczenie ws. 16 kwietnia 2016 20 04-2016
 
X-Coding - Scrum Story (a.k.a. preventing cars getting fired from cannons)
X-Coding - Scrum Story (a.k.a. preventing cars getting fired from cannons)X-Coding - Scrum Story (a.k.a. preventing cars getting fired from cannons)
X-Coding - Scrum Story (a.k.a. preventing cars getting fired from cannons)
 
9 12 .
9   12 .9   12 .
9 12 .
 
83041835 hims-cc
83041835 hims-cc83041835 hims-cc
83041835 hims-cc
 
XMAS2015
XMAS2015XMAS2015
XMAS2015
 
Highlighting Your Strengths as a Professional, Online
Highlighting Your Strengths as a Professional, OnlineHighlighting Your Strengths as a Professional, Online
Highlighting Your Strengths as a Professional, Online
 
Beauty of Norway
Beauty of NorwayBeauty of Norway
Beauty of Norway
 

Similar a Xctu

Usb dongle z wave.me manual
Usb dongle z wave.me manualUsb dongle z wave.me manual
Usb dongle z wave.me manualDomotica daVinci
 
Dhq pf700 pump_energy_savings_rev_b
Dhq pf700 pump_energy_savings_rev_bDhq pf700 pump_energy_savings_rev_b
Dhq pf700 pump_energy_savings_rev_bconfidencial
 
XBMC USB Controller for Media Center PCs
XBMC USB Controller for Media Center PCsXBMC USB Controller for Media Center PCs
XBMC USB Controller for Media Center PCsDilshan Jayakody
 
Bluetooth quick start_guide / Controlanything India
Bluetooth quick start_guide / Controlanything IndiaBluetooth quick start_guide / Controlanything India
Bluetooth quick start_guide / Controlanything IndiaDcube Tech Ventures
 
Wi fi ruckus config
Wi fi ruckus configWi fi ruckus config
Wi fi ruckus configtmukumba
 
Sys cat i181e-en-07+sysmac studio
Sys cat i181e-en-07+sysmac studioSys cat i181e-en-07+sysmac studio
Sys cat i181e-en-07+sysmac studioMaulana Kharis
 
Hacom%20pf sense%20quick start%20guide
Hacom%20pf sense%20quick start%20guideHacom%20pf sense%20quick start%20guide
Hacom%20pf sense%20quick start%20guideHARRY CHAN PUTRA
 
Quantum composers white paper ethernet connectivity
Quantum composers white paper  ethernet connectivityQuantum composers white paper  ethernet connectivity
Quantum composers white paper ethernet connectivityQuantum Composers
 
7106506104 tl wa701-nd(eu)_2.0_qig
7106506104 tl wa701-nd(eu)_2.0_qig7106506104 tl wa701-nd(eu)_2.0_qig
7106506104 tl wa701-nd(eu)_2.0_qigCesar Estela Zarate
 
Outdoor LED Billboard IPC --- function introduction
Outdoor LED Billboard IPC --- function introductionOutdoor LED Billboard IPC --- function introduction
Outdoor LED Billboard IPC --- function introductionMax Dan
 
Stratix5400_5700_Setup_Rev1
Stratix5400_5700_Setup_Rev1Stratix5400_5700_Setup_Rev1
Stratix5400_5700_Setup_Rev1Jeremy St. John
 
Andrew Hutton Hitachi presentation
Andrew Hutton Hitachi presentationAndrew Hutton Hitachi presentation
Andrew Hutton Hitachi presentationAndrew Hutton
 
adapter_user_guide_26.4.pdf
adapter_user_guide_26.4.pdfadapter_user_guide_26.4.pdf
adapter_user_guide_26.4.pdfAndrew Sneider
 

Similar a Xctu (20)

Usb dongle z wave.me manual
Usb dongle z wave.me manualUsb dongle z wave.me manual
Usb dongle z wave.me manual
 
Xctu manual
Xctu manualXctu manual
Xctu manual
 
Dhq pf700 pump_energy_savings_rev_b
Dhq pf700 pump_energy_savings_rev_bDhq pf700 pump_energy_savings_rev_b
Dhq pf700 pump_energy_savings_rev_b
 
XBMC USB Controller for Media Center PCs
XBMC USB Controller for Media Center PCsXBMC USB Controller for Media Center PCs
XBMC USB Controller for Media Center PCs
 
Xctumanual a
Xctumanual aXctumanual a
Xctumanual a
 
X-CTU Tutorial
X-CTU TutorialX-CTU Tutorial
X-CTU Tutorial
 
Bluetooth quick start_guide / Controlanything India
Bluetooth quick start_guide / Controlanything IndiaBluetooth quick start_guide / Controlanything India
Bluetooth quick start_guide / Controlanything India
 
Wi fi ruckus config
Wi fi ruckus configWi fi ruckus config
Wi fi ruckus config
 
Qig di 604
Qig di 604Qig di 604
Qig di 604
 
Dp s7300
Dp s7300Dp s7300
Dp s7300
 
Lightspeed ii-manual-2012-jan
Lightspeed ii-manual-2012-janLightspeed ii-manual-2012-jan
Lightspeed ii-manual-2012-jan
 
Sys cat i181e-en-07+sysmac studio
Sys cat i181e-en-07+sysmac studioSys cat i181e-en-07+sysmac studio
Sys cat i181e-en-07+sysmac studio
 
Z stick 7 user guide
Z stick 7 user guideZ stick 7 user guide
Z stick 7 user guide
 
Hacom%20pf sense%20quick start%20guide
Hacom%20pf sense%20quick start%20guideHacom%20pf sense%20quick start%20guide
Hacom%20pf sense%20quick start%20guide
 
Quantum composers white paper ethernet connectivity
Quantum composers white paper  ethernet connectivityQuantum composers white paper  ethernet connectivity
Quantum composers white paper ethernet connectivity
 
7106506104 tl wa701-nd(eu)_2.0_qig
7106506104 tl wa701-nd(eu)_2.0_qig7106506104 tl wa701-nd(eu)_2.0_qig
7106506104 tl wa701-nd(eu)_2.0_qig
 
Outdoor LED Billboard IPC --- function introduction
Outdoor LED Billboard IPC --- function introductionOutdoor LED Billboard IPC --- function introduction
Outdoor LED Billboard IPC --- function introduction
 
Stratix5400_5700_Setup_Rev1
Stratix5400_5700_Setup_Rev1Stratix5400_5700_Setup_Rev1
Stratix5400_5700_Setup_Rev1
 
Andrew Hutton Hitachi presentation
Andrew Hutton Hitachi presentationAndrew Hutton Hitachi presentation
Andrew Hutton Hitachi presentation
 
adapter_user_guide_26.4.pdf
adapter_user_guide_26.4.pdfadapter_user_guide_26.4.pdf
adapter_user_guide_26.4.pdf
 

Último

DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 

Último (20)

DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 

Xctu

  • 1. 022-0145 Rev. A 1 TN270 Using X-CTU to Download Firmware and Profiles to XBee RF Modules Introduction X-CTU is a graphical Windows-based serial utility provided by Digi to program and configure the firmware on its RF products, including the XBee ZB and XBee ZNet RF modules and the Digi XBee USB. X-CTU is designed to function with all Windows-based computers running Windows 98 SE and later. This technical note focuses on the PC settings and modem configuration used to set up and change profiles on XBee RF modules used with Rabbit-based products. Additional information on other aspects of X-CTU is available in Digi’s online X-CTU Configuration and Test Utility Software User’s Guide. Using X-CTU Install X-CTU 1. Locate and double-click the X-CTU setup executable (Setup_XCTU_5222.exe in the Dynamic C DCRabbit…UtilitiesX-CTU directory) to install the X-CTU application that you will use to download profiles or firmware. You may use a different version of X-CTU from another source, but its behavior may be different. 2. Start X-CTU from the desktop icon. 3. You will be prompted to check Digi's Web site for firmware updates —select no since the correct firm- ware is already included. You may need to select yes to get the 2x41 firmware from Digi's Web site if you are using a different version of X-CTU. The “Firmware Download Options” section in this Technical Note describes how to install the firmware without an Internet connection.
  • 2. 022-0145 Rev. A 2 Connect Download Cable — XBee RF Module Connect Digi XBee USB If you are planning to configure the Digi XBee USB, simply connect the USB connector to a USB port on your PC. 1. Set the jumpers on header J5 on the RF Interface Board for the DCE configuration to load or modify profiles on the XBee RF modules. Remember to also install the jumper to enable RS-232. 2. Connect the 10-pin connector of the download cable to header J6 on the RF Interface Board. Line up the colored edge of the download cable with pin 1 of header J6 as shown. Connect the DB9 connector end of the download cable to a COM (serial) port on the PC. You may use an RS-232/USB converter cable (Rabbit Part No. 20-151-0178) if your com- puter does not have a COM port. DCE DTE J5DCE PC connects to RF Module J6 To PC COM port
  • 3. 022-0145 Rev. A 3 PC Settings Tab Some displays of a successful Test/Query may show XB24-B to reflect ZNet firmware instead of XB24-ZB to reflect the ZB firmware that is actually on the XBee ZB RF module. This reflects a bug in the X-CTU utility. If the Test/Query fails, try unchecking or checking “Enable API” under “Host Setup.” Also try changing the baud rate to 9600 or 115200 baud. These are the most common settings you will use for XBee RF modules that are used with Rabbit products. 1. Set the “PC Settings” tab to 115200 baud, HARDWARE flow control, 8 data bits, parity NONE, 1 stop bit. This is the usual setup for XBee RF modules that have been configured for use with Rabbit prod- ucts. Set the “PC Settings” tab to 9600 baud for XBee RF modules that were obtained from sources other than Rabbit. 2. Check “Enable API” under “Host Setup.” This box must be checked unless you reconfigure the XBee RF module with AT firmware. 3. Select the COM port the download cable is con- nected to, then click Test/Query. A window should open to display the firmware version. Note that a failed Test/Query is indicated by no entry after the “=” sign when “Enable API” under “Host Setup” is checked, otherwise a clear failure mes- sage is displayed. You may have to retry several times if your XBee RF module is currently con- figured as an end device and has the sleep mode enabled. Click OK in this window to close it. Samples of successful and failed Test/Query results for API firmware are shown below. Successful Test/Query Failed Test/Query
  • 4. 022-0145 Rev. A 4 Modem Configuration Tab Profiles, firmware, and configurations for the XBee RF module are set using the “Modem Configuration” tab. You may get an error message after you click Write, particularly if the existing profile had different firm- ware (for example, if the XBee RF module was set up as a router and you loaded an end-device profile). Return to the “PC Settings” tab to set the baud rate to 9600 baud, check or uncheck “Enable API” depend- ing on whether the new profile is API or AT, then click Write on the “Modem Configuration” tab. You will have to return to the “PC Settings” tab and set the baud rate according to the new profile to continue using X-CTU for any additional configuration. The “Customizing Configuration” section explains how to customize the XBee RF module’s configura- tion, for example, by assigning a name. Load Existing Profile 1. To reinstall a default profile, click the Load button under “Profile” and browse to the Dynamic C DCRabbit…Utilities X-CTU directory to select the desired profile. If your version of Dynamic C does not have any profiles, they are available on our Web site at www.rabbit.com/support/downloads/. 2. Click Open after you select the profile. Click Write.
  • 5. 022-0145 Rev. A 5 Firmware Download Options 1. Only the firmware supplied on the Dynamic C CD has been tested with Dynamic C and the sample pro- grams. Later versions of the firmware, which will be available from Digi, have not been tested. Click the “Download new versions…” button, select “File,” and browse to the Dynamic C DCRabbit… UtilitiesX-CTUMODEMFW folder to select the XB24-ZB_2x….zip file. NOTE: All the available new firmware versions will be downloaded if you select “Web” and are connected to the Internet. 2. Select this ZIP file, click Open, OK, then Done. 3. Choose “XB24-ZB” from the “Modem” pull-down menu for XBee ZB RF modules, or choose “XB24-B” for XBee ZNet RF modules. Other firmware choices have not been tested for compatibility with Dynamic C. 4. Select whether you are configuring an API or AT coordinator, router, or end device from the “Function Set” pull-down menu. Other firmware choices have not been tested for compatibility with Dynamic C. 5. Check the “Always update firmware” box. 6. Click Write to load the new firmware. NOTE: The default setup for the XBee ZB RF modules in the ZigBee Mesh Add-On Kit is an API end device. If you download any AT firmware, remember to uncheck “Enable API” under “Host Setup” on the “PC Settings” tab and change the baud rate to 9600 baud before doing any further configuration or attempting to download any more firmware to this XBee RF module. The “Customizing Configuration” section explains how to customize the XBee RF module’s configura- tion, for example, by assigning a name or changing the baud rate.
  • 6. 022-0145 Rev. A 6 Customizing Configuration 1. Click Read to read the firmware. 2. There are networking and I/O settings that need to be set. Before changing any configurations, it is a good idea to press the Show Defaults button to set all the values to their default states. Here are the most likely settings you will then configure. Refer to Digi’s online X-CTU Configuration and Test Utility Software User’s Guide for more information. Networking ID - Pan ID = 0 – 0xFFFFFFFFFFFFFFFF; 0 to for the coordinator to assign Pan ID randomly to the first available Pan ID detected; router and end devices with Pan ID = 0 will join the first Pan ID detected and connected to successfully—in future firmware releases it is expected that routers and end devices will scan all Pan IDs, and will then connect to a Pan ID in descending order of signal strength NJ - Node Join Time = 0–0xFF (seconds). The value of NJ determines the time (in seconds) that the device will allow other devices to join to it. If set to 0xFF, the device will always allow joining. This is an impor- tant parameter to set for security so that joining is not always allowed. Addressing DH - Destination Address High and DL - destination Address Low are used only with AT firmware NI - Node ID = up to a 20-character ASCII string Serial Interfacing BD - Baud Rate = 7 (115200) is the default baud rate interface with Rabbit microprocessors Sleep Mode The sleep mode is particularly useful for an end device so that it may be in a power-conserving sleep state when not being used. SM - Sleep Mode =5 (CYCLIC SLEEP PIN WAKE) is the preferred sleep mode setting, and allows the XBEE RF module configured as an end device to be awakened by a signal on the wake up pin (pin 9). ST = Time before Sleep (time period of inactivity — no serial or RF data is sent or received — before activating Sleep Mode, 0 – 0xFFFE milliseconds) SP = Cyclic sleep period for cyclic sleeping remotes, set to match SP on end devices. On routers and coor- dinators, SP determines the transmission and buffering timeouts when sending a message to a sleeping end device. (0x20 – 0xAF0 × 10 milliseconds) SN = Number of cyclic sleep cycles the on/sleep pin should remain low during cyclic sleep. Set to 1 to set on/sleep high after each SP time (default). (1 – 0xFFFF) 3. Click Write to load the XBee RF module with the configurations. NOTE: If you changed the baud rate, remember to use the new baud rate on the “PC Settings” tab before doing any further configuration or attempting to download any more firmware to this XBee RF module.
  • 7. 022-0145 Rev. A 7 Rabbit — A Digi International Brand www.rabbit.com Troubleshooting The two most common issues arising while using the X-CTU utility with XBee RF modules on Rabbit- based products are associated with the PC settings and the sleep mode configuration. The “PC Settings” tab must reflect the state of the XBee RF module at all times for communication to work. Writing new firmware will revert the serial parameters to their defaults, which means the baud rate will revert to 9600 baud. If these defaults differ from the previous configuration, the “PC Settings” tab must be updated before the X-CTU utility can continue to communicate with the XBee RF module. Any modification of the Serial Interfacing parameters on the “Modem Configuration” tab, either directly or through a profile, will require a corresponding update of the “PC Settings” tab. If you are having trouble communicating with the XBee RF module through the X-CTU utility, it may be due to such a change. Try different combinations of serial parameters until you can communicate — most often this is simply a matter of switching between 115200 and 9600 baud, or checking/unchecking “Enable API” under “Host Setup.” If you use SM = 4 (CYCLIC SLEEP), any future attempt to communicate with the XBee RF module using the X-CTU utility will fail while the XBee RF module is asleep. Such an XBee RF module may be awakened for the ST time by cycling the power off/on, which will reset it. (If attempts to awaken it prove insurmountable, the XBee RF module may be reprogrammed by downloading a different configuration using the Dynamic C SAMPLESXBEEMODEMFWLOAD.C sample program with the XBee RF module installed on a ZigBee RabbitCore module or single-board computer. See the User’s Manual for the ZigBee RabbitCore module or single-board computer for more information on this sample program.) Use of API and AT Commands The XBee RF modules are loaded by default as end devices with API firmware,. AT commands originated with modems, and generally consist of the letters AT (for attention) followed by a short text string to describe the actual command. If you are connecting a simple serial device that does not have to interact with the XBee RF module, use the AT firmware for transparent serial operation. API firmware is loaded by default on XBee RF modules in the ZigBee Mesh Add-On Kit, and on ZigBee RabbitCore modules and single-board computers; ZigBee RabbitCore modules and single-board computers are set up as routers by default. The API firmware allows for a larger range of functionality than is possible with the AT firmware. However, even with API firmware, the driver can still send AT commands embedded in API frames to the XBee RF module.