Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
994 Views

NIOS Execute in place from EPCS flash

Hi, 

I am trying to load the NIOS code into EPCS and execute from EPCS. After compiling the code in Eclipse. I am getting the following error. 

 

 

address 0x3e09f88 of nios_hdmi.elf section `.text' is not within region `epcs_flash_controller_0' 

 

When I see the EPCS size it shows 2016 bytes. I have no idea how to increase the size of EPCS in Qsys. 

 

Can anyone help me on this? 

 

Thanks 

Karthik
0 Kudos
2 Replies
Altera_Forum
Honored Contributor I
54 Views

Hi, 

 

I don't recall there is an option to define EPCS size in Qsys.  

If you are executing-in-place from EPCS, very unlikely your .elf will exceed the EPCS size, unless your application is really huge, or your EPCS is relatively small.
Altera_Forum
Honored Contributor I
54 Views

You can't execute your code in place from the EPCS. The epcs_flash_controller_0 region is a ROM memory containing a bootloader that will copy your code from the EPCS into the main RAM. If you want to avoid that the only other solution I can think of is to implement an on-chip ROM in the FPGA but it will use resources.

Reply