Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

boot program

Altera_Forum
Honored Contributor II
985 Views

hi all; 

 

if I had already download FPGA image and usesoft.elf to the flash , can the system boot and run by itself ? Is it need write a boot_programm int the soft?
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
311 Views

Hi gerger, 

if u've used the flash programmer in IDE, it automatically adds a boot loader program, in front of your code, if your reset address is in flash space while your program memory (a setting in library project properties) is in another memory space.
0 Kudos
Altera_Forum
Honored Contributor II
311 Views

thanks! 

I have used the flash programmer in IDE,  

but if I didn't use in IDE,I want to get the source of boot loader,how can get it£¿
0 Kudos
Altera_Forum
Honored Contributor II
311 Views

The sources are in <nios2_root>/components/altera_nios2/sdk/src/boot_loader_sources. The IDE actually uses SRECs in <nios2_root>/components/altera_nios2...one for EPCS devices and another for CFI flashes. 

 

Best Regards, 

 

- slacker
0 Kudos
Reply