User Guide
Table Of Contents
- Generic Nios II Booting Methods User Guide
- Overview
- Prerequisites
- Acronym
- Nios II Processor Boot Copier
- Nios II Processor Booting Methods
- Nios II Booting General Flow
- Summary of Nios II Processor Vector Configurations and BSP Settings
- Nios II Processor Application Execute-In-Place from CFI Flash
- Nios II Processor Application Copied from CFI Flash to RAM Using Boot Copier
- Nios II Processor Application Copied from EPCS Flash to RAM Using Boot Copier
- Nios II Booting Elements
- Nios II Programming Solutions
- Document Revision History for Generic Nios II Booting Methods
Boot Option Reset Vector Conguration Exception Vector Conguration
• 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 Congurations and BSP Settings
9
Generic Nios II Booting Methods User Guide
Altera Corporation
Send Feedback










