Device Configuration User Guide: Agilex™ 5 FPGAs and SoCs

ID 813773
Date 4/01/2024
Public

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

Document Table of Contents

5.6.2. Creating Initial Flash Image Containing Bitstreams for Factory Image and One Application Image

  1. On the File menu, click Programming File Generator.
  2. Select Agilex™ 5 from the Device family drop-down list.
  3. Select the configuration mode from the Configuration mode drop-down list. The current Quartus® Prime Software only supports remote system update feature in Active Serial x4.
  4. On the Output Files tab, assign the output directory and file name.
  5. Select the output file type.
    Select the following file types for the Active Serial (AS) x4 configuration mode:
    • JTAG Indirect Configuration File (.jic)
    • Memory Map File (.map)
    • Raw Programming File (.rpd). Generating the .rpd file is optional.
    Figure 78. Output Files Tab: Creating Initial Flash Image
  6. On the Input Files tab, click Add Bitstream, select the factory image .sof file and click Open. Repeat this step for the application image .sof.
    1. Bitstream_1 is the bitstream for factory image.
    2. Bitstream_2 is the bitstream for application image.
    Figure 79. Input Files Tab: Specifying the .sof
  7. On the Configuration Device tab, click Add Device, select the density of the flash memory and click OK. The Programming File Generator tool automatically populates the flash partitions.
    Figure 80. Configuration Device Tab
  8. Select the FACTORY_IMAGE partition and click Edit.
  9. On the Edit Partition dialog box, select Bitstream_1 as the factory image .sof in the Input file drop-down list. Keep the default settings for the Page and Address Mode. Click OK.
  10. Select the QSPI02G flash memory and click Add Partition.
  11. In the Add Partition dialog box, select Bitstream_2 for the application image .sof in the Input file drop-down list. Assign Page: 1.Keep the default settings for Address Mode. Click OK.
  12. Select QSPI02G flash memory, click Edit, and select the Min Erase Size.
    Note: The default minimum erase size is 4 KB. It is not necessary to change this value if your flash memory supports a minimum erase size of 4 KB.
  13. For Flash loader click Select. Select Agilex™ 5 from Device family list. Select A5EC065BB23AR0 for the Device name. Click OK.
  14. Click Generate to generate the remote system update programming files. The Programming File Generator generates the following files:
    1. Initial_RSU_Image.jic
    2. Initial_RSU_Image_jic.map
    Figure 81. Configuration Tab: Add Device, Partition, Flash Loader and Generate
The following example output shows the generated .map file. The .map lists the start addresses of the factory image, CPB0, CPB1, and one application image. The remote system update requires these addresses.
BLOCK               START ADDRESS   END ADDRESS
BOOT_INFO                     0x00000000      0x0020FFFF
FACTORY_IMAGE                 0x00210000      0x0048FFFF
SPT0                          0x00490000      0x00497FFF
SPT1                          0x00498000      0x0049FFFF
CPB0                          0x004A0000      0x004A7FFF
CPB1                          0x004A8000      0x004AFFFF
P1                            0x004B0000      0x006EAFFF

Configuration device: A5EC065BB23AR0
Configuration mode: Active Serial x4

Notes:

- Data checksum for this conversion is 0xC0D25FD7
- All the addresses in this file are byte addresses
      

After generating the programming file, you can program the flash memory.