Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12453 Discussions

Managing 2 .elf files and 1 .sof file to download on board

Altera_Forum
Honored Contributor II
839 Views

Hi, 

For "UDP Offload example", I have 2 .elf files (1 for Nichestack TCP/IP and 1 for App Programming like setting Base addresses of components) and 1 .sof file. 

My question is: 

1. How to download all of them on the board permanently like .pof file? 

one way I know is: 

http://www.altera.com/support/kdb/solutions/rd04112006_450.html 

I am hesitating because of 2 .elf files instead of just 1 and manage relative addressing for both .elf file. 

OR 

just combine 1 .elf file to .sof as: 

http://www.alteraforum.com/forum/showthread.php?t=5633 

 

Is this the right way to manage these 3 files? or is there another way to program the board? 

 

2. Is there any way to combine 2 .elf file together?
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
146 Views

You need to create single software project containing your application and Nichestack. Otherwise you have two compiled programs, that do not interact with each other.

Altera_Forum
Honored Contributor II
146 Views

 

--- Quote Start ---  

You need to create single software project containing your application and Nichestack.  

--- Quote End ---  

 

 

Hi linas, 

When I created single software project containing application and Nichestack, application program is not working anymore. 

I just put this application program into a function instead of main() and define a header file for it and include this header file both in application program and iniche_init.c file. 

what's wrong here?
Reply