Stratix® 10 Configuration User Guide

ID 683762
Date 4/05/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 Stratix® 10 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 82. 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 83. Input Files Tab: Specifying the .sof
  7. 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.
  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 MT25QU02G 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. For Flash loader click Select. Select Stratix® 10 from Device family list. Select 1SX280LU2 for the Device name. Click OK.
  13. 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 84. 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      0x0010FFFF
FACTORY_IMAGE                 0x00110000      0x002D3FFF
SPT0                          0x002D4000      0x002DBFFF
SPT1                          0x002DC000      0x002E3FFF
CPB0                          0x002E4000      0x002EBFFF
CPB1                          0x002EC000      0x002F3FFF
Application Image             0x002F4000      0x004B7FFF

Configuration device: 1SX280LU3S2
Configuration mode: Active Serial x4

Notes:
- Data checksum for this conversion is 0xBFFB90A5
- All the addresses in this file are byte addresses

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