to gsjdan: 你可以告诉我们你跟我们方法有什么不同,设置应该注意什么地方吗? 或者,你最好就把你的步骤告诉我们,好吗?
另外,如何检查EPCS和SDRAM里面有没有东西。先谢谢啦.作者: hongbh0824 时间: 2005-11-14 09:16
我的做好后写进去老是报:
Verification failure after write.
WARNING: Default charset GBK not supported, using ISO-8859-1 instead
请问高手这是什么原因呢?作者: hongbh0824 时间: 2005-11-14 09:19
#! /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:/win2000/altera/kits/nios2/examples/NIOSII/my_board/software/my_board/Debug
# Creating .flash file for the FPGA configuration
$SOPC_KIT_NIOS2/bin/sof2flash --flash=ic3 --offset=0x00000000 --epcs --input=$SO
PC_KIT_NIOS2/examples/NIOSII/my_board/my_board.sof --output=my_board.flash
Info: *******************************************************************
Info: Running Quartus II Convert_programming_file
Info: Command: quartus_cpf --no_banner --convert --device=EPCS16 --option=my_boa
rd.opt E:/win2000/altera/kits/nios2/examples/NIOSII/my_board/my_board.sof my_boa
rd.pof
Info: Quartus II Convert_programming_file was successful. 0 errors, 0 warnings
Info: Processing ended: Sun Nov 13 14:52:16 2005
Info: Elapsed time: 00:00:02
Info: *******************************************************************
Info: Running Quartus II Convert_programming_file
Info: Command: quartus_cpf --no_banner --convert my_board.pof my_board.rpd
Info: Quartus II Convert_programming_file was successful. 0 errors, 0 warnings
Info: Processing ended: Sun Nov 13 14:52:17 2005
Info: Elapsed time: 00:00:01
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=my_board.flash --sof=$SOPC_KI
T_NIOS2/examples/niosii/project/mytargboard/mytargboard/system/mytargboard.sof -
-cable='ByteBlasterII [LPT1]' --epcs
Nov 13, 2005 2:52:18 PM - (??) nios2-flash-programmer: Launching Quartus Program
mer to download:
E:/win2000/altera/kits/nios2/examples/niosii/project/mytargboard/mytargboar
d/system/mytargboard.sof
Pre-Reading 78KBytes of data from ic3:
|----.----+----.----|
********************* (10.016 sec).
Erasing 2 Sectors:
|----.----+----.----|
********************* (2.312 sec).
Writing 128KBytes :
|----.----+----.----|
********************* (7.282 sec).
Verifying 128KBytes of data:
|----.----+----.----|
***********Nov 13, 2005 2:52:49 PM - (??) nios2-flash-programmer: Verificati
on failure after write.
WARNING: Default charset GBK not supported, using ISO-8859-1 instead
# Creating .flash file for the project
$SOPC_KIT_NIOS2/bin/elf2flash --flash=ic3 --epcs --base=0x0 --end=0x7fffffff --i
nput=my_board.elf --output=epcs_controller.flash --boot=$SOPC_KIT_NIOS2/componen
ts/altera_nios2/boot_loader_epcs.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=epcs_controller.flash --sof=_
_NO_SOF_PLEASE__ --cable='ByteBlasterII [LPT1]' --epcs
Nov 13, 2005 2:52:50 PM - (??) nios2-flash-programmer: SOF-download skipped.
Pre-Reading 8KBytes of data from ic3:
|----.----+----.----|
********************* (3.578 sec).
Writing 64KBytes :
|----.----+----.----|
********************* (3.531 sec).
Verifying 64KBytes of data:
|----.----+----.----|
*********************Nov 13, 2005 2:53:05 PM - (??) nios2-flash-programmer:
Verification failure after write.
WARNING: Default charset GBK not supported, using ISO-8859-1 instead
# Creating .flash file for the datafile
$SOPC_KIT_NIOS2/bin/bin2flash --flash=ic3 --location=0x0 --epcs --input=epcs_con
troller_boot_rom.flash --output=epcs_controller_boot_rom.flash
WARNING: Default charset GBK not supported, using ISO-8859-1 instead
# Programming flash with the datafile
$SOPC_KIT_NIOS2/bin/nios2-flash-programmer --input=epcs_controller_boot_rom.flas
h --sof=__NO_SOF_PLEASE__ --cable='ByteBlasterII [LPT1]' --epcs
Nov 13, 2005 2:53:06 PM - (??) nios2-flash-programmer: SOF-download skipped.
Pre-Reading 21KBytes of data from ic3:
|----.----+----.----|
********************* (3.203 sec).
Writing 64KBytes :
|----.----+----.----|
********************* (3.391 sec).
Verifying 64KBytes of data:
|----.----+----.----|
*********************Nov 13, 2005 2:53:21 PM - (??) nios2-flash-programmer:
Verification failure after write.
WARNING: Default charset GBK not supported, using ISO-8859-1 instead