Reads data from memory using TPI programming.
Field | Size | Description |
---|---|---|
TPI_CMD_READ_MEM | 1 byte | Command ID |
Memory Type | 1 byte |
TPI_MEM_TYPE_APPL or TPI_MEM_TYPE_FUSE or TPI_MEM_TYPE_LOCKBITS |
Address | 4 bytes | Address to start reading from |
Length | 2 bytes | Number of bytes to read (1 to 256) |
Response:
Field | Size | Description |
---|---|---|
TPI_CMD_READ_MEM | 1 byte | Command ID |
Status | 1 byte |
TPI_RSP_ERR_FAILED or TPI_RSP_ERR_COLLISION or TPI_RSP_ERR_OK |
Data | 1 byte | Data read from memory |