Board logo

标题: [求助]高人帮我看看,关于nios的flash下载,谢谢!! [打印本页]

作者: chubing    时间: 2007-1-12 17:36     标题: [求助]高人帮我看看,关于nios的flash下载,谢谢!!

我的nios做debug时会出现:

Using cable "ByteBlasterMV [LPT1]", device 1, instance 0x00
Processor is already paused

Downloading 00000000 ( 0%)
Downloaded 26KB in 0.6s (43.3KB/s)

Verifying 00000000 ( 0%)
Verify failed between address 0x0 and 0x6533
Leaving target processor paused

等到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 H:/jhxla/logic/logic/software/hello_world_0/Debug

# Creating .flash file for the project
$SOPC_KIT_NIOS2/bin/elf2flash --base=0x00000000 --end=0xfffff --reset=0x0 --inpu
t=hello_world_0.elf --output=cfi_flash.flash --boot=$SOPC_KIT_NIOS2/components/a
ltera_nios2/boot_loader_cfi.srec

# Programming flash with the project
$SOPC_KIT_NIOS2/bin/nios2-flash-programmer --base=0x00000000 cfi_flash.flash
Using cable "ByteBlasterMV [LPT1]", device 1, instance 0x00
Resetting and pausing target processor: OK

              : Checksumming existing contents         

00000000      : Reading existing contents              

Checksums took 0.0s                                       

00000000 ( 0%): Erasing                                

Erased 16kB in 0.0s                                   

00000000 ( 0%): Programming                            

Program failed                                        
Leaving target processor paused

# Creating .flash file for the datafile
$SOPC_KIT_NIOS2/bin/bin2flash --base=0x00000000 --location=0x0 --input=$SOPC_KIT
_NIOS2/examples/software/hello_world/hello_world.c --output=hello_world.flash

# Programming flash with the datafile
$SOPC_KIT_NIOS2/bin/nios2-flash-programmer --base=0x00000000 hello_world.flash
Using cable "ByteBlasterMV [LPT1]", device 1, instance 0x00
Resetting and pausing target processor: OK

              : Checksumming existing contents         

00000000      : Reading existing contents              

Checksummed/read 16kB in 0.6s                                       

00000000 ( 0%): Erasing                                

Erased 16kB in 0.0s                                   

00000000 ( 0%): Programming                            

Program failed at offset 200                                        
Leaving target processor paused

用的Quartus5.1  哪位帮我看看啊  感激。


作者: bjxiong    时间: 2007-1-15 09:47

还没有解决吗??建议你去altera板块问问






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