gwuyu 发表于 2010-12-16 16:31:58

程序下载问题

下载程序后提示如下,显示屏白屏
#!/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:/FPGA/FPGA/HANDHELD_DSO_PROJECT_V2.0/software/new_handheld_dso/Debug

# Creating .flash file for the FPGA configuration
"$SOPC_KIT_NIOS2/bin/sof2flash" --epcs --input="D:/FPGA/FPGA/HANDHELD_DSO_PROJEC
T_V2.0/OLD1.sof" --output="OLD1.flash"
Info: *******************************************************************
Info: Running Quartus II Convert_programming_file
Info: Command: quartus_cpf --no_banner --convert --device=EPCS128 --option=OLD1.
opt D:/FPGA/FPGA/HANDHELD_DSO_PROJECT_V2.0/OLD1.sof OLD1.pof
Info: Quartus II Convert_programming_file was successful. 0 errors, 0 warnings
    Info: Peak virtual memory: 73 megabytes
    Info: Processing ended: Thu Dec 16 16:05:48 2010
    Info: Elapsed time: 00:00:01
    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 OLD1.pof OLD1.rpd
Info: Quartus II Convert_programming_file was successful. 0 errors, 0 warnings
    Info: Peak virtual memory: 70 megabytes
    Info: Processing ended: Thu Dec 16 16:05:50 2010
    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=0x01001800 --cable='B
yteBlasterII ' --device=1"OLD1.flash"
Using cable "ByteBlasterII ", device 1, instance 0x00
Resetting and pausing target processor: OK

            : Checksumming existing contents         

00000000      : Verifying existing contents            

00010000      : Verifying existing contents            

00000000      : Reading existing contents               

00010000      : Reading existing contents               

Checksummed/read 7kB in 0.2s                                       

00000000 ( 0%): Erasing                                 

00010000 (50%): Erasing                                 

Erased 128kB in 1.2s (106.6kB/s)                     

00000000 ( 0%): Programming                           

00010000 (50%): Programming                           

Programmed 122KB +6KB in 3.5s (36.5KB/s)                  
Did not attempt to verify device contents
Leaving target processor paused

# Creating .flash file for the project
"$SOPC_KIT_NIOS2/bin/elf2flash" --epcs --after="OLD1.flash" --input="new_handhel
d_dso.elf" --output="epcs_controller.flash"

# Programming flash with the project
"$SOPC_KIT_NIOS2/bin/nios2-flash-programmer" --epcs --base=0x01001800 --cable='B
yteBlasterII ' --device=1"epcs_controller.flash"
Using cable "ByteBlasterII ", device 1, instance 0x00
Resetting and pausing target processor: OK

            : Checksumming existing contents         

00010000      : Verifying existing contents            

00020000      : Verifying existing contents            

00030000      : Verifying existing contents            

00040000      : Verifying existing contents            

00050000      : Verifying existing contents            

00010000      : Reading existing contents               

00020000      : Reading existing contents               

00030000      : Reading existing contents               

00040000      : Reading existing contents               

00050000      : Reading existing contents               

Checksummed/read 66kB in 2.5s                                       

00010000 ( 0%): Erasing                                 

00020000 (20%): Erasing                                 

00030000 (40%): Erasing                                 

00040000 (60%): Erasing                                 

00050000 (80%): Erasing                                 

Erased 320kB in 3.2s (100.0kB/s)                     

00010000 ( 0%): Programming                           

00020000 (20%): Programming                           

00030000 (40%): Programming                           

00040000 (60%): Programming                           

00050000 (80%): Programming                           

Programmed 255KB +65KB in 8.7s (36.7KB/s)                  
Did not attempt to verify device contents
Leaving target processor paused

gwuyu 发表于 2010-12-16 16:37:31

http://cache.amobbs.com/bbs_upload782111/files_35/ourdev_604999C9U5NV.JPG
(原文件名:123.JPG)

gwuyu 发表于 2010-12-16 20:56:57

哈哈,好了,原来有几个脚虚焊

ccmj4708 发表于 2011-1-28 10:17:05

记号

hopelesssheep 发表于 2011-1-30 01:04:29

回复【3楼】ccmj4708
-----------------------------------------------------------------------

刚接触FPGA,软件这块还比较陌生,谢谢ccmj4708兄翻出了这么多的关于软件的帖子,省了我不少时间.
页: [1]
查看完整版本: 程序下载问题