This command reads data (from 1 to 64 bytes) from the requested SPI Flash address.

Byte

Value

Description

1

0xA5

FLASH_READ command ID

2

Sector

Flash sector to read (address [23:16])

3

AddrHigh

High part of address (address [15:8])

4

AddrLow

Low part of address (address [7:0])

5

size

Number of bytes to read (max 64)

From 6 to 64

-

Not used

FLASH_READ Command Packet Layout.

Reply packet contains requested data.

Byte

Description

From 1 to size

Read result

From size to 64

Not used

FLASH_READ Reply Packet Layout.
  • No labels