8.1.4 SPI Enter Programming Mode

Enters programming mode to start SPI programming.

Table 8-7. SPI Enter Programming Mode Command Format
FieldSizeDescription
SPI_CMD_ENTER_PROGMODE1 byteCommand ID
timeout1 byteXML: timeout. Command time-out (in ms)
stabDelay1 byteXML: stabDelay. Delay (in ms) used for pin stabilization
cmdexeDelay1 byteXML: cmdexeDelay. Delay (in ms) in connection with the EnterProgMode command execution
synchLoops1 byteXML: synchLoops. Number of synchronization loops
byteDelay1 byteXML: byteDelay. Delay (in ms) between each byte in the EnterProgMode command.
pollValue1 byteXML: pollValue. 0x53
pollIndex1 byteXML: pollIndex. Start address, received byte: 0 = no polling, 3 = AVR
cmd11 byteCommand Byte # 1 to be transmitted
cmd21 byteCommand Byte # 2 to be transmitted
cmd31 byteCommand Byte # 3 to be transmitted
cmd41 byteCommand Byte # 4 to be transmitted

Response:

Table 8-8. SPI Enter Programming Mode Response
FieldSizeDescription
SPI_CMD_ENTER_PROGMODE1 byteCommand ID
Status1 byte

SPI_STATUS_CMD_OK or

SPI_STATUS_CMD_TOUT or

SPI_STATUS_FAILED