首页 | 新闻 | 新品 | 文库 | 方案 | 视频 | 下载 | 商城 | 开发板 | 数据中心 | 座谈新版 | 培训 | 工具 | 博客 | 论坛 | 百科 | GEC | 活动 | 主题月 | 电子展
返回列表 回复 发帖

[求助]高人帮我看看,关于nios的flash下载,谢谢!!

[求助]高人帮我看看,关于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  哪位帮我看看啊  感激。

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

想看更多的东西?来我的博客,精彩多多! http://blog.eccn.com/u/bjxiong/index.htm
返回列表