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 BSP Settings:
Settings.Advanced.hal.linker
BSP Editor Setting: Linker Script
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
Nios II processor applica‐
tion copied from CFI ash
to RAM using boot copier
All settings in
Settings.Advanced.hal.linker
are le unchecked.
All Linker Sections are set to OCRAM/
External RAM
Nios II processor applica‐
tion copied from EPCS
ash to RAM using boot
copier
All settings in
Settings.Advanced.hal.linker
are le unchecked.
All Linker Sections are set to OCRAM/
External RAM
Nios II processor applica‐
tion executes in-place from
Altera On-chip Flash
(UFM)
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 UFM, 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
• Set .text Linker Section to Altera On-
chip Flash
• Set other Linker Sections
(.heap, .rwdata, .rodata, .bss, .stack) to
OCRAM/ External RAM
Nios II processor applica‐
tion copied from UFM to
RAM using boot copier
All settings in
Settings.Advanced.hal.linker
are le unchecked.
All Linker Sections are set to OCRAM/
External RAM
10
Summary of Nios II Processor Vector Congurations and BSP Settings
UG-20001
2016.05.24
Altera Corporation
Generic Nios II Booting Methods User Guide
Send Feedback










