#! /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_led_0/Debug
# Creating .flash file for the FPGA configuration
$SOPC_KIT_NIOS2/bin/sof2flash --flash=U14 --offset=0x00700000 --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: Fri Oct 14 11:08:59 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/FZH_NIOS_KIT/system/FZH_NIOS_KIT.sof --cable='ByteBlasterII [LPT1]' --device
=1 --base=0x00800000
Oct 14, 2005 11:09:00 AM - (??) nios2-flash-programmer: Launching Quartus Progra
mmer to download:
E:/work/1011/FZH_NIOS_KIT/system/FZH_NIOS_KIT.sof
Unable to synchronize with target.
Oct 14, 2005 11:10:07 AM - (??) nios2-flash-programmer: Error opening target har
dware
Oct 14, 2005 11:10:07 AM - (??) nios2-flash-programmer:
In order to program flash, you must first create a purpose-built
flash-programming design (i.e. FPGA configuration) and associate it with
your particular board. The Nios development kit is delivered with purpose-bui
lt
flash-programming designs pre-built for several development boards. If you wi
sh
to program flash on your own board, you must first create a flash-programming
design.
The process of creating a flash-programming design for your board is mostly
automated. From a bash-shell, execute this script:
mk_target_board --help
The help-message includes references to other documentation on programming
flash and targeting Nios systems to custom board designs.
- exiting.
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=0x0 --input=hello_led_0.elf --output=ext_flash.flash --boot=$SOPC_KIT_NIOS2/c
omponents/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=ext_flash.flash --sof=__NO_SO
F_PLEASE__ --cable='ByteBlasterII [LPT1]' --device=1 --base=0x00800000
Oct 14, 2005 11:10:07 AM - (??) nios2-flash-programmer: SOF-download skipped.
Oct 14, 2005 11:11:18 AM - (??) nios2-flash-programmer: Error opening target har
dware
Oct 14, 2005 11:11:18 AM - (??) nios2-flash-programmer:
In order to program flash, you must first create a purpose-built
flash-programming design (i.e. FPGA configuration) and associate it with
your particular board. The Nios development kit is delivered with purpose-bui
lt
flash-programming designs pre-built for several development boards. If you wi
sh
to program flash on your own board, you must first create a flash-programming
design.
The process of creating a flash-programming design for your board is mostly
automated. From a bash-shell, execute this script:
mk_target_board --help
The help-message includes references to other documentation on programming
flash and targeting Nios systems to custom board designs.
- exiting.
Unable to synchronize with target.
WARNING: Default charset GBK not supported, using ISO-8859-1 instead作者: oceanx 时间: 2005-10-14 17:49
E:/work/1011/FZH_NIOS_KIT/system/FZH_NIOS_KIT.sof
Unable to synchronize with target.