SWPA230A May 2017 – June 2018 CC3120 , CC3120MOD , CC3220MOD , CC3220MODA , CC3220R , CC3220S , CC3220SF
Table 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. |