Digi XBee 3 Cellular LTE-M User Manual page 90

Smart modem
Table of Contents

Advertisement

Update the firmware
ii. Add bitwise-AND with 0x3FFF.
(0xDB8A + 0x123456) & 0x3FFF= 0x0FE0
iii. Send the command AT%PFE0.
AT%PFE0
b. You will receive a response.
n
n
c. After the command is sent, the radio module resets and automatically enters
programming mode.
3. Once the device is in programming (bootloader) mode, configure the local serial port to
115200/8/N/1.
Send a firmware image
After invoking the bootloader, a menu is sent out the UART at 115200 baud.
Note
If no menu is received after the switch to 115200, send the CR (Carriage Return) command to
attempt to receive the prompt again.
To upload a firmware image through the UART interface:
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 device waits for an XModem CRC upload of a .gbl image over the serial
line at 115200 baud. Send the .gbl file to the device using standard XMODEM-CRC.
4. If the firmware image is successfully loaded, the bootloader outputs a "complete" string.
Invoke the newly loaded firmware by sending a 2 to the device.
If the firmware image is not successfully loaded, the bootloader outputs an "aborted string".
Note that the previous firmware is maintained, making this error recoverable. It returns to the
main bootloader menu. Some causes for failure are:
Over 1 minute passes after the command to send the firmware image and the first
n
block of the image has not yet been sent.
A power cycle or reset event occurs during the firmware load.
n
A file error or a flash error occurs during the firmware load.
n
Digi XBee® 3 Cellular LTE-M/NB-IoT Global Smart Modem User Guide
If successful, OK is returned.
If an error occurs, ERROR is returned.
Update the device firmware
90

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xbee 3 cellular nb-iot

Table of Contents