AN 1013: Using Generic QSPI Flash on Control Block-Based Devices

ID 855235
Date 6/30/2025
Public

5.2. Program Phase

The Program phase programs the .jic programming file into the QSPI flash.
Figure 12. Program Phase Flow Template (Micron* Example)

With the implementation of a loop, the Quartus® Prime Programmer continuously sends the 06h (Write Enable) and 02h (Page Program) flash opcodes until the end of the .jic programming file.

You must make sure of the following:
  • Addressing mode (byte): Ensure is aligned with the byte addressing from the initialization phase.
  • Delay (μs): Define a non-zero value according to the minimum delay for Page Program as specified in the AC specifications of the flash device datasheet.
  • Leave the rest at default.
Note: An alternative to using Delay (μs) is to poll the Write-In-Progress (WIP) bit from the Status Register using an RR action box. Quartus® Prime Programmer continues to the next loop after it receives an idle status from the WIP bit. Refer to the Erase Phase section for an example.