Visible to Intel only — GUID: vut1724038487173
Ixiasoft
A.2.1.2. Programming CFI Flash Using the Quartus® Prime Programmer
You can use the JTAG interface in Altera® CPLDs to indirectly program the flash memory device. The Altera® CPLD JTAG block interfaces directly with the logic array in a special JTAG mode.
This mode brings the JTAG chain through the logic array instead of the Altera® CPLD boundary-scan cells (BSC). The Parallel Flash Loader Intel® FPGA IP provides JTAG interface logic to do the following:
- Convert the JTAG stream provided by the Quartus® Prime software.
- Program the CFI flash memory devices connected to the CPLD I/O pins.
Programming the CFI Flash Memory With the JTAG InterfaceShows an Altera® CPLD configured as a bridge to program the CFI flash memory device through the JTAG interface.
Perform the following steps to program a user design to the flash device in the Quartus® Prime Programmer:
Note: The following flash writing procedure blinks the SEL 2, 1, and 0 LEDs and does not support the Power Monitor, Clock Control, or other logic functions.
- On the Tools menu in the Quartus® Prime software, click Programmer.
- In the Programmer window, click Auto-Detect.
Note: If you do not see Intel® FPGA Download Cable or the board's embedded Intel® FPGA Download Cable II listed next to Hardware Setup, refer to the Cable and Adapter Drivers Information webpage in the Intel website.
- Click Add File and open cycloneVSX_5csxfc6df31_soc\factory_recovery\max2_PFL_writer.pof .
- Turn on the Program/Configure option for the .pof file.
- Click Start to download the selected configuration file to the MAX® V CPLD. Configuration is complete when the progress bar reaches 100%.
- Click Auto Detect and a flash device should show up attached to the MAX® V in the main window.
- Double-click the graphic of the flash device in the device chain pane to display the Device's Properties dialog box.
- Select the flash image .pof file generated from the Quartus® Prime Convert Programming Files dialog box. The default file name is output_file.pof .
- After the flash image .pof is attached in the Quartus® Prime Programmer, turn on Page_1 and Option Bits. (Page_0 is reserved for the GSRD factory design.)
- Click Start.
- After the flash writing process has completed, power cycle the board and look for the MAX CONF DONE LED to turn ON if the writing process is successful.
- Altera recommends that you return to the MAX® V System Controller factory design after completing the flash writing. To do so, program the MAX® V with cycloneVSX_5csxfc6df31_soc\factory_recovery\max<version>.pof . For more information refer to the Restoring the MAX® V CPLD to the Factory Settings section.
For more information on programming flash memory, refer to the Parallel Flash Loader Intel® FPGA IP User Guide and Using FPGA-Based Parallel Flash Loader with the Quartus® Prime Software.