Forum Discussion
Altera_Forum
Honored Contributor
12 years agoPlease take a look at the attached sample. This was for Cyclone III; you may need some changes to make it work on other fpga devices.
- unzip the files in a new directory - open Nios II command shell and go there - change EPCS_SRC_ADDR in boot_loader.h with desired boot address for Nios application - build the custom bootloader, which generates a epcs_controller_boot_rom_A.hex file (simply type 'make') - replace the existing epcs_controller_boot_rom.hex file in your Quartus project with the newly generated one (thus removing _A) - select Quartus Processing menu, then Update Memory Initialization file - select Quartus Processing menu, then Start -> Start Assembler - the generated sof file will boot from the specified epcs address