Work With Flash Memory - Digi XBee 868LP User Manual

Rf modules
Hide thumbs Also See for XBee 868LP:
Table of Contents

Advertisement

Advanced application features
Field name
GPM_CMD_ID
GPM_STATUS
GPM_BLOCK_NUM
GPM_START_INDEX
GPM_NUM_BYTES
GPM_DATA
FIRMWARE_VERIFY _AND_INSTALL_RESPONSE (0x86)
When a FIRMWARE_VERIFY_AND_INSTALL command request has been unicast to a node, that node
sends a response in the following format to the source endpoint specified in the requesting frame only
if the GPM memory does not contain a valid image. If the image is valid, the device resets and begins
using the new firmware.
Field name
GPM_CMD_ID
GPM_STATUS
GPM_BLOCK_NUM
GPM_START_INDEX
GPM_NUM_BYTES
GPM_DATA
Example
To verify a firmware image previously loaded into the GPM on a target device with serial number
0x0013a200407402ac, format a FIRMWARE_VERIFY packet as follows (spaces added to delineate
fields):
7E 001C 11 01 0013A200407402AC FFFE E6 E6 0023 C105 00 00 05 00 0000 0000 0000 1F
Assuming all transmissions were successful and that the firmware image previously loaded into the
GPM is valid, the following API packets would be output the source node's serial interface:
7E 0007 8B 01 FFFE 00 00 00 76
7E 001A 91 0013A200407402AC FFFE E6 E6 0023 C105 C1 85 00 0000 0000 0000 5F

Work with flash memory

When working with the General Purpose Memory, observe the following limitations:
XBee 868LP RF Modules User Guide
Command-specific description
Should be set to FIRMWARE_VERIFY_RESPONSE (0x85)
A 1 in the least significant bit indicates the GPM does not contain a
valid firmware image. A 0 in the least significant bit indicates the
GPM does contain a valid firmware image. All other bits are
reserved at this time.
This field is unused for this command. Set to 0.
This field is unused for this command. Set to 0.
This field is unused for this command. Set to 0.
This field is unused for this command
Command-specific description
Should be set to FIRMWARE_VERIFY_AND_INSTALL_RESPONSE
(0x86).
A 1 in the least significant bit indicates the GPM does not contain a
valid firmware image. All other bits are reserved at this time.
This field is unused for this command. Set to 0.
This field is unused for this command. Set to 0.
This field is unused for this command. Set to 0.
This field is unused for this command.
General Purpose Flash Memory
101

Advertisement

Table of Contents
loading

Table of Contents