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++

Storing program in EPCS

Altera_Forum
Honored Contributor II
925 Views

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 ?

0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
241 Views

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
0 Kudos
Reply