Nios® V Embedded Processor Design Handbook

ID 726952
Date 1/27/2025
Public
Document Table of Contents

4.6.2.3. Programming Files Generation

The method for processor application copied from General Purpose QSPI Flash to RAM Using Boot Copier (Bootloader via GSFI) does not include the programming files generation for FPGA configuration. Unlike MAX® 10 On-Chip Flash or Active Serial configuration flash, the general purpose QSPI flash is not for FPGA configuration.

Software Programmer Object File (.pof) Generation

Note: The quartus.ini file with PGMIO_SWAP_HEX_BYTE_DATA=ON content is required to byteswap the software HEX file during the POF generation. Create the quartus.ini file or use the quartus.ini available in the related information. Place the quartus.ini file under Quartus® Prime tool directory or project directory before you proceed.
  1. In Quartus® Prime, click Convert Programming Files from the File tab.
  2. Choose Programmer Object File (.pof) as Programming file type.
  3. Set Mode to 1-bit Passive Serial.
  4. Set Configuration device to CFI_512Mb.
  5. Change the File name to the desired path and name.
  6. Remove the SOF Page_0.
  7. Click on Add HEX Data, choose the HEX file generated in HEX file section.
  8. Select Absolute Addressing and Little endian, and click OK.
  9. Click Generate to create the software .pof file.
Figure 77. HEX to POF File Conversion