Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12748 Discussions

Change the ptf-file at an existing project

Altera_Forum
Honored Contributor II
1,561 Views

Hello, 

 

I wont to change the ptf-file at an existing NIOS II IDE project (FPGA/NIOS design has been updated). Can I do this without making a new project (I don't want to set my project preferences at every hw change). Just changing the ptf-file ends with an build error. 

 

Thank you for any suggestions, 

 

Ralf Trübenbach
0 Kudos
6 Replies
Altera_Forum
Honored Contributor II
731 Views

Hi ralf, 

u can't change the .ptf file linked to a library project in the IDE, so if u don't want to create a new library project, u have to insert your new .ptf file in the old hardware project (and recompile it...), renaming it with the old .ptf file's name. I think it works.
0 Kudos
Altera_Forum
Honored Contributor II
731 Views

I have already tried this and got the following error: 

 

make -s rebuild  

Creating generated_app.mk... 

make[1]: *** No rule to make target `generated_app_clean', needed by `clean'. Stop. 

make: *** [rebuild] Error 2 

Build completed
0 Kudos
Altera_Forum
Honored Contributor II
731 Views

<div class='quotetop'>QUOTE </div> 

--- Quote Start ---  

make[1]: *** No rule to make target `generated_app_clean&#39;, needed by `clean&#39;. Stop. 

make: *** [rebuild] Error 2[/b] 

--- Quote End ---  

 

 

The same error will be appeared when "Build project" after we changed the direcoty(the whole project includes quartus projcet and <software> subDir contain nios2 IDE project, dosen&#39;t change the struct of the directory).
0 Kudos
Altera_Forum
Honored Contributor II
731 Views

I just ran into this yesterday. Turns out this issue is in the Nios II errata (always a good idea to read those).

0 Kudos
Altera_Forum
Honored Contributor II
731 Views

<div class='quotetop'>QUOTE </div> 

--- Quote Start ---  

I just ran into this yesterday. Turns out this issue is in the Nios II errata (always a good idea to read those).[/b] 

--- Quote End ---  

 

 

Can you send me about the errata PDF? We just woder how to do when the project change directory or copy to anther PC ?
0 Kudos
Altera_Forum
Honored Contributor II
731 Views

mtn, 

 

Just search for "Nios II Errata" on the main Altera page: 

 

http://www.altera.com/support/ip/processor...osii-50-er.html (http://www.altera.com/support/ip/processors/nios2/ips-niosii-50-er.html

 

Then, from the errata, you&#39;ll see: 

 

<div class='quotetop'>QUOTE </div> 

--- Quote Start ---  

Build errors after changing component names in SOPC Builder 

 

    If you rename components in the SOPC Builder system and then regenerate the SOPC Builder system, Nios II IDE system library projects based on that system will have build errors. 

 

    Workaround: After regenerating the SOPC Builder system, create a new system library project for the SOPC Builder system. Alternately, you can delete the system library project from the workspace without deleting the contents from the file system, and then re-import the project, selecting the appropriate SOPC Builder system.[/b] 

--- Quote End ---  

 

 

- slacker
0 Kudos
Reply