Nios® V Embedded Processor Design Handbook

ID 726952
Date 12/04/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

7.3.4.3. Generating a Factory Update Flash Image

  1. On the File menu, click Programming File Generator.
  2. Select Active Serial x4 from the Configuration mode drop-down list. The current Intel® Quartus® Prime software only supports remote system update feature in Active Serial x4.
  3. On the Output Files tab, assign the output directory and file name.
  4. Select the output file type as Raw Programming File (.rpd).
  5. By default, the .rpd file type is little-endian. Set the Bit swap to On.
    Note: If you are using a third-party programmer that does not support the little-endian format, set the Bit swap to On to generate the .rpd file in big endian format.
    Figure 126. Programming File Generator (Output Files)
  6. On the Input Files tab, click Add Bitstream. Change the Files of type to SRAM Object File (*.sof). Then, select factory update image .sof file (application-2.sof) and click Open.
    Figure 127. Programming File Generator (Input Files)
  7. Select the application-2.sof and then click Properties. Turn on Generate RSU factory update image.
    Figure 128. Generate RSU Factory Update Image
  8. Click Generate to generate the RSU programming files. You can now update the decision firmware, decision firmware data, and the factory image into the initial RSU image.

Command to generate factory update image

quartus_pfg -c application-2.sof factory_update.rpd -o mode=ASX4 -o bitswap=ON -o rsu_upgrade=ON