SWPA230A May 2017 – June 2018 CC3120 , CC3120MOD , CC3220MOD , CC3220MODA , CC3220R , CC3220S , CC3220SF
Table 1 provides the general message format.
Length (Big Endian) | Checksum | Opcode | Data [optional] |
---|---|---|---|
2 bytes | 1 byte | 1 byte | n bytes |
The length includes all fields except the checksum (including the Length field itself), so in general:
Checksum is a simple hexadecimal addition of the Opcode and Data fields. Checksum is then clipped to occupy the least significant byte only.
Table 2 lists all the commands and responses of the bootloader protocol.
Item | Command or Response | Link |
---|---|---|
Get Status | Command | Section 4.3.1 |
Get Storage List | Command | Section 4.3.2 |
Raw Storage Write | Command | Section 4.3.3 |
Get Version Information | Command | Section 4.3.4 |
Raw Storage Erase | Command | Section 4.3.5 |
Get Storage Info | Command | Section 4.3.6 |
Execute from RAM | Command | Section 4.3.7 |
Switch UART to APPS MCU | Command | Section 4.3.8 |
FS Programming | Command | Section 4.3.9 |
Ack | Response | Section 4.4.1 |
Nack | Response | Section 4.4.2 |
Last Status | Response | Section 4.4.3 |
Storage List | Response | Section 4.4.4 |
Storage Info | Response | Section 4.4.5 |
Version Info | Response | Section 4.4.6 |