Specifications

XBee®/XBeePRO®SERFModules
©2009DigiInternational,Inc. 114
Invoke XBee Bootloader
See the "XBee Bootloader" section above for steps to invoke the bootloader.
Send Firmware Image
After invoking the bootloader, the Ember bootloader will send the bootloader menu characters out
the UART at 115200 bps. The application should do the following to upload a firmware image.
1. Look for the bootloader prompt "BL >" to ensure the bootloader is active
2. Send an ASCII "1" character to initiate a firmware update
3. After sending a "1", the EM250 waits for an XModem CRC upload of an .ebl image over the
serial line at 115200 bps. The .ebl file must be sent to the EM250 in order.
If the upload is interrupted with a power cycle or reset event, the EM250 will detect an invalid
application image and enter bootloader mode. The entire ebl image should be uploaded again to
recover. If an error occurs while uploading, the EM250 bootloader returns an error code from the
following table:
SIF Firmware Updates
The XBee/XBee-PRO modules have a 2x5 SIF header that can be used with Ember's InSight tools
to upload firmware onto the modules. These tools include a USB device (USBLink) and Ethernet-
enabled InSight Adapters. Contact Ember for details.
Hex Error Code Description
0x21
The bootloader encountered an error while
trying to parse the Start of Header (SOH)
character in the XModem frame.
0x22
The bootloader detected an invalid checksum
in the XModem frame.
0x23
The bootloader encountered an error while
trying to parse the high byte of the CRC in the
XModem frame.
0x24
The bootloader encountered an error while
trying to parse the low byte of the CRC in the
XModem frame.
0x25
The bootloader encountered an error in the
sequence number of the current XModem
frame.
0x26
The frame that the bootloader was trying to
parse was deemed incomplete (some bytes
missing or lost).
0x27
The bootloader encountered a duplicate of the
previous XModem frame.
0x41 No .ebl header was received when expected.
0x42 Header failed CRC.
0x43 File failed CRC.
0x44 Unknown tag detected in .ebl image.
0x45 Invalid .ebl header signature.
0x46 Trying to flash odd number of bytes.
0x47 Indexed past end of block buffer.
0x48 Attempt to overwrite bootloader flash.
0x49 Attempt to overwrite SIMEE flash.
0x4A Flash erase failed.
0x4B Flash write failed.
0x4C End tag CRC wrong length.
0x4D Received data before query request/response