Embedded Design Handbook

ID 683689
Date 8/28/2023
Public
Document Table of Contents

5.2.2.3. Nios® II Processor Application Copied from UFM to RAM using Boot Copier

Intel recommends this solution for Intel® MAX® 10 FPGA Nios® II processor system designs where there may be multiple iterations of application software development and when high system performance is required. The boot copier is located within the UFM at an offset which is the same address with the reset vector. The Nios® II application is located next to the boot copier.

For this boot option, the Nios® II processor starts executing the boot copier upon system reset to copy the application from the UFM sector to the OCRAM or external RAM. Once copying is complete, the Nios® II processor transfers the program control over to the application.

Figure 69. Nios II Application Copied from UFM to RAM using Boot Copier
Table 32.  RAM and ROM Size Requirement
  • You can manually determine the required RAM size for the On-Chip Flash by referring to the initial part of the .objdump file, created when you build your application.
  • The OCRAM size is limited, you have to ensure that the size is sufficient for application execution.
RAM Size Requirement ROM Size Requirement
Equivalent to the executable code and dynamic memory size required by user program. Executable code and boot copier must not exceed the size of the UFM.
Figure 70. Configuration and Booting Flow