RM024 User Manual
Version 2.3
Americas: +1-800-492-2320 Option 2
Europe: +44-1628-858-940
Hong Kong: +852-2923-0610
www.lairdtech.com/wireless
50
CONN-GUIDE-RAMP24-0413
Parameter Range:
<StartAddress[1,0]>: 0x00 0x00 – 0x3B 0xFF
<Length[1,0]>: 0x00 0x01 – 0x00 0xFF
<BytesToWrite>: The actual data being written
<Result> 0x00 No Error
0x03 Command Timed Out
0x06 Bounds Exceeded (Start A Length is outside the
image download area)
0x04 A valid image already exists, erase that Flash before
overwriting.
Decrypt New Message
This command is used to decrypt the binary file that was previously downloaded to the radio. The next reboot
of the module causes this decrypted image to be loaded into the memory. Once the file is decrypted, it
cannot be read from the module.
Command:
<0xCC> <0xC5>
Number of Bytes Returned:
3
Response:
<0xCC> <0xC5> <Data>
Parameter Range:
<Data> 0x00
No Error
0x01
Error in File integrity, erase Flash and retry download
0x02
Not enough free memory. Reset the module and try again.
0x04
Image Already Decrypted
Erase New Image from Flash
It is not necessary to issue this command. The radio automatically erases the new image upon loading it into
active memory. However, if the wrong image is loaded, the image can be erased. It is not possible to
overwrite a downloaded image without erasing it or activating it. This command erases the memory between
addresses 0x0000 and 0x7FF. Memory between addresses 0x800 and 0x3BFF is erased automatically by the
first write exceeding to address 0x800 or higher. Because this memory contains active code, the radio now
disconnects from the network until the upgrade process is completed.
Command:
<0xCC> <0xC6>
Number of Bytes Returned:
2
Response:
Parameter Range:
<0xCC> <0xC6>
Read Flash
This command is used to read the encrypted image of the flash that resides on the radio module. If the image
has already been decrypted, then this command reports an error.
Note: The length of this command is dictated by the dynamic memory heap. If the heap is mostly free,
then a length of up to 700 bytes could be accepted. However, if the heap is full, the command
returns with an error or possibly no response at all if the heap is completely full.
Command:
<0xCC> <0xC9> <StartAddress[1,0]><Length[1,0]>
Number of Bytes Returned:
5
Response:
<0xCC> <0xC9> <Result> <StartAddress[1,0]> <Data>
Parameter Range:
<StartAddress[1,0]>: 0x00 0x00 – 0x3A 0xFF
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from