Visible to Intel only — GUID: kkl1553558523641
Ixiasoft
Visible to Intel only — GUID: kkl1553558523641
Ixiasoft
5.5.3. Generating a Factory Update Image
quartus_pfg -c fpga.sof factory_update.rpd -o mode=ASX4 -o start_address=<address> -o bitswap=ON -o rsu_upgrade=ON
- On the File menu, click Programming File Generator.
- Select Intel® Agilex™ from the Device family drop-down list.
- Select the configuration mode from the Configuration mode drop-down list. The current Intel® Quartus® Prime only supports the RSU feature in the Active Serial x4 configuration mode.
- On the Output Files tab, assign the output directory and file name.
- Select the output file type:
- Raw Programming File (.rpd)
- In Intel® Quartus® Prime software version 20.4 or earlier, click the Edit… button and assign the Start address for the image in flash memory. This Start address must match the starting address of the target partition in flash memory. If the address is incorrect, the image does not load successfully when you trigger an update with this image.
In Intel® Quartus® Prime software version 21.1 or later, a Use relative address option is the default option to generate a single application bitstream. You do not have to specify the start address since you may program the image to any available location in the QSPI flash memory. To load the image, you must correctly point to the starting address of the stored image in flash memory.
If you choose to disable this option, unselect the Use relative address checkbox. You must provide the Start address for the image in flash memory.
Figure 74. Specifying Parameters for Single .rpd Stored in Flash Memory - By default, the .rpd file type is little-endian. If you are using a third-party programmer that does not support the little-endian format, set Bit swap to On to generate the .rpd file in big endian format.
Note: The rsu1.tcl script that Intel provides performs the bit swap operation. Consequently, if you are using this script, set Bit swap to Off.
- On the Input Files tab, click Add Bitstream. If necessary, change the Files of type to SRAM Object File (*.sof). Then, select factory image .sof file and click Open.
Figure 75. Specify the .sof File
- Select the .sof and then click Properties. Turn On Generate RSU factory update image. Specify the Bootloader file.
Note: You only have to specify the Bootloader file for Intel® Agilex™ SX devices.Figure 76. Specify the .sof File
- Click Generate to generate the RSU programming files. You can now update the decision firmware, decision firmware data, and the factory image in flash memory. You can save the configuration in a .pfg file for later use.