Back to Prusaslicer

Atmel EDBG-based Tools ProtocolsTPI protocol commands

bundled_deps/avrdude/avrdude/atmel-docs/EDBG/protocoldocs/ch08s01s06.html

3.1.2819 B
Original Source

TPI Read Memory

Reads data from memory using TPI programming

Table 172. TPI Read Memory command format

FieldSizeDescription
TPI_CMD_READ_MEM1 byteCommand ID
Memory Type1 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:

Table 173. TPI Read Memory response

FieldSizeDescription
TPI_CMD_READ_MEM1 byteCommand ID
Status1 byte

TPI_RSP_ERR_FAILED or

TPI_RSP_ERR_COLLISION or

TPI_RSP_ERR_OK

| | Data | 1 byte | Data read from memory |

| Prev | Up | Next | | | Home | |