Forum Discussion

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

If I want to put software program elf file into flash, do I need a flash controller?

If I want to put software program elf file into flash, then the system can load program automatically after power on, I think I need to add a flash controller in my qsys system, correct? Is Altera Avalon Flash the right IP I should use/

Thanks.

7 Replies

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

    Altera supplies some libraries for writing the epcs/epcq devices from software if the avalon epcs controller IP is instantiated. One way to discover the correct elf offset is to run elf2flash with the --after option.

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

    --- Quote Start ---

    Altera supplies some libraries for writing the epcs/epcq devices from software if the avalon epcs controller IP is instantiated. One way to discover the correct elf offset is to run elf2flash with the --after option.

    --- Quote End ---

    Thanks. Do you mean "EPCS Serial Flash Controller Core"?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Thanks. Do you mean "EPCS Serial Flash Controller Core"?

    --- Quote End ---

    yes, that's the one we use here
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    yes, that's the one we use here

    --- Quote End ---

    Thanks very much.