Nios® V Processor Software Developer Handbook

ID 743810
Date 10/31/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

4.8.2. Boot from Flash Configuration

The reset address points to a bootloader in a flash memory. The bootloader 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 provides example bootloaders for QSPI flash memory in the <Intel Quartus Prime software installation directory>/niosv/components/bootloader folder, precompiled to Motorola S-record Files (.srec). You can use the Intel-provided bootloader or provide your own.