Restoring the flash device to the factory settings, Fer to, Restoring the – Altera Stratix IV E FPGA User Manual

Page 54

Advertising
background image

A–4

Chapter :

Restoring the Flash Device to the Factory Settings

Stratix IV E FPGA Development Kit User Guide

June 2011

Altera Corporation

f

For more information, refer to the Board Revision History appendix of the

Stratix IV E FPGA Development Board Reference Manual

.

11. Set the PGM CONFIG SELECT rotary switch (SW5) to the 1 position and power

cycle the board, or press the RESET CONFIGn button (S1) to load and run the user
hardware design.

Programming the board is now complete.

f

For more information about the nios2-flash-programmer utility, refer to the

Nios II

Flash Programmer User Guide

.

Restoring the Flash Device to the Factory Settings

This section describes how to restore the original factory contents to the flash memory
device on the FPGA development board. Make sure you have the Nios II EDS
installed, and perform the following instructions:

1

For boards with dual-die CFI flash devices, use <install
dir>
\kits\stratixIVE_4se530_fpga\factory_recovery\dual_die_flash directory. For
more information, refer to the Board Revision History appendix of the

Stratix IV E

FPGA Development Board Reference Manual

.

1. Set the board switches to the factory default settings described in

“Factory Default

Switch Settings” on page 4–2

.

2. 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–24

for more information.

3. Click Add File and select <install

dir>\kits\stratixIVE_4se530_fpga\factory_recovery\s4e530_fpga_bup.sof.

4. Turn on the Program/Configure option for the added file.

5. Click Start to download the selected configuration file to the FPGA. Configuration

is complete when the progress bar reaches 100%. The CONF DONE LED (D22)
and the eight user LEDs (D23-D30) illuminate indicating that the flash device is
ready for programming.

6. On the Windows Start menu, click All Programs > Altera > Nios II EDS > Nios II

Command Shell

.

7. In the Nios II command shell, navigate to the <install

dir>\kits\stratixIVE_4se530_fpga\factory_recovery directory and type the
following command to run the restore script:

./restore.sh

r

Restoring the flash memory might take several minutes. Follow any instructions
that appear in the Nios II command shell.

8. After all flash programming completes, cycle the POWER switch (SW3) off then

on.

9. Using the Quartus II Programmer, click Add File and select <install

dir>\kits\stratixIVE_4se530_fpga\factory_recovery\s4e530_fpga_bup.sof.

Advertising