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

Simple socket server example problem

Hi,  

I've a DE4-230 board...and I tried to test the simple socket server example. So i loaded on the fpga both the file.sof and the file.elf given with the board....in this case no problems...but when I try to use the simple socket server template of nios2 eclipse program...without modifying anything...staring the run after the build...It stops....!!....so the question is....are the two C-codes....the sss template of eclipse and the sss of .elf file given with the board similar??aren't they? 

 

Has anyone met this problem? 

 

 

Regards
0 Kudos
3 Replies
Altera_Forum
Honored Contributor I
30 Views

You need sopcinfo file to generate proper system. Do You have it?

Altera_Forum
Honored Contributor I
30 Views

I have the same board and the same problem. 

The design seems to be very program (Quartus version) dependent. I think, it does not compile because the Quartus version is not the same as the one used by Terasic. 

If you find a way to compile it: please let me know! 

 

David
Altera_Forum
Honored Contributor I
30 Views

yes, I solved it....as first thing....after you make modifications to Quartus2/Sopc program you have to re-generate the system...and insert the new .sopcinfo file in eclipse...then as regards SSS C-codes....effectively...two codes are different and so...it needs to modify the eclipse SSS template code...first of all the file led.c in which you find a rand() function instead of a counting up code for controlling 7-segments display...and then the file Simple Socket Server.c file in which you have to insert the MAC of your board manually. 

 

ps: 

 

you could also try to change manually the two files led.c and SimpleSocketServer.c of template with those in Quartus2 cd-rom with the board.
Reply