Board logo

标题: 请教flash的问题 [打印本页]

作者: hjlcq    时间: 2007-5-29 21:15     标题: 请教flash的问题

出现下面的问题 请问高手是什么意思?

#! /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 D:/test/software/hello_led_0/Debug

# Creating .flash file for the FPGA configuration
$QUARTUS_ROOTDIR/NIOS2/bin/sof2flash --offset=0x000000 --input=D:/test/test.sof
--output=test.flash
Info: *******************************************************************
Info: Running Quartus II Convert_programming_file
Info: Command: quartus_cpf --no_banner --convert D:/test/test.sof test.rbf
Info: Quartus II Convert_programming_file was successful. 0 errors, 0 warnings
    Info: Processing ended: Fri May 18 17:29:37 2007
    Info: Elapsed time: 00:00:01

# Programming flash with the FPGA configuration
$QUARTUS_ROOTDIR/NIOS2/bin/nios2-flash-programmer --cable='USB-Blaster [USB-0]'
--device=1 --sidp=0x00400838 --id=4144342397 --timestamp=1179475284 --base=0x000
00000 test.flash
Using cable "USB-Blaster [USB-0]", device 1, instance 0x00
Resetting and pausing target processor: OK
Reading System ID at address 0x00400838: No CFI table found at address 0x0000000
0
verified
Leaving target processor paused

# Creating .flash file for the project
$QUARTUS_ROOTDIR/NIOS2/bin/elf2flash --base=0x00000000 --end=0x3fffff --reset=0x
0 --input=hello_led_0.elf --output=cfi_flash_0.flash --boot=$QUARTUS_ROOTDIR/NIO
S2/components/altera_nios2/boot_loader_cfi.srec

# Programming flash with the project
$QUARTUS_ROOTDIR/NIOS2/bin/nios2-flash-programmer --cable='USB-Blaster [USB-0]'
--device=1 --sidp=0x00400838 --id=4144342397 --timestamp=1179475284 --base=0x000
00000 cfi_flash_0.flash
Using cable "USB-Blaster [USB-0]", device 1, instance 0x00
Resetting and pausing target processor: OK
Reading System ID at address 0x00400838: No CFI table found at address 0x0000000
0
verified
Leaving target processor paused


作者: kzw    时间: 2007-5-29 23:37

你用的是什么板子,提示你的0地址是空的啊。


作者: hjlcq    时间: 2007-6-1 20:31

我用的是DE2


作者: kzw    时间: 2007-6-4 23:41

你使用的目标板的形式还是直接通过IDE下载的啊。
作者: caopengly    时间: 2007-6-5 12:57

"Resetting and pausing target processor: OK
Reading System ID at address 0x00400838: No CFI table found at address 0x0000000
"没有目标板

你可以看看ug_nios2_flash_programmer.pdf,制作targetboard;

没有目标板,程序下不到flash中的。






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