|
下载程序后提示如下,显示屏白屏
#!/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 [LPT1]' --device=1 "OLD1.flash"
Using cable "ByteBlasterII [LPT1]", 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 [LPT1]' --device=1 "epcs_controller.flash"
Using cable "ByteBlasterII [LPT1]", 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 |
阿莫论坛20周年了!感谢大家的支持与爱护!!
一只鸟敢站在脆弱的枝条上歇脚,它依仗的不是枝条不会断,而是自己有翅膀,会飞。
|