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