# Atmel EDBG-based Tools Protocols
TPI protocol commands

### TPI Set Parameter

Initialises the TPI interface with parameters

Table 165. TPI Set Parameter command format

Field | Size | Description
--- | --- | ---
TPI_CMD_SET_PARAM | 1 byte | Command ID
Parameter ID | 1 byte | Parameter to set
Parameter Value | 1-4 bytes | Value to write

Response:

Table 166. TPI Set Parameter response

Field | Size | Description
--- | --- | ---
TPI_CMD_SET_PARAM | 1 byte | Command ID
Status | 1 byte | TPI_RSP_ERR_FAILED or TPI_RSP_ERR_ILLEGAL_PARAM or TPI_RSP_ERR_OK

Prev | Up | Next
| Home |