User Guide

Figure 1: Memory Map for EPCQ and CFI Flash with Memcpy-based Bootcopier
Note: At the start of the memory map is the FPGA image, followed by the customer data which consists
of boot copier and application code. e size of the FPGA image is unknown and the exact size can
only be known aer the Quartus Prime project compilation. e Nios II reset vector oset must be
set in Qsys and must point to the start of the boot copier which is located aer the FPGA image.
You will have to determine an upper bound for the size of the FPGA image. For instance, if the size
of the FPGA image is estimated to be less than 0x01E00000, you can set the Nios II Reset Vector
oset to 0x01E00000 in Qsys, which is also the start of the boot copier.
e following diagram shows the memory map of a system using UFM ash and the memcpy-based
controller. Since the FPGA image (*.sof) is stored in MAX10 CFM section, the boot copier is located at the
base address of UFM, followed by the application code. Hence, the Nios II reset vector oset can be set to
address 0x00000000 in Qsys.
4
Memcpy-Based Boot Copier
UG-20001
2016.05.24
Altera Corporation
Generic Nios II Booting Methods User Guide
Send Feedback