请教高手~~
我在nios2上加载的uclinux,配置和编译没有问题,为什么下载不到板子上的flash?错误信息如下:
# This file was automatically generated by the Nios II IDE Flash Programmer.
#
# It will be overwritten when the flash programmer options change.
#
cd C:/altera/quartus60/myproject/design/design_kernel2/build
# Creating .flash file for the project
$SOPC_KIT_NIOS2/bin/elf2flash --base=0x00000000 --end=0x3fffff --reset=0x0 --inp
ut=.tmp_vmlinux1 --output=cfi_flash_0.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='USB-Blaster [USB-0]' --devic
e=1 --base=0x00000000 cfi_flash_0.flash
There are no Nios II processors available which match the values specified.
Please check that your PLD is correctly configured, downloading a new SOF
file if necessary.
# Creating .flash file for the datafile
$SOPC_KIT_NIOS2/bin/bin2flash --base=0x00000000 --location=0x0 --input=vmlinux.b
in --output=vmlinux.flash
# Programming flash with the datafile
$SOPC_KIT_NIOS2/bin/nios2-flash-programmer --cable='USB-Blaster [USB-0]' --devic
e=1 --base=0x00000000 vmlinux.flash
There are no Nios II processors available which match the values specified.
Please check that your PLD is correctly configured, downloading a new SOF
file if necessary.
There are no Nios II processors available which match the values specified.
Please check that your PLD is correctly configured, downloading a new SOF
file if necessary.
说明你的sopc中的 nios和你flash的tagetboard中的nios不一样,
你可以重新下sof。
如果不行,你可以重新编译项目或者重做tagetboard。
请问版主,是不是在下载uclinux之前要先把sof文件先下载到flash?我用的是Nios II IDE6.0。如果先下载sof,会出现下列提示:
#! /bin/sh
#
# This file was automatically generated by the Nios II IDE Flash Programmer.
#
# It will be overwritten when the flash programmer options change.
#
cd C:/altera/quartus60/myproject/design/design_kernel2/build
# Creating .flash file for the project
$SOPC_KIT_NIOS2/bin/elf2flash --base=0x00000000 --end=0x3fffff --reset=0x0 --inp
ut=.tmp_vmlinux1 --output=cfi_flash_0.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='USB-Blaster [USB-0]' --devic
e=1 --base=0x00000000 cfi_flash_0.flash
Using cable "USB-Blaster [USB-0]", device 1, instance 0x00
Resetting and pausing target processor: No CFI table found at address 0x00000000
OK
Leaving target processor paused
# Creating .flash file for the datafile
$SOPC_KIT_NIOS2/bin/bin2flash --base=0x00000000 --location=0x0 --input=vmlinux.b
in --output=vmlinux.flash
# Programming flash with the datafile
$SOPC_KIT_NIOS2/bin/nios2-flash-programmer --cable='USB-Blaster [USB-0]' --devic
e=1 --base=0x00000000 vmlinux.flash
Using cable "USB-Blaster [USB-0]", device 1, instance 0x00
Resetting and pausing target processor: No CFI table found at address 0x00000000
OK
Leaving target processor paused
试了重新编译也不行~~
我试了不加载uclinux,直接把.sof文件下载进flash,也出现同样的问题,是不是目标板没有定义好?我用的是DE2板,在flash programmer那里的hardware image,显示的是user:U5+0×C00000,可是我的flash指定的地址是0×0
请问版主,DE2板用不用定义目标板?
不知LZ的这个问题最终是怎样解决的?能否告知啊?谢谢!
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) | Powered by Discuz! 7.0.0 |