AN 981: Using Generic QSPI Flash on SDM Devices

ID 778053
Date 7/02/2024
Public

5. Debugging QSPI Flash Device using QSPI Debugger

To debug the configuration QSPI flash device, follow the steps below.

  1. Ensure that JTAG configuration is successful using the project SOF and the targeted Intel FPGA devices.
  2. 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:

  1. 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.
  2. 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.