⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 altera.txt

📁 在调试nios ii时
💻 TXT
字号:
**** Build of configuration Debug for project simple_socket_server_0 ****

make -s all includes 
make[1]: *** No rule to make target `/cygdrive/e/altera/72/ip/nios2_ip/altera_nios2/HAL/src/crt0.S', needed by `crt0.o'.  Stop.
make: *** [system_project] Error 2
Build completed in 13.36 seconds

分析原因:原工程是在E盘里面建立的,现在复制过来的工程放在C盘,故build的时候系统找不到e/altera/72/ip/nios2_ip/altera_nios2/HAL/src/crt0.S文件。
解决问题的办法:1、Copy the "IP" folder from your altera\72\ directory (or wherever it was installed) into the e:\altera\72\ directory so that the path matches.
2、Consider uninstalling the IP library and reinstalling to this path if you are going to contribute to the repository.


总的说来nios这软件不智能化,从其他途径拿过来的工程只有在自己机器上先建立工程才能导入,而且有时直接导入编译会出现很多这样那样的问题,要么就是路径不符,要么就是无相关硬件支持等等,用此软件来套用别人的工程的话建议在自己机器上建立一个和别人的路径一样的目录,否则会出错。

Issue 0001: Build errors when importing projects into Nios II. Error message: make[1]: *** No rule to make target `/cygdrive/c/altera/72/ip/nios2_ip/altera_nios2/HAL/src/crt0.S', needed by `crt0.o'.  Stop. 
Problem: This occurs when your IP library is located in a different directory. The project is looking for HAL files and cannot find them. 
Resolution: Copy the "IP" folder from your altera\72\ directory (or wherever it was installed) into the c:\altera\72\ directory so that the path matches. Consider uninstalling the IP library and reinstalling to this path if you are going to contribute to the repository.    

Issue 0002: The "NANDControllerFlashFirmware_syslib" does show up as a system library when trying to import the NANDControllerFlashFirmware project. Error message: None 
Problem: The .project file is included in the SVN repository, so if you try to change the project path it will get overwritten when syncronizing with the root. 
Resolution: We are looking into excluding these files from the repository, but for the time being the best solution is to just make sure to use the C:\altera\NANDFlashController\ path.  
  
Issue 0003: Error when compiling the project using the Alera Web Edition Error Message: Warning: Can't generate programming files for project because design file "d:/DE2_Hardware_Trunk/cpu_0.v" is encrypted. It does not have license file support that allows generation of programming files. 
Problem: The web edition license does not allow you to update the programming files.  
Resolution: You must purchase a license for the IP-NIOS or purchase the Development kit (http://www.altera.com/products/devkits/altera/kit-nios-2c35.html) which includes a license.   

Issue 0004: Error when compiling the project after moving file paths Error Message: Various, such as having a file declared twice 
Problem: The System_0 that gets generated by the SOPC builder has full references to certain files. 
Resolution: Open SOPC Builder and regenerate the system   

Issue 0005: All commands return invalid data Error Message: NA 
Problem: If all of the commands return increasing values (ie.. 01 02 03 04) the issue is that the Nand Controller is not able to store data into the system memory. 
Resolution: Check to make sure that the Heap memory is set to sram_0 and not sdram_0 by opening NIOS_II, right click on syslib system_0 project, select properties, then system library on the left, and set the Heap Memory to sram_0   

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -