Command
Code
(Hex)
Command
Length
Response
Length
Description
• The flash address offset (one word). The write address must be word aligned.
• The number of words to write (one word).
• The data to be written (one or more words).
A successful write returns the OK response code.
To prepare memory for writes, use the
QSPI_ERASE
command before issuing this command.
Note: You cannot run the
QSPI_WRITE
command while device configuration is in progress.
Important: When resetting quad SPI, you must follow instructions specified in
on page 158.
QSPI_ERASE
38
2
0
Erases a 4/32/64 KB sector of the quad SPI device. Takes two arguments:
• The flash address offset to start the erase (one word). Depending on the number of words to
erase, the start address must be:
— 4 KB aligned if number words to erase is 0x400
— 32 KB aligned if number words to erase is 0x2000
— 64 KB aligned if number words to erase is 0x4000
Returns an error for non-4/32/64 KB aligned addresses.
• The number of words to erase is specified in multiples of:
— 0x400 to erase 4 KB (100 words) of data. This option is the minimum erase size.
— 0x2000 to erase 32 KB (500 words) of data
— 0x4000 to erase 64 KB (1000 words) of data
A successful erase returns the OK response code.
Important: When resetting quad SPI, you must follow instructions specified in
on page 158.
QSPI_READ_
DEVICE_REG
35
2
N
Reads registers from the quad SPI device. The maximum read is 8 bytes. Takes two arguments:
• The opcode for the read command.
• The number of bytes to read.
A successful read returns the OK response code followed by the data read from the device. The
read data return is in multiple of 4 bytes. If the bytes to read is not an exact multiple of 4 bytes,
it is padded with multiple of 4 bytes until the next word boundary and the padded bit value is
zero.
Important: When resetting quad SPI, you must follow instructions specified in
on page 158.
QSPI_WRITE_
DEVICE_REG
36
2+N
0
Writes to registers of the quad SPI. The maximum write is 8 bytes. Takes three arguments:
continued...
(14)
This number does not include the command or response header.
5. Remote System Update (RSU)
683673 | 2021.10.29
Intel
®
Agilex
™
Configuration User Guide
164