首页 | 新闻 | 新品 | 文库 | 方案 | 视频 | 下载 | 商城 | 开发板 | 数据中心 | 座谈新版 | 培训 | 工具 | 博客 | 论坛 | 百科 | GEC | 活动 | 主题月 | 电子展
返回列表 回复 发帖

flash-programmer: Verification

flash-programmer: Verification

#! /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:/work/1011/hello_world_0/Debug

# Creating .flash file for the FPGA configuration
$SOPC_KIT_NIOS2/bin/sof2flash --flash=U14 --offset=0x00600000 --input=E:/work/10
11/sopc_jj.sof --output=sopc_jj.flash
Info: *******************************************************************
Info: Running Quartus II Convert_programming_file
Info: Command: quartus_cpf --no_banner --convert E:/work/1011/sopc_jj.sof sopc_j
j.rbf
Info: Quartus II Convert_programming_file was successful. 0 errors, 0 warnings
    Info: Processing ended: Mon Oct 17 22:26:14 2005
    Info: Elapsed time: 00:00:00
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=sopc_jj.flash --sof=E:/work/1
011/MY_KIT_BOARD/system/MY_KIT_BOARD.sof --cable='ByteBlasterII [LPT1]' --device
=1 --base=0x00800000
Oct 17, 2005 10:26:15 PM - (??) nios2-flash-programmer: Launching Quartus Progra
mmer to download:
     E:/work/1011/MY_KIT_BOARD/system/MY_KIT_BOARD.sof
Pre-Reading 142KBytes of data from U14:
    |----.----+----.----|
    ********************* (8.141 sec).
Erasing 3 Sectors:
    |----.----+----.----|
    ********************* (2.812 sec).
Writing 192KBytes :
    |----.----+----.----|
    ********************* (17.485 sec).
Verifying 192KBytes of data:
    |----.----+----.----|
    *******Oct 17, 2005 10:26:54 PM - (??) nios2-flash-programmer: Verification
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=U14 --base=0x00000000 --end=0x7fffff --res
et=0x900000 --input=hello_world_0.elf --output=flash.flash --boot=$SOPC_KIT_NIOS
2/components/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=flash.flash --sof=__NO_SOF_PL
EASE__ --cable='ByteBlasterII [LPT1]' --device=1 --base=0x00800000
Oct 17, 2005 10:26:55 PM - (??) nios2-flash-programmer: Input file empty--no dat
a to program into flash. Exiting.
WARNING: Default charset GBK not supported, using ISO-8859-1 instead
返回列表