8 AVR ISP Protocol
The AVR ISP protocol is based upon the communication protocol used by all AVR tools as far back as the STK®500. It is used for programming tinyAVR and megaAVR devices using the SPI interface
Timing parameter values are extracted from XML files and included in the protocol command function calls.
The protocol commands are put in the payload of EDBG commands with the handler set to SPI. The responses are also sent as the payload of EDBG commands.
In addition to the SPI commands the general CMD_LOAD_ADDRESS from the STK500 communication protocol is supported. This command is used to set the start address for the following write or read command. This command is described below.
Unless otherwise stated, all multi-byte fields in this protocol are transmitted least significant byte first.