Download Print this page

Texas Instruments SimpleLink CC2620 Technical Reference Manual page 685

Zigbee rf4ce wireless mcu simplelink cc13 series; simplelink cc26 series

Advertisement

www.ti.com
8.2.3.11 COMMAND_MEMORY_WRITE
This command writes the received data in accesses with specified width (8- or 32 bits) from a specified
memory mapped start address. Data to be written must be contained in same packet as the command.
The access width is given by the specified Access Type. The Access Type must be either 0 or 1. The
value of 0 forces 8-bits write accesses. The value of 1 forces 32-bits write accesses. The number of data
bytes received is given by the packet size byte. Max number of data bytes for access width 0 is 247 and
244 for access width 1.
NOTE:
This command will not succeed writing to any flash memory.
The format of the packet including the command is as follows:
unsigned char ucCommand[(from 9 to 255)];
ucCommand[0] = <size=(from 9 to 255)>;
ucCommand[1] = <checksum>;
ucCommand[2] = COMMAND_MEMORY_WRITE;
SWCU117C – February 2015 – Revised September 2015
Submit Documentation Feedback
ucCommand[3] = Memory Map Address [31:24];
ucCommand[4] = Memory Map Address [23:16];
ucCommand[5] = Memory Map Address [15:8];
ucCommand[6] = Memory Map Address [7:0];
ucCommand[7] = Access Type [7:0];
ucCommand[8] = Data [7:0];
...
...
ucCommand[9 + (packet size - 9)] = Data [7:0] or Data[31:24];
Copyright © 2015, Texas Instruments Incorporated
Bootloader Interfaces
685
Bootloader

Hide quick links:

Advertisement

loading