Intel Agilex Configuration User Manual page 138

Hide thumbs Also See for Agilex:
Table of Contents

Advertisement

Command
Code
(Hex)
39
QSPI_WRITE
38
QSPI_ERASE
35
QSPI_READ_DEVICE_
REG
36
QSPI_WRITE_DEVICE
_REG
(9)
This number does not include the command and response header.
Intel
®
Agilex
Configuration User Guide
138
Command
Response
(9)
(9)
Length
Length
When successful returns OK followed by the read data from the quad SPI device. A failure
response returns an error code.
For a partially successful read,
Note: You cannot run the
2+N
0
Writes data to the quad SPI device. Takes three arguments:
The flash address offset (one word). The write address must be word aligned. The device
returns error code
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, Intel recommends using the
this command.
Note: You cannot run the
2
0
Erases a sector of the quad SPI device. Takes two arguments:
The flash address offset to start the erase (one word). The address must be the start address
of a sector within the flash memory; consequently, the address must be 64 KB aligned.
Returns an error for non-64 KB aligned addresses.
The number of words to erase specified in multiples of 0x4000 words.
A successful erase returns the OK response code.
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. Pads
data that is not a multiple of 4 bytes to the next word boundary.
2+N
0
Writes to registers of the quad SPI. The maximum write is 8 bytes. Takes three arguments:
The opcode for the write command.
The number of bytes to write.
The data to write.
To perform a sector erase or sub-sector erase, you must specify the serial flash address in most
significant byte (MSB) to least significant byte (LSB) order as the following example illustrates.
Description
may erroneously return the
QSPI_READ
command while device configuration is in progress.
QSPI_READ
for non-aligned addresses.
0x3FF
QSPI_ERASE
command while device configuration is in progress.
QSPI_WRITE
4. Remote System Update (RSU)
UG-20205 | 2019.10.09
status.
OK
command before issuing
continued...
Send Feedback

Advertisement

Table of Contents
loading

Table of Contents