Agilex™ 7 Configuration User Guide

ID 683673
Date 11/04/2024
Public
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™ 7 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 80. 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 81. Input Files Tab: Specifying the .sof
  7. You can skip this step if you are using Agilex™ 7 with multiple QSPI flash memory devices. On the Configuration Device tab, click Add Device, select MT25QU02G flash memory and click OK. The Programming File Generator tool automatically populates the flash partitions.
    1. Select the MT25QU02G flash memory and click Add Partition.
    2. 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.
  8. You can skip this step if you are using a single QSPI flash memory device. Agilex™ 7 devices support a maximum of four QSPI flash memory devices to store RSU images. All the connected QSPI flash memory devices must be of the same part number, same size, and from the same vendor.
    1. On the Configuration Device tab, click Add Device. Select the total density (QSPI03G, QSPI04G, QSPI06G, or QSPI08G) of all the connected QSPI flash memory devices, and click OK. For example, select QSPI08G for four 2 Gb QSPI flash memory devices.
    2. Select the BOOT_INFO partition, click the Edit... button. Turn On each of the QSPI flash memory devices that are connected to CS1, CS2, or CS3, based on your board setup. The boot ROM always boots from the QSPI flash memory device that is connected to CS0. All these QSPI flash memory devices share the same QSPI reset, clock, and data pins.
    3. Select to highlight the total density of all the connected QSPI flash memory devices (same value selected in step a) and click Add Partition.
    4. 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.
    Figure 82. Configuration Device
    Figure 83. Edit Boot Info Partition
    Figure 84. Add Partition
  9. Select the FACTORY_IMAGE partition and click Edit.
  10. 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.
  11. For Flash loader click Select. Select Agilex™ 7 from Device family list. Select AGFA014R24A3E3VR0 for the Device name. Click OK.
  12. 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 85. Configuration Tab: Add Device and Partition
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
Application Image             0x004B0000      0x006EAFFF

Configuration device: AGFB014R0
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.