A–2
Appendix A: Programming the Flash Device
Parallel Flash Loader
Parallel Flash Loader
The development kit features a MAX II configuration design in the < install
dir > \kits\stratixIVGT_4s100g2_si\examples\maxII_epm1270_si directory that
includes a PFL megafunction. The Parallel Flash Loader (PFL) on the MAX II device is
used to configure from CFI flash when the RESET SW8 is pressed or the board is
powered up.
f For more information about the PFL megafunction, refer to AN 386: Using the Parallel
Custom User Design
As you develop your own project using the Altera tools, you may wish to program the
flash device so that, upon power up, it loads the FPGA with your own user design.
With the Nios II EDS tool sof2flash , your Quartus II compiled .sof can be converted to
a .flash file. The .flash file can then be written to the user hardware location of the
flash memory using either the Board Update Portal or the Nios II EDS
nios2-flash-programmer from a Nios II command-line shell.
If you used the Nios II EDS to derive your software design, you can use the Nios II
EDS tools to convert your compiled and linked software Executable and Linkable
Format File ( .elf ) design to .flash files. After your design files are in the .flash format,
then both hardware and software files can be written using the Board Update Portal
or using the Nios II EDS nios2-flash-programmer .
1
For more information about Nios II EDS software tools and practices, refer to
The following sections describe how to program the flash device using first the Board
Update Portal, then using only the Nios II EDS command-line tools.
Creating Flash Files Using the Nios II EDS
If you have hardware developed using the Quartus II application, and software
developed using the Nios II EDS, follow these instructions:
1. On the Windows Start Menu, go to All Programs > altera > Nios II EDS > Nios II
Command Shell .
2. In the Nios II Command Shell, navigate to the directory where your design files
are located and type the following Nios II EDS commands:
For .sof Quartus II hardware files:
sof2flash --input=yourfile_hw.sof --output=yourfile_hw.flash --offset=0xC20000 r
For .elf Nios II software files:
elf2flash --base=0x08000000 --end=0x0BFFFFFF --reset=0x08820000 --input=yourfile_sw.elf
-–output=yourfile_sw.flash
--boot=$SOPC_KIT_NIOS2/components/altera_nios2/boot_loader_cfi.srec r
Transceiver Signal Integrity Development Kit,
Stratix IV GT Edition User Guide
January 2012 Altera Corporation
相关PDF资料
DLP-2232H MODULE USB ADAPTER FOR FT2232H
DLP-2232ML-G MODULE USB ADAPTR FOR FT2232D LP
DLP-2232MSPF MODULE USB ADAPTER WITH MCU
DLP-CB-DLPC200-10R BOARD CONTROLLER FOR DLP
DLP-D-G MODULE USB SECURITY DONGLE
DLP-HS-FPGA2 MODULE USB ADAPTER FOR FT2232H
DLP-IOR4 MODULE LATCHING-RELAY 4-CH
DLP-TEMP-G MODULE DATA-ACQUISITION 3-CH
相关代理商/技术参数
DK-SI-4SGX230N 功能描述:可编程逻辑 IC 开发工具 FPGA Development Kit For EP4SGX230 RoHS:否 制造商:Altera Corporation 产品:Development Kits 类型:FPGA 工具用于评估:5CEFA7F3 接口类型: 工作电源电压:
DK-SI-5SGTMC7/ES 功能描述:可编程逻辑 IC 开发工具 FPGA Starter Kit For Stratix V 5SGTMC7 ES RoHS:否 制造商:Altera Corporation 产品:Development Kits 类型:FPGA 工具用于评估:5CEFA7F3 接口类型: 工作电源电压:
DK-SI-5SGTMC7N 功能描述:可编程逻辑 IC 开发工具 FPGA Starter Kit For Stratix V 5SGTMC7 RoHS:否 制造商:Altera Corporation 产品:Development Kits 类型:FPGA 工具用于评估:5CEFA7F3 接口类型: 工作电源电压:
DK-SI-5SGXEA7/ES 功能描述:可编程逻辑 IC 开发工具 FPGA Starter Kit For Stratix V 5SGXEA7 ES RoHS:否 制造商:Altera Corporation 产品:Development Kits 类型:FPGA 工具用于评估:5CEFA7F3 接口类型: 工作电源电压:
DK-SI-5SGXEA7N 功能描述:可编程逻辑 IC 开发工具 FPGA Starter Kit For Stratix V 5SGXEA7 RoHS:否 制造商:Altera Corporation 产品:Development Kits 类型:FPGA 工具用于评估:5CEFA7F3 接口类型: 工作电源电压:
DK-SL900A 制造商:ams 功能描述:Development kit for SL900A EPC Gen2 Sensory Tag IC
DK-SOC-10AS066S-A 功能描述:Arria 10 GX FPGA Evaluation Board 制造商:altera 系列:Arria 10 GX 零件状态:有效 类型:FPGA 配套使用产品/相关产品:Arria? 10 GX 内容:板 标准包装:1
DKSPS-001 制造商:Cooper Bussmann 功能描述:SMALL PARTITION PLATE DP25, DP35, DP45 A - Bulk 制造商:COOPER BUSSMANN 功能描述:SMALL PARTITION PLATE DP25, DP35, DP45 A