Nios® V Embedded Processor Design Handbook

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

4.5.3.3. Programming

  1. In Quartus® Prime, click File > Convert Programming Files.
  2. Under Output programming file, choose Programmer Object File (.pof) as Programming file type.
  3. Set Mode to Internal Configuration.
    Figure 50. Convert Programming File Settings
  4. Click Options/Boot info…, the MAX® 10 Device Options window appears.
  5. Based on the Initialize flash content settings in the On-chip Flash IP, do one of the following:
    • If you select Initialize flash content (Method 1), the UFM initialization data was included in the SOF during Quartus® Prime compilation.
      • For Single Uncompressed/ Compressed Image configuration mode, select Page_0 for UFM source: option. Click OK and proceed to the next step.
        Figure 51. Setting Page_0 for UFM Source if Initialize Flash Content is Checked
      • If you turn off Initialize flash content (Method 2), choose Load memory file for the UFM source option. Browse to the generated On-chip Flash HEX file (onchip_flash.hex) in the File path: and click OK. This step adds UFM data separately to the SOF file during the programming file conversion.
        Figure 52. Setting Load Memory File for UFM Source if Initialize Flash Content is Not Checked
  6. In the Convert Programming File dialog box, at the Input files to convert section, click Add File... and point to the generated Quartus® Prime .sof file.
    Figure 53. Input Files to Convert in Convert Programming Files for Single Image Mode
  7. Click Generate to create the .pof file.
  8. Program the .pof file into your MAX® 10 device.
  9. Power cycle your hardware.