Download Print this page

Texas Instruments SimpleLink CC2620 Technical Reference Manual page 684

Zigbee rf4ce wireless mcu simplelink cc13 series; simplelink cc26 series

Advertisement

Bootloader Interfaces
8.2.3.9
COMMAND_BANK_ERASE
The COMMAND_BANK_ERASE command does not perform any erase operation if the CCFG parameter
BANK_ERASE_DIS is cleared. When COMMAND_BANK_ERASE is not cleared, this command erases all
main bank flash sectors including CCFG not protected by write-protect bits in FCFG1 and CCFG.
The command sends the ACK in response to the command after the actual erase operation is performed.
If the sector address of the top sector (including the CCFG area) is specified, the actual erase is followed
by CCFG values being programmed to the same values as the device had when it was delivered from TI.
The format of the packet including the command is as follows:
unsigned char ucCommand[3];
ucCommand[0] = <size=3>;
ucCommand[1] = <checksum>;
ucCommand[2] = COMMAND_BANK_ERASE;
NOTE: The bank erase operation locks the flash module FSM. A reset must be issued if additional
flash-bank operations are to be followed.
8.2.3.10 COMMAND_MEMORY_READ
This command reads a specified number of elements with a specified access type (8- or 32 bits) from a
specified memory mapped start address and returns the read data in a separate communication packet.
The requested amount of data must be less than the max size of a communication packet. The specified
Access Type must be either 0 or 1. The value of 0 forces 8-bits read accesses. The value of 1 forces 32-
bits read accesses. The specified Number of Accesses gives the number of 8- or 32-bits read accesses.
Max value of Number of Accesses is 253 for Access Type = 0. Max value for Number of Accesses is 63
for Access Type = 1. The format of the packet including the command is as follows:
unsigned char ucCommand[9];
ucCommand[0] = <size=9>;
ucCommand[1] = <checksum>;
ucCommand[2] = COMMAND_MEMORY_READ;
684
Bootloader
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] = Number of Accesses [7:0];
Copyright © 2015, Texas Instruments Incorporated
SWCU117C – February 2015 – Revised September 2015
Submit Documentation Feedback
www.ti.com

Hide quick links:

Advertisement

loading