Command Code
(Hex)
Number
of
Command
s
(13)
Number
of
Response
s
(13)
Description
• If AS x4 is available, the SDM grants the request by responding OK.
• If the SDM is in the process of configuring the device or AS x4 is in
use, the SDM returns the error response.
Note: The SDM grants exclusive access only to the client using this
mailbox. Other clients are not able to access AS x4 until it is
closed by this client.
QSPI_CLOSE
33 0 0 Closes exclusive access to the AS x4.
QSPI_SET_C
S
34 1 0 Selects the flash memory using chip select lines.
• Bit [31:28]: Chip selects for flash memories 0-4 using one-hot
encoding.
• Bit [27:0]: Reserved (write as 0).
QSPI_READ
3A 2 N Reads the flash memory. Defines the following 2 parameters:
• The flash address offset to start a read. (one word).
• Number of words to read.
When successful returns the OK response, code followed by the data read
from the flash memory. When unsuccessful, returns 1 of the following
responses:
• Returns an error code.
• Returns OK when part of the data read from flash memory is
incorrect.
Note:
The maximum transfer size is 4 KB. The QSPI_READ command
cannot run during configuration.
QSPI_WRITE
39 2+N 0 Writes data to the flash memory. Defines the following 3 parameters:
• The word start address in flash memory.
• The size in words.
• The data.
A successful write returns an OK response code.
The client may need to issue QSPI_ERASE command before issuing this
command to prepare the memory for writing.
Note:
The maximum transfer size is limited to 4 KB. The QSPI_WRITE
command cannot run during configuration.
QSPI_ERASE
38 2 0 Erases a sector of the flash memory. Defines the following 2 parameters:
• The word start address in flash memory to begin the erasure. The
address must be the start address of a sector in the flash memory.
• The number of bytes to erase. The erasure size must be a multiple of
64K bytes.
A successful erase returns an OK response code.
QSPI_READ_
DEVICE_REG
35 2 N Reads registers from the flash memory. If the data is not a multiple of 4
bytes, it is padded with 0 bytes until the next word boundary. Takes 2
parameters:
• The opcode for the read command.
• The number of bytes to read. The maximum size is 8 bytes.
A successful read returns an OK response code followed by the data read
from the device.
QSPI_WRITE
_DEVICE_RE
G
36 2+N 0 Writes to registers on the flash. Takes 3 arguments:
• The opcode for the write command.
• The number of bytes to write. The maximum size is 8 bytes.
• The data. The maximum write is 2 words, padded with 0 to the word
boundary.
continued...
(13)
The number does not include the command and response header.
5. Remote System Upgrade
UG-S10CONFIG | 2018.11.02
Send Feedback
Intel Stratix 10 Configuration User Guide
81