Nios® II Software Developer Handbook

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

5.10.2. Boot from Flash Configuration

The reset address points to a boot loader in a flash memory. The boot loader initializes the instruction cache, copies each memory section to its virtual memory address (VMA), and then jumps to start.

This boot configuration has the following characteristics:

  • alt_load() not called
  • No code at reset in executable file

The default Tcl script chooses this configuration when the memory associated with the processor reset address is a flash memory and the .text section is mapped to a different memory (for example, SDRAM).

Intel FPGA provides example boot loaders for CFI and EPCS memory in the Nios® II EDS, precompiled to Motorola S-record Files (.srec). You can use one of these example boot loaders, or provide your own.