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.

Nios II basic

Altera_Forum
Honored Contributor II
2,082 Views

Hi, 

I am a beginner .I am using Nios II development kit stratix II Ep2s60f672c3n. In the flash memory of board contains nios file.while power on file transfer to fpga... 

 

It means can I directly program onto nios now??? that is using eclipse.  

or I need to develop nios and programmed onto fpga using sopc builder? 

 

please reply
0 Kudos
7 Replies
Altera_Forum
Honored Contributor II
119 Views

U have to build the FPGA system using SOPC/QSYS , the NIOS code to interact with the FPGA will have to be done using eclipse 

 

for ex : to transfer data from NIOS Console to DDR. 

 

U will have to create a system onchipmemory-DDR controller-DMA etc using SOPC/QSYS and synthesize to get an .sof 

then ur code to sent data to the write /read to the DDR will be a .c file which you have to build using eclipse and get an .elf 

 

U can flash both .sof n .elf and they would do the respective work.
Altera_Forum
Honored Contributor II
119 Views

so first I have to port nios using sopc builder onto fpga. right? 

 

Thankyou so much...
Altera_Forum
Honored Contributor II
119 Views

yes build nios !!!

Altera_Forum
Honored Contributor II
119 Views

I builded Nios using Qsys . generated successfully. but during compilation of nios block in quartus II tool I am getting an error message that  

 

"Error (12006): Node instance "inst" instantiates undefined entity "my nios"  

 

what will be the reason. please reply.
Altera_Forum
Honored Contributor II
119 Views

Is there really a space there? It shouldn't be a valid name. Your QSYs project should be called "my_nios" and not "my nios". 

When generating a system in QSYS, a .qip file is created, that tells Quartus what should be included in the FPGA project. Check that this .qip file is part of your project, and if not, add it (Project menu, Add/Remove files in project).
Altera_Forum
Honored Contributor II
119 Views

yes sit thankyou.... I added .Qsys file to part of my project. now working. 

 

Thank You
Altera_Forum
Honored Contributor II
119 Views

Hi, 

 

I have built nios. Now I am trying to program nios using eclipse.In built "count binary" c programming is using to check my nios. I assigned count_binary_o as my project name. 

 

while built project I am getting two errors. 

 

 

make: *** [count_binar_0.elf] Error 1 count_binar_0 C/C++ Problem 

 

 

undefined reference to `__alt_invalid' alt_sys_init.c /count_binar_0_bsp C/C++ Problem 

 

 

what will be reason ? please reply
Reply