# Atmel EDBG-based Tools Protocols
AVR ISP protocol

## SPI programming protocol responses

Response packets are described after each command.

Table 160. SPI response types

Type | Value | Description
--- | --- | ---
Success | SPI_STATUS_CMD_OK | Command executed OK
Warnings | SPI_STATUS_CMD_TOUT | Command timed out
SPI_STATUS_RDY_BSY_TOUT | Sampling of the RDY/nBSY pin timed out
Errors | SPI_STATUS_CMD_FAILED | The command did not execute
SPI_STATUS_CMD_UNKNOWN | Unknown command
SPI_STATUS_PHY_ERROR | SPI hardware error
SPI_STATUS_CLOCK_ERROR | Lower the clock and retry
SPI_STATUS_BAUD_INVALID | Baud rate out of range

Prev | Up | Next
| Home |