Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20704 Discussions

simple question on nios2 IDE

Altera_Forum
Honored Contributor II
1,666 Views

hi,  

 

I have received a project (quartus with nios) from a coworker and I just wanted to open the software part in nios2 IDE 9.0. 

 

I can open que qpf project with vhdl and schematics very easily with quartus. 

I can open the sopc builder in quartus. 

I can open the *.c and *.h files in nios2 IDE 9.0, but I can't open the project!!! So I can't see the build options and I can't build it. 

 

Does anyone have any idea to do that? thank you.
0 Kudos
15 Replies
Altera_Forum
Honored Contributor II
593 Views

Right click on project navigator-> import... 

 

On opened Dialog select "Nios II Existing Nios II IDE project into Workspace", "Next", search for project path clicking on button "..." near to "Project Contents" field. Accept cleaning project build files. 

 

Same procedure must be done for "syslib" project.
0 Kudos
Altera_Forum
Honored Contributor II
593 Views

I have done that, I have both my projects in nios2 C++ project view, but I can't build the project. 

what do I have to choose for workspace? 

 

edit : when I go on properties->make_project->make_builder, I have :  

"builder is missing or disabled on project"
0 Kudos
Altera_Forum
Honored Contributor II
593 Views

Did you import both user and system library projects? 

 

Did you choose the rigth path for .ptf file when importing system library project?
0 Kudos
Altera_Forum
Honored Contributor II
593 Views

I have imported both projects, but I cannot find where I have to choose the right .ptf file. I'm just asked for a directory when I import a project, and not for a .ptf file.

0 Kudos
Altera_Forum
Honored Contributor II
593 Views

Be sure you have copied your folder into a path without "spaces". Please clean both projects and try a re-build. 

 

Project->clean and project_>Build all.
0 Kudos
Altera_Forum
Honored Contributor II
593 Views

I have already done that. I have retested and rechecked. but the build still doesn't do anything... 

 

I have a ptf file but I don't know how to specify the project to use it.
0 Kudos
Altera_Forum
Honored Contributor II
593 Views

PTF file is used by system library project, as You could import both projects there is no problem. Please, be sure your path doesn't have spaces.

0 Kudos
Altera_Forum
Honored Contributor II
593 Views

I have _ and - but no space.

0 Kudos
Altera_Forum
Honored Contributor II
593 Views

doesn't building process generate .o files? have files or folder "only reading" optionn enabled?

0 Kudos
Altera_Forum
Honored Contributor II
593 Views

no "readonly" options, 

the building doesn't create any file... 

I don't understand what is happening. Maybe the workspace has to be set to something?
0 Kudos
Altera_Forum
Honored Contributor II
593 Views

Each project has his own workspace at the project folder importing should be enough. Could you post: 

 

* Nios II IDE projects 

 

* .ptf file (it's into Quartus project folder)
0 Kudos
Altera_Forum
Honored Contributor II
593 Views

well... 

 

I don't know what I had done but I should have made something wrong in the first place because now, everything works. 

 

I have erase the whole project and taken the safe project from the zipped file, and there isn't any error left. I certainly changed a file without noticing it. 

 

Thank you Parrado for your help, and sorry for not having sawn that before.
0 Kudos
Altera_Forum
Honored Contributor II
593 Views

Hi, 

 

here I am again, I have installed the new Nios2 9.1 version, and I try again to reopen my project. 

 

What I have done : 

- work on my project with nios2 9.0 

- uninstall quartus 9.0 and nios2 9.0 

- install quartus 9.1 and nios2 9.1 

- import both syslib and main projects. 

 

And I have the same issue. Nothing works at all! Can't altera create a "Open Project" option to make it easier? 

 

I have no spaces in my path. the project is the very same as the one in the 9.0 version. I don't know what to do now...
0 Kudos
Altera_Forum
Honored Contributor II
593 Views

have files or folder "hidden" option enabled? 

 

NB : I work with Quartus + nios II IDE 9.0 sp2 

I had a similar problem, my workaround is :  

- to create a new empty project 

- to recreate syslib from ptf file 

- to copy sources *.c *.h to this new project. 

 

i eared that nios ii ide will be discontinued ?
0 Kudos
Altera_Forum
Honored Contributor II
593 Views

I have created a new project, now I can build but I no longer have the options in the "system library" which is now the "BSP editor". So when I build my project, because I haven't the good option, the project is too big for the memory. it is not the solution I was looking for.

0 Kudos
Reply