SWRU577 July 2021 CC3100 , CC3200
Table 4-7 lists the Raw Storage Erase command.
Description | |
---|---|
Brief | This command erases the specified blocks (making them writable) from storage specified by StorageID. NumOfBlocks specifies the amount of blocks to erase and Offset specifies the offset of the first blocks from the start of the device. |
Opcode | 0x30 |
Direction | Host to target |
Response | Ack |
Format | [USHORT] Length (exclude checksum) [BYTE] Checksum (exclude length) [BYTE] Opcode [UINT32] StorageID [UINT32] Offset (in blocks, relative to start of device) [UINT32] NumOfBlocks (number of blocks to erase) |
Comments | The SRAM storage ID is 0x0. The serial flash storage ID is 0x2. |