| | 网站首页 | 新闻 | SOPC | FPGA | DSP | ARM | 嵌入式操作系统 | 下载 | 网上商城 | 芯片价格参考 | 留言 | 论坛 | 网络协议 | 驱动设计 | 购买指南-HowtoBuy | | |
![]() |
![]() |
| 您现在的位置: FPGA开发板 FPGA 开发板 SOPC开发板 DSP开发板 视频开发板 -嵌入式控制研究室 >> SOPC >> SOPC应用 >> 文章正文 |
|
|||||
| sopc Flash Programmer,nios2,niosii | |||||
| 作者:佚名 文章来源:互联网 点击数: 更新时间:2006-7-10 | |||||
|
Flash only flow failure in IDE—Updated December 19, 2005 The Flash only flow of the Board Description Editor is used to run the Nios II Flash Programmer on a custom board in IDE mode. When the Board Description Editor is run in the Flash Flow only, wherein no board netlist (wirelist) is provided, the resulting PTF file is missing some entries which are required for successful system generation in SOPC Builder. A subsequent attempt to generate in SOPC Builder will issue the following error: C:/altera/quartus51/sopc_builder/bin/europa/e_project.pm 310 CALLED (e_project::device_family) WHERE <=== 'expected exactly one argument' OCCURRED on C:/altera/quartus51/sopc_builder/bin/europa/e_project.pm 1313 Workaround: The workaround is to use the Flash Programmer via command line or hand-edit the board description PTF file as described below after running the Board Description Editor. 1. Run through the Flash Flow of the Board Description Editor as instructed in the Board Description Editor (PDF) chapter of the SOPC Builder Handbook. 2. Close SOPC Builder 3. In a text editor, open the .ptf file created by the Board Description Editor. 4. In the CLASS/BOARD_DEFAULTS section of the .ptf file, add the following entries. o device_family = "<device family>"; suitable values for <device family> are CYCLONE, CYCLONEII, STRATIX, STRATIXII, etc. o For each CFI or EPCS flash entered in the board description, create a REFDES section with an arbitrary base address, such as just "0". o Workaround_example.txt shows an example of the edits. 5. Save and close the .ptf file after making the edits. 6. Re-open the system in SOPC Builder, select the newly created board description in the "Target" section, and then click Generate. ========================================================== CLASS my_1c20_no_wirelist_board { BOARD_DEFAULTS { class = "my_1c20_no_wirelist_board"; class_version = "1.0"; altera_avalon_epcs_flash_controller { reference_designators = "U59"; } altera_avalon_cfi_flash { reference_designators = "U5"; } reference_designators = "U59,U5"; initial_system_file = ""; # >> Add these lines or equivalent << >> device_family = "CYCLONE"; >> REFDES U5 >> { >> base = "0"; >> } >> REFDES U59 >> { >> base = "0"; >> } # >> End add lines << CONFIGURATION user { ========================================================== 如果不改,编译时会出现错误 |
|||||
| 文章录入:fengfeiyi 责任编辑:fengfeiyi | |||||
| 【发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口】 | |||||
| 最新热点 | 最新推荐 | 相关文章 | ||
| SOPC技术在电力机车改造中的… 基于SOPC技术的核信息远程采… 把SOPC Builder用于非Nios系… SOPC自定义模块的添加和接口… NiosII开发常见问题 应用SoPC Builder开发电子系… nios ii的 中断 nios flash read/write 基于μClinux的SoPC应用系统… 中频数字接收机中的NIOSⅡ设… |
网友评论:(只显示最新10条。评论内容只代表网友观点,与本站立场无关!) |
| | 设为首页 | 加入收藏 | 联系站长 | 友情链接 | 版权申明 | 管理登录 | | |
![]() |
Copyright © 2005www.21control.com 嵌入式控制技术研究室 版权所有 站长:康草科技 |