SWRU577 July 2021 CC3100 , CC3200
Table 4-5 lists the Raw Storage Write command.
| Description | |
|---|---|
| Brief | This command triggers sending a chunk of raw storage data specified by StorageID, starting from a position specified by Offset and with a size specified by Length. |
| Opcode | 0x2D |
| Direction | Host to target |
| Response | Ack |
| Format | [USHORT] Length (exclude checksum) [BYTE] Checksum (exclude length) [BYTE] Opcode [UINT32] StorageID [UINT32] Offset (starting offset relative to the start of storage, in bytes) [UINT32] Length (amount of bytes to write) [BYTE Stream] Data |
| Comments | The chunk is 4096 bytes and the Length must be smaller than (chunk_size-16). The SRAM storage ID is 0x0. The serial flash storage ID is 0x2. |