Bootloader Menu Commands - Digi XBee-PRO User Manual

Zigbee rf module
Hide thumbs Also See for XBee-PRO:
Table of Contents

Advertisement

XBee programmable bootloader

Bootloader menu commands

The bootloader accepts commands from both the local UART and OTA. All OTA commands sent must be Unicast
with only 1 byte in the payload for each command. A response will be returned to the sender. All Broadcast and
multiple byte OTA packets are dropped to help prevent general OTA traffic from being interpreted as a command
to the bootloader while in the menu.
Bypass mode - "B"
The bootloader provides a "bypass" mode of operation that essentially connects the SCI1 serial communications
peripheral of the Freescale mcu to the EM357's serial UART channel. This allows direct communication to the
EM357 radio for the purpose of firmware and radio configuration changes. Once in bypass mode, the XCTU utility
can change modem configuration and/or update EM357 firmware. Bypass mode automatically handles any baud
rate up to 115.2kbps. Note that this command is unavailable when module is accessed remotely.
Update firmware - "F"
The "F" command initiates a firmware download for both wired and over-the-air configurations. Depending on
the source of the command (received via Over the Air or local UART), the download will proceed via wired or over-
the-air respectively.
Adjust timeout for update firmware - "T"
The "T" command changes the timeout before sending a NAK by Base-Time*2^(T). The Base-Time for the local
UART is different than the Base-Time for Over the Air. During a firmware update, the bootloader will
automatically increase the Timeout if repeat packets are received or multiple NAKs for the same packet without
success occur.
Application version string - "A"
The "A" command provides the version of the currently loaded application. If no application is present,
"Unknown" will be returned.
Bootloader version string - "V"
The "V" command provides the version of the currently loaded bootloader. The version will return a string in the
format BLFFF-HHH-XYZ_DDD where FFF represents the Flash size in kilo bytes, HHH is the hardware, XYZ is the
version, and DDD is the preferred XMODEM packet size for updates. Double the preferred packet size is also
possible, but not guaranteed. For example "BL032-2B0-023_064" will take 64 byte CRC XMODEM payloads and
may take 128 byte CRC XMODEM payloads also. In this case, both 64 and 128 payloads are handled, but the 64
byte payload is preferred for better Over the Air reliability.
Bootloader Version BL032-2x0-025_064 only operates at 9600 baud on the local UART as well as communications
to the EM357 Radio. A newer version of the Bootloader BL032-2x0-033_064 or newer BL032-2B0-XXX_064 has
changed the baud rate to 115200 between the Programmable and the EM357 Radio. The EM357 is also set to
115200 as the default baud rate. The default rate of the programmable local UART is also set to 115200, however,
the local UART has an auto baud feature added to detect if the UART is at the wrong baud rate. If a single
character is sent, it will automatically switch to 115200 or 9600 baud.
XBee/XBee-PRO ZigBee RF Modules User Guide
33

Advertisement

Table of Contents
loading

This manual is also suitable for:

XbeePs2csm

Table of Contents