Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
21 years ago

boot program

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?

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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£¿
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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