SWRU577 July 2021 CC3100 , CC3200
Table 4-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 4-2 lists all the commands and responses of the bootloader protocol.
Item | Command or Response | Link |
---|---|---|
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 |
Switch UART to APPS MCU | Command | Section 4.3.8 |
Ack | Response | Section 4.4.1 |
Version Info | Response | Section 4.4.6 |