Forum Discussion

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

Software/EPCS

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
No RepliesBe the first to reply