Nios® V Embedded Processor Design Handbook

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

4.5.2.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 33. 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, perform one of the following steps:
    • If Initialize flash content is checked (Method 1), the UFM initialization data was included in the SOF during Quartus® Prime compilation.
      • Select Page_0 for UFM source: option. Click OK and proceed to the next.
        Figure 34. Setting Page_0 for UFM Source if Initialize Flash Content is Checked
    • If Initialize flash content is not checked (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 35. 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 36. 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.