Back to Prusaslicer

Atmel EDBG-based Tools ProtocolsSPI programming protocol commands

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

3.1.2822 B
Original Source

SPI Read Flash

Reads data from flash memory using SPI programming

Table 154. SPI Read Flash command format

FieldSizeDescription
SPI_CMD_READ_FLASH1 byteCommand ID
NumBytes2 byteTotal number of bytes to read, MSB first
cmd11 byte

Read Program Memory command byte #1.

Low/high byte selection bit (bit 3) is handled by firmware.

|

Response:

Table 155. SPI Read Flash response

FieldSizeDescription
SPI_CMD_READ_FLASH1 byteCommand ID
Status11 byteSPI_STATUS_CMD_OK
Data1 byteData read from flash
Status1 byte

SPI_STATUS_CMD_OK or

SPI_STATUS_RDY_BSY_TOUT

|

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