Board logo

标题: 求助:双nios软件程序固化到flash----急!!!! [打印本页]

作者: dinos    时间: 2007-1-20 10:20     标题: 求助:双nios软件程序固化到flash----急!!!!

硬件pof已写入,在写入软件时报错

# Programming flash with the FPGA configuration
$SOPC_KIT_NIOS2/bin/nios2-flash-programmer --cable='ByteBlasterII [LPT1]' --devi
ce=1 --sidp=0x00801158 --id=3793962501 --timestamp=1169189131 --epcs --base=0x00
800800 new.flash
There are two or more Nios II processors available which match the values
specified.  Please use the configuration dialog to pick one, or specify the
--device and/or --instance parameters on the command line.

# Creating .flash file for the project
$SOPC_KIT_NIOS2/bin/elf2flash --base=0x00000000 --end=0x7fffff --reset=0x0 --inp
ut=video_nios1.elf --output=cfi_flash.flash --boot=$SOPC_KIT_NIOS2/components/al
tera_nios2/boot_loader_cfi.srec

# Programming flash with the project
$SOPC_KIT_NIOS2/bin/nios2-flash-programmer --cable='ByteBlasterII [LPT1]' --devi
ce=1 --sidp=0x00801158 --id=3793962501 --timestamp=1169189131 --base=0x00000000
cfi_flash.flash
There are two or more Nios II processors available which match the values
specified.  Please use the configuration dialog to pick one, or specify the
--device and/or --instance parameters on the command line.

求助达人如何解决,多谢了


作者: caopengly    时间: 2007-1-20 14:26

应该是你的上位机找到了两个nios cpucore,不知道哪个是这个flash对应的cpu。

你可以在niosIDE中的flashprogrammer设置对话框界面选择,也可以通过增加niosSHELL命令(nios2-flash-programmer的选择选项)行来下flash


作者: kzw    时间: 2007-1-23 22:20

你没有选择具体的那个cpu,有对应的参数的。
作者: dinos    时间: 2007-1-24 13:06

我在建工程的时候选了程序对应的cpu,configuration dialog(run)里选了,flash programmer里选了,可是还是不行,还有哪里要改动么?


作者: kzw    时间: 2007-1-24 18:42

你的下载提示中没有出现--instance这样的参数,表示你的cpu的编号。




欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) Powered by Discuz! 7.0.0