- UID
- 119307
- 性别
- 男
|
我用的是UP3的板子,自己作的target board。
下载结果是如下:
#! /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:/altera/myprojects/nios2rumen/software/flash_p1_test/Debug
# Creating .flash file for the FPGA configuration
$SOPC_KIT_NIOS2/bin/sof2flash --flash=U15 --offset=0x00000000 --epcs --input=D:/
altera/myprojects/nios2rumen/nios2rumen.sof --output=nios2rumen.flash
Info: *******************************************************************
Info: Running Quartus II Convert_programming_file
Info: Command: quartus_cpf --no_banner --convert --device=EPCS64 --option=nios2r
umen.opt D:/altera/myprojects/nios2rumen/nios2rumen.sof nios2rumen.pof
Info: Quartus II Convert_programming_file was successful. 0 errors, 0 warnings
Info: Processing ended: Thu Aug 25 09:12:37 2005
Info: Elapsed time: 00:00:03
Info: *******************************************************************
Info: Running Quartus II Convert_programming_file
Info: Command: quartus_cpf --no_banner --convert nios2rumen.pof nios2rumen.rpd
Info: Quartus II Convert_programming_file was successful. 0 errors, 0 warnings
Info: Processing ended: Thu Aug 25 09:12:41 2005
Info: Elapsed time: 00:00:04
WARNING: Default charset GBK not supported, using ISO-8859-1 instead
# Programming flash with the FPGA configuration
$SOPC_KIT_NIOS2/bin/nios2-flash-programmer --input=nios2rumen.flash --sof=D:/alt
era/UP3/targetboard/UP3board/system/UP3board.sof --cable='ByteBlasterII [LPT1]'
--epcs
Aug 25, 2005 9:12:42 AM - (??) nios2-flash-programmer: Launching Quartus Program
mer to download:
D:/altera/UP3/targetboard/UP3board/system/UP3board.sof
Pre-Reading 76KBytes of data from U15:
|----.----+----.----|
********************* (22.719 sec).
Aug 25, 2005 9:13:27 AM - (??) nios2-flash-programmer: Success. Zero bytes writ
ten to U15-
(because device matched contents of nios2rumen.flash)
Aug 25, 2005 9:13:27 AM - (??) nios2-flash-programmer: Flash programming complet
e
WARNING: Default charset GBK not supported, using ISO-8859-1 instead
# Creating .flash file for the project
$SOPC_KIT_NIOS2/bin/elf2flash --flash=U8 --base=0x00000800 --end=0x9ff --reset=0
x800000 --input=flash_p1_test.elf --output=U8.flash --boot=$SOPC_KIT_NIOS2/compo
nents/altera_nios2/boot_loader_cfi.srec
WARNING: Default charset GBK not supported, using ISO-8859-1 instead
# Programming flash with the project
$SOPC_KIT_NIOS2/bin/nios2-flash-programmer --input=U8.flash --sof=__NO_SOF_PLEAS
E__ --cable='ByteBlasterII [LPT1]' --base=0x00200000
Aug 25, 2005 9:13:28 AM - (??) nios2-flash-programmer: Input file empty--no data
to program into flash. Exiting.
WARNING: Default charset GBK not supported, using ISO-8859-1 instead
问题1:quartus_cpf --no_banner --convert --device=EPCS64 --option=nios2r
umen.opt D:/altera/myprojects/nios2rumen/nios2rumen.sof nios2rumen.pof
这条命令里面的参数为什么是EPCS64,我明明配置的是EPCS1
问题2:Aug 25, 2005 9:13:27 AM - (??) nios2-flash-programmer: Success. Zero bytes writ
ten to U15-
(because device matched contents of nios2rumen.flash)
match了为什么写进U15的数据是0 (U15就是EPCS)
问题3:成功了到底该是个什么样子 各位大侠成功的截图给我一个吧
Email:admiral1@newmail.dlmu.edu.cn
qq:21172824 |
soso I was born to love you |
|