Appendix A: Programming the Flash Memory Device
A–3
Programming Flash Memory Using the Board Update Portal
Programming Flash Memory Using the Board Update Portal
Once you have the necessary .flash files, you can use the Board Update Portal to
reprogram the flash memory. Refer to “Using the Board Update Portal to Update User
Designs” on page 5–2 for more information.
1
If you have generated a .sof that operates without a software design file, you can still
use the Board Update Portal to upload your design. In this case, leave the Software
File Name field blank.
Programming Flash Memory Using the Nios II EDS
The Nios II EDS offers a nios2-flash-programmer utility to program the flash memory
directly. To program the .flash files or any compatible S-Record File ( .srec ) to the
board using nios2-flash-programmer , perform the following steps:
1. Set the rotary switch (SW2) to the 0 position to load the Board Update Portal
design from flash memory on power up.
2. Attach the USB-Blaster cable and power up the board.
3. If the board has powered up and the LCD displays either "Connecting..." or a valid
IP address (such as 152.198.231.75), proceed to step 8. If no output appears on the
LCD is seen or if the CONF DONE LED (D5) does not illuminate, continue to step
4 to load the FPGA with a flash-writing design.
4. Launch the Quartus II Programmer to configure the FPGA with a .sof capable of
flash programming. Refer to “Configuring the FPGA Using the Quartus II
Programmer” on page 6–27 for more information.
5. Click Add File and select <install
dir> \kits\stratixIVGX_4sgx230_av\factory_recovery\s4gx230_av_bup.sof .
6. Turn on the Program/Configure option for the added file.
7. Click Start to download the selected configuration file to the FPGA. Configuration
is complete when the progress bar reaches 100%. The CONF DONE LED (D5) and
the eight lower user LEDs (D16-D23) illuminate indicating that the flash device is
ready for programming.
8. On the Windows Start menu, click All Programs > Altera > Nios II EDS > Nios II
Command Shell .
9. In the Nios II command shell, navigate to the <install
dir> \kits\stratixIVGX_4sgx230_av\factory_recovery directory (or to the
directory of the .flash files you created in “Creating Flash Files Using the Nios II
EDS” on page A–2 ) and type the following Nios II EDS command:
nios2-flash-programmer --base=0x08000000 <yourfile> _hw.flash r
10. After programming completes, if you have a software file to program, type the
following Nios II EDS command:
nios2-flash-programmer --base=0x0A000000 <yourfile> _sw.flash r
11. Set the rotary switch (SW2) to the 1 position and power cycle the board, or press
the CONFIGN button (S1) to load and run the user design.
Programming the board is now complete.
? November 2009
Altera Corporation
Audio Video Development Kit, Stratix IV GX Edition User Guide
相关PDF资料
DKUSB-1 KIT DEV FOR MB86065
DLD101-7 IC LED DRIVER HP CONST CURR 8DFN
DLP-2232H-PSOC5 MODULE PSOC5 USB ADAPTER FT2232H
DM163014 BOARD DEMO PICDEM4 12F629,16F630
DM163022-1 BOARD DEMO PIC16F87X PIC18FXX2
DM163030 KIT DEV PICDEM LCD2
DM163035 KIT DEVELOPMENT PICDEM LAB
DM164120-1 BOARD DEMO PICKIT 2 LP COUNT
相关代理商/技术参数
DKWF111 功能描述:WiFi/802.11开发工具 WF111 SDIO Eval kit RoHS:否 制造商:Roving Networks 产品:Evaluation Boards 工具用于评估:RN-171 支持协议:802.11 b/g 频率:2.4 GHz 接口类型:UART 工作电源电压:2 V to 16 V
DKWF121 功能描述:WiFi/802.11开发工具 WF121 Dev Kit RoHS:否 制造商:Roving Networks 产品:Evaluation Boards 工具用于评估:RN-171 支持协议:802.11 b/g 频率:2.4 GHz 接口类型:UART 工作电源电压:2 V to 16 V
DKWT32I 功能描述:BLUETOOTH DEVELOPMENT KIT 制造商:silicon labs 系列:- 零件状态:有效 类型:收发器; 传统蓝牙? 频率:2.4GHz 配套使用产品/相关产品:WT32i 所含物品:板 标准包装:1
DKXC5VADAPT-1 功能描述:DAC DK FPGA ADAPTER BOARD RoHS:是 类别:编程器,开发系统 >> 配件 系列:- 标准包装:1 系列:- 附件类型:适配器板 适用于相关产品:RCB230,RCB231,RCB212 配用:26790D-ND - RCB BREAKOUT BOARD RS232 CABLE
DKYRITRPDR2B30 制造商:OMRON AUTOMATION AND SAFETY 功能描述:TEXAS INSTRUMENTS V640RFID TAG
DKY-RI-TRP-DR2B-30 制造商:OMRON AUTOMATION AND SAFETY 功能描述:TEXAS INSTRUMENTS V640RFID TAG 制造商:Omron Electronic Components LLC 功能描述:TI V640RFID tag 制造商:OMRON INDUSTRIAL AUTOMATION 功能描述:Texas Instruments V640RFID tag
DK-Z7-VIDEO-CES-G 制造商:Xilinx 功能描述: 制造商:Xilinx 功能描述:ZYNQ-7000 VIDEO AND IMAGING KIT 制造商:Xilinx 功能描述:IMAGING / VIDEO KIT ZYNQ-7000 制造商:Xilinx 功能描述:IMAGING / VIDEO KIT, ZYNQ-7000
DK-Z7-VIDEO-CES-G-J 制造商:Xilinx 功能描述:ZYNQ-7000 VIDEO/IMAGE KIT JAPAN