SWRU577 July 2021 CC3100 , CC3200
Table 4-11 lists the FS Programming command.
Description | |
---|---|
Brief | This command is used for programming a single chunk of a complete image. |
Opcode | 0x34 |
Direction | Host to target |
Response | Ack + 4 bytes status code |
Format | [USHORT] Length (exclude checksum) [BYTE] Checksum (exclude length) [BYTE] Opcode [UINT16] key size [UINT16] chunk size [UINT32] flags [key buffer in bytes] key buffer [chunk buffer in bytes] chunk buffer |
Comments | The status code indicates the accumulated number of bytes
received. The status for the last chunk must be 0 to indicate successful programming, otherwise, a negative status is returned. Chunks must be serially activated as the NWP assumes orderliness. Chunk size must be the minimum between 4096 and the residue left from the complete image. Flags are for future use and must be 0. If an image is encrypted, a 16-byte key is required. |