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++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Software/EPCS

Altera_Forum
Honored Contributor II
1,064 Views

Hello, 

 

I am having a problem getting my software to launch from EPCS. 

 

Here is what I have done: 

 

I am using a patch method used to boot Nios II out of EPCS for the Stratix II, with Cyclone II. I have run through the method of modifying boot_loader_epcs.srec, converting flash file to hex for EPCS, and then creating a JIC file. I have run this EPCS load successfully when I have instantiated a memory test inside of on-chip memory. 

 

I am applying the same method where I want to launch my code out of SRAM. I know the code is loaded because I open up a Nios-console session and can see my memory modified with my code. 

 

Of course, I can easily launch my software with a nios2-download -g <fn>.elf 

 

Is there a way to have the code, “go” from this address without any other intrusion, like say an IDE command or console command. 

 

I am a little confused because I can also easily compile a simple hello world onto on-chip memory and have that run without any external commands. 

 

Thanks, 

Baycool
0 Kudos
0 Replies
Reply