Forum Discussion
DE2-115 Media Example
Hi all ,
I have been trying to run DE2-115 Media Computer example with no success. I tried to compile its Nios app in eclipse but i always get "Make elf error 1" . I have tried modifying i.e connecting a On-chip Ram in its SOC design with multiple sizes from 8k , 16k and 20K , but after successful HW compilation i still get " elf error1 " .
I have even tried modifying SOC design with no GPIO , no UART and no USB , no success again ????
Any ideas why software compilation is not working ?
Regards , Ahmed
20 Replies
- AnandRaj_S_Intel
Regular Contributor
Hi Ahmed,
Can you attach the eclipse console log file?
May be memory size or syntax error causing the problem.
- Try to create a new eclipse project with small hello world template. or
- Increase on chip memory to size more than 32kb.
Best Regards,
ARS
- ZKhan1
Occasional Contributor
Hi Anand ,
Please see attached nios project plus image of error output .
Regards , Ahmed
- ZKhan1
Occasional Contributor
also see attached DE2-115 media computer quartus SOC project .
also i am using Quartus Prime 16.0 lite edition and Nios ide 16.0 .
- Ahmed_H_Intel1
Frequent Contributor
Can you check the console log? It is in the Eclips as shown in the attachment here. Mainly it will be the memory size isn't enough. you have two ways to solve this issue:
Simply you can increase the memory size in Qsys and regenerate the HDL file then recompile the system again.
2- Right click the project>>properties>> NIOS II application properties>> Change the Debug level and optimization level. Then Right click your BSP project>>NIOS II>>BSP editor>>settings>> Enable small C library.
If the second option doesn't work then you must increase your memory (1st option).
- Ahmed_H_Intel1
Frequent Contributor
- ZKhan1
Occasional Contributor
- ZKhan1
Occasional Contributor
incremented to 180k and the design does not fit in the fpga ???
tried it with 100k , but nios compilation failed again .
what is the magic number ?
- ZKhan1
Occasional Contributor
nope even 32bit-by-128K didnt work , it fitted well in FPGA with 75% ram bits utilization , but nios project compilation failed
- Ahmed_H_Intel1
Frequent Contributor
Hi,
Did you managed to check the console log? Can you share a screen shoot of the console log message?
in this log you can see the real cause of this message