Embedded Design Handbook

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

5.2.6.3. Nios® II Processor Application Copied from CFI Flash to RAM using Boot Copier

Using a boot copier to copy the Nios® II application from CFI flash to RAM is suitable when multiple iterations of application software development and high system performance are required. The Nios® II SBT tool automatically adds the Nios® II processor memcpy-based boot copier to the system when the executable file (.elf) is converted to the memory initialization file (.hex). The boot copier is located at the base address of the HEX data, followed by the application.

For this boot option, the Nios® II processor starts executing the boot copier software upon system reset that copies the application from the CFI to the on-chip memory or External RAM. Once this process is complete, the Nios® II processor transfers the program control over to the application.
Figure 202.  Nios® II Application Copied from CFI Flash to RAM using Boot Copier
Figure 203. Design, Configuration and Booting Flow