User Manual

XBee® Wi-Fi RF Modules
© 2012 Digi International, Inc. 56
Field Name Command Specific Description
GPM_CMD_ID
Should be set to FIRMWARE_VERIFY_AND_INSTALL_RESPONSE
(0x86).
GPM_OPTIONS
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.
GPM_BLOCK_NUM
These fields are unused for this command. Set to 0.
GPM_START_INDEX
GPM_NUM_BYTES
GPM_DATA This field is unused for this command.
Example:
To verify a firmware image previously loaded into the GPM on a target radio with serial
number of 0x0013a200407402ac, a FIRMWARE_VERIFY packet should be formatted 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
Working with Flash Memory
When working with the General Purpose Memory, the user should be aware of a
number of limitations associated with working with flash memory:
Flash memory write operations are only capable of changing binary 1's to binary
0's. Only the erase operation can change binary 0's to binary 1's. For this reason
it is usually necessary to erase a flash block before performing a write
operation.
A flash memory block must be erased in its entirety when performing an erase
operation. A block cannot be partially erased.
Flash memory has a limited lifetime. The flash memory on which the GPM is
based is rated at 20,000 erase cycles before failure. Care must be taken to
ensure that the frequency of erase/ write operations allows for the desired
product lifetime. Digi's warranty will not cover products whose number of erase
cycles has been exceeded.
Over-the-Air firmware upgrades (described in the next section) require the
entire GPM be erased. Any user data stored in the GPM will be lost during an
over-the-air upgrade.
Over-the-Air Firmware Upgrades
The XBee Wi-Fi RF modules provide two methods of updating the firmware on the
module. Firmware can be updated locally via X-CTU (a free testing and configuration