I've downloaded a NIOS2 project example and imported a software to the Eclipse. after I build the project it gives me the following error : Error: ” .sopcinfo file is missing.”
Can you help?
For Nios designs, you need two projects in Eclipse: the BSP based on the .sopcinfo file from Platform Designer and your design project. Did you create a BSP project?
Hi @ABola2 ,
We may face such issue when we try import the project in different work-space than quartus project directory.
To avoid warning or error ".sopcinfo file is missing"
- Recreate the eclipse project with sopcinfo file or
- Import the eclipse project and edit the make file (variable name SOPC_FILE=<DIRECTORY>) and settings.bsp file (Tag name SocpDesignFile=<DIRECTORY>) such that we pointing correct directory of socpinfo file.
Which compile/build the project without error/warning.
For existing projects make sure make & settings.bsp files point to correct sopcinfo file.
import the project and build it.
Steps to import the eclipse project
Import-> Nios II Software Build Tools Project ---> Import Nios II Software Build Tools Project
Start NIOS and select work-space to 'software' folder
Import project code. Select folder for this, and make sure name of project matches folder.
Import BSP files. Select folder for this and again make sure name matches folder.
Zip the software folder and import.
Import->general->existing project into work-space->next->select archive file->finish.
Let me know if this has helped resolve the issue you are facing or if you need any further assistance.