Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Valued Contributor III
701 Views

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

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
Highlighted
Valued Contributor III
8 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.

0 Kudos
Highlighted
Valued Contributor III
8 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?
0 Kudos