chun2495 发表于 2011-4-15 16:15:45

我的flash不能下载,epcs不能下载,快疯了 求帮助

我用FLASH下载,不行。现在换成EPCS下载也不行,出现下面问题,看了很多类似解决方案还是不行,我QUARTUS 9.1nios 9.1请赐教!


#!/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 E:/Bladder_Sacnner/Bladder_Scanner_EP3C40/dev/software/hello_world_0/Debug

# Creating .flash file for the FPGA configuration
"$SOPC_KIT_NIOS2/bin/sof2flash" --epcs --input="E:/Bladder_Sacnner/Bladder_Scann
er_EP3C40/dev/Bladder_Scanner.sof" --output="Bladder_Scanner.flash"
Info: *******************************************************************
Info: Running Quartus II Convert_programming_file
Info: Command: quartus_cpf --no_banner --convert --device=EPCS128 --option=Bladd
er_Scanner.opt E:/Bladder_Sacnner/Bladder_Scanner_EP3C40/dev/Bladder_Scanner.sof
Bladder_Scanner.pof
Info: Quartus II Convert_programming_file was successful. 0 errors, 0 warnings
    Info: Peak virtual memory: 73 megabytes
    Info: Processing ended: Fri Apr 15 15:56:27 2011
    Info: Elapsed time: 00:00:02
    Info: Total CPU time (on all processors): 00:00:02
Info: *******************************************************************
Info: Running Quartus II Convert_programming_file
Info: Command: quartus_cpf --no_banner --convert Bladder_Scanner.pof Bladder_Sca
nner.rpd
Info: Quartus II Convert_programming_file was successful. 0 errors, 0 warnings
    Info: Peak virtual memory: 69 megabytes
    Info: Processing ended: Fri Apr 15 15:56:29 2011
    Info: Elapsed time: 00:00:02
    Info: Total CPU time (on all processors): 00:00:02

# Programming flash with the FPGA configuration
"$SOPC_KIT_NIOS2/bin/nios2-flash-programmer" --epcs --base=0x06001800 --accept-b
ad-sysid --instance=0 "Bladder_Scanner.flash"
Using cable "USB-Blaster ", device 1, instance 0x00
Resetting and pausing target processor: OK
No EPCS layout data - looking for section
Unable to use EPCS device
Leaving target processor paused

# Creating .flash file for the project
"$SOPC_KIT_NIOS2/bin/elf2flash" --base=0x00000000 --end=0x1ffffff --reset=0x6001
800 --input="hello_world_0.elf" --output="cfi_flash_0.flash" --boot="C:/altera/9
1/ip/altera/nios2_ip/altera_nios2/boot_loader_cfi.srec"

# Programming flash with the project
"$SOPC_KIT_NIOS2/bin/nios2-flash-programmer" --base=0x00000000 --accept-bad-sysi
d --instance=0 "cfi_flash_0.flash"
Empty flash content cannot be programmed or verified

# Creating .flash file for the project
"$SOPC_KIT_NIOS2/bin/elf2flash" --epcs --after="Bladder_Scanner.flash" --input="
hello_world_0.elf" --output="epcs_flash_controller_0.flash"

# Programming flash with the project
"$SOPC_KIT_NIOS2/bin/nios2-flash-programmer" --epcs --base=0x06001800 --accept-b
ad-sysid --instance=0 "epcs_flash_controller_0.flash"
Using cable "USB-Blaster ", device 1, instance 0x00
Resetting and pausing target processor: OK
No EPCS layout data - looking for section
Unable to use EPCS device
Leaving target processor paused

chun2495 发表于 2011-6-2 16:05:47

自己解决了flash是坏的 epcs16需要配置管教

FPGA0110 发表于 2011-6-2 23:09:28

恭喜恭喜...鼓励一下!

chun2495 发表于 2011-6-3 13:39:20

今天发现其实还是不行 空欢喜,EPCS可以下载 为什么??

chun2495 发表于 2011-6-3 13:49:01

快快快

fengchuitian 发表于 2011-6-3 15:38:19

可以顶一下。

chun2495 发表于 2011-6-7 14:26:12

问题找到了 ,字配成了字节·····

arokh 发表于 2011-6-10 21:44:46

遇到问题要淡定

flyaudio 发表于 2013-5-24 00:51:38

chun2495 发表于 2011-6-7 14:26 static/image/common/back.gif
问题找到了 ,字配成了字节·····

我也遇到了同样的问题。

你说字配成了字节??什么意思,是哪里的配置?

chun2495 发表于 2013-5-24 17:14:37

flyaudio 发表于 2013-5-24 00:51 static/image/common/back.gif
我也遇到了同样的问题。

你说字配成了字节??什么意思,是哪里的配置?


就是FPGA的一个管脚,

flyaudio 发表于 2013-5-27 12:29:55

chun2495 发表于 2013-5-24 17:14 static/image/common/back.gif
就是FPGA的一个管脚,

还是不太懂,能说详细点么?

chun2495 发表于 2013-5-27 13:49:11

DQ15/A-1 若这个管脚配置成数据端口 则为按字读写 若为地址线 则是字节模式。

guoyinwhu 发表于 2013-8-19 15:38:32

你好,epcs_flash_controller生成的Nios,那四个管教怎么连????????????
页: [1]
查看完整版本: 我的flash不能下载,epcs不能下载,快疯了 求帮助