Hard Processor System Remote System Update User Guide: Agilex™ 5 SoCs
4.1.4. Setting QSPI Ownership
The QSPI Ownership setting allows you to select the QSPI controller ownership for either the HPS or the SDM, supported starting with Quartus® Prime Pro Edition Version 25.1. After power-up, the QSPI controller ownership is assigned to the SDM. Depending on the value set in the QSPI Ownership setting, the SDM either grants or rejects the QSPI controller ownership when the HPS requests it using the QSPI_DIRECT command sent through the HPS-to-SDM mailbox.
When the QSPI Ownership is assigned to the HPS, the SDM accepts the QSPI_DIRECT command, granting the HPS ownership of the QSPI controller. Conversely, when the QSPI Ownership is assigned to the SDM, the SDM rejects the QSPI_DIRECT command, keeping the ownership with the SDM.
The QSPI Ownership setting is stored in the IO section of the bitstream which is consumed by the SDM firmware to determine if it should grant or reject the QSPI controller ownership request.
For the Remote System Update (RSU) flow, the QSPI Ownership setting must be assigned to the HPS from the Quartus® Prime Pro Edition software, because the HPS needs access to the SPTs and CPBs in the QSPI flash device. The different features availability that depend on the QSPI ownership selection are documented in the Feature Availability under SDM/HPS Ownership of Quad SPI Controller section in the appendix of the Hard Processor System Technical Reference Manual: Agilex™ 5 SoCs.
- Navigate to Assignments ➤ Device ➤ Device and Pin Options ➤ Configuration ➤ QSPI Ownership
- Select HPS from the menu.
The following figure shows the HPS selection for the QSPI Ownership.
The parameter can also be specified by directly editing the project Quartus® Prime Pro Edition settings file (.qsf) and adding the following line or changing the value if it is already there:
set_global_assignment -name QSPI_OWNERSHIP HPS