User Guide

Boot Option Reset Vector Conguration Exception Vector Conguration
OCRAM/ External RAM
CFI Flash
Nios II processor applica‐
tion copied from CFI ash
to RAM using boot copier
CFI ash OCRAM/ External RAM
Nios II processor applica‐
tion copied from EPCS
ash to RAM using boot
copier
EPCS controller OCRAM/ External RAM
Nios II processor applica‐
tion executes in-place from
Altera On-chip Flash
(UFM)
UFM Choose between:
OCRAM/ External RAM
(2)
UFM
Nios II processor applica‐
tion copied from UFM to
RAM using boot copier
UFM OCRAM/ External RAM
Nios II processor applica‐
tion execute-in-place from
Altera On-chip Memory
(OCRAM)
OCRAM OCRAM
Table 2: Summary of Nios II Processor BSP Settings
Boot Option BSP Settings:
Settings.Advanced.hal.linker
BSP Editor Setting: Linker Script
Nios II processor applica‐
tion execute-in-place from
CFI ash
If the exception vector
memory is set to OCRAM/
External RAM, enable the
following settings in
Settings.Advanced.hal.linker:
allow_code_at_reset
enable_alt_load
enable_alt_load_copy_
rodata
enable_alt_load_copy_
rwdata
enable_alt_load_copy_
exceptions
If the exception vector
memory is set to CFI Flash,
Set .text Linker Section to Altera On-
chip Flash
Set other Linker Sections
(.heap, .rwdata, .rodata, .bss, .stack) to
OCRAM/ External RAM
(2)
Setting exception vector memory to OCRAM/ External RAM is recommended to make the interrupt
processing faster.
UG-20001
2016.05.24
Summary of Nios II Processor Vector Congurations and BSP Settings
9
Generic Nios II Booting Methods User Guide
Altera Corporation
Send Feedback