Embedded Design Handbook

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

5.2.4.5. Nios® II Processor Application Copied from Configuration QSPI Flash to RAM Using Boot Copier (Other FPGA devices)

You can use a boot copier to copy the Nios® II application from QSPI flash to RAM 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 which copies the application from the configuration QSPI to the internal or external RAM. Once this completes, the Nios® II processor transfers the program control over to the application.