5. Debugging QSPI Flash Device using QSPI Debugger
To debug the configuration QSPI flash device, follow the steps below.
- Ensure that JTAG configuration is successful using the project SOF and the targeted Altera FPGA devices.
- Apply the Configuration Debugger Tool to identity the QSPI compatibility with SDM firmware. You may refer to the following figure for more information.
Note: The QSPI Controller Settings and SFDP features in the Configuration debugger tool are only supported in the Agilex™ FPGA portfolio.
Figure 6. Flow Chart to Identify the QSPI Compatibility with SDM Firmware
There are a few scenarios that may cause the failure:
- Incorrect content in the SFDP table may cause the incorrect behavior/response from the flash device when SDM firmware is trying to interact with the flash device.
- The QSPI flash device does not comply to the SFDP standard. For example, when the SDM tries to read the SFDP header from the flash, the SFDP standard requires 8 dummy cycles for all (1-1-1), (2-2-2), and (4-4-4) modes. If the flash device fails to return the correct SFDP signature in any of the mode, then the SDM firmware would fail the configuration.