Forum Discussion

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

Storing program in EPCS

I'm trying to develop a NIOS program that should be stored on a EPCS4. The problem is that linker reports an error of enough EPCS memory but when I add the EPCS controller on my SOPC system it assigns only 2048 bits. Reading documentation I have understood that all EPCS remaining memory can be used to store program and intended non-volatile data. Where is the problem ?

1 Reply

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

    There are Altera documents about this and many forum topics, as well. All you should have to do is set your processor's Reset Address to the EPCS controller (in SOPC Builder). A boot loader will then be automatically prepended to your application code. At this point, all you should have to do is use the flash programmer to program your EPCS device.

    Read the documentation for further details.

    Cheers,

    - slacker