Agilex™ 7 Hard Processor System Remote System Update User Guide

ID 683184
Date 5/01/2025
Public
Document Table of Contents

4.2.3.1.3. Creating an Initial Multi-QSPI Flash Image

Creating the initial image for a multi-QSPI device is performed in the same way as indicated in the previous two sections with some minor variations:
  • When you select the flash device in the Configuration Device tab and click Add Device you need to select one of the QSPI0xG devices depending on the total size of the multi-QSPI system (in bits). The following figure shows the possible options. These options are available when you are building a RSU image. In the following figure, the QSPI04G device is being selected for a 4 Gbit system (512 MB) integrated into two flash devices of 2 Gbits each.
    Figure 7. Selecting the Multi-QSPI Device
  • When configuring the memory locations for each one of the components make sure that the BOOT_INFO, FACTORY_IMAGE, STPs and CPBs fall into the memory area corresponding to chip 0.
  • In addition, when configuring the memory locations for the partitions, the memory ranges are defined based on having a single memory space that comprises of the total memory available in all the QSPI flash devices. A partition can span regions in more than one chip but the starting location of the partition should still be aligned to the erase granularity that is defined.
An example of a valid configuration is shown in the following figure. The configuration is for two QSPI flash devices of 256 MB each. The chip 0 covers memory region from 0x0 to 0x0FFF_FFFF and the chip 1 covers memory region from 0x1000_0000 to 0x1FFF_FFFF. In the figure you can see that the BOOT_INFO, FACTORY_IMAGE, SPTs and CPBs are allocated to chip 0. Partition P0 is also allocated to the chip 0, while partitions P1 and P2 are allocated to chip 1.
Figure 8. Configuring the Multi-QSPI Device