Work With Flash Memory - Digi XBee-PRO S3 User Manual

900hp/xsc rf modules
Hide thumbs Also See for XBee-PRO S3:
Table of Contents

Advertisement

General Purpose Flash Memory
Field name
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:
Flash memory write operations are only capable of changing binary 1s to binary 0s. Only the
n
erase operation can change binary 0s to binary 1s. For this reason, you should erase a flash
block before performing a write operation.
When performing an erase operation, you must erase the entire flash memory block—you
n
cannot erase parts of a flash memory block.
Flash memory has a limited lifetime. The flash memory on which the GPM is based is rated at
n
20,000 erase cycles before failure. Take care to ensure that the frequency of erase/write
operations allows for the desired product lifetime. Digi's warranty does not cover products that
have exceeded the allowed number of erase cycles.
Over-the-air firmware upgrades erase the entire GPM. Any user data stored in the GPM will be
n
lost during an over-the-air upgrade.
XBee®-PRO 900HP/XSC RF Modules
Command-specific description
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.
Work with flash memory
180

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xbee-pro s3b

Table of Contents