Altera Transceiver Signal Integrity User Manual

Page 31

Advertising
background image

Appendix A: Programming the Flash Device

A–5

Restoring the Factory Design to the Flash Device

December 2011

Altera Corporation

Transceiver Signal Integrity Development Kit,

Stratix IV GX Edition User Guide

6. On the Windows Start Menu, go to All Programs> altera> Nios II EDS> Nios II

Command Shell

.

7. In the Nios II Command Shell, navigate to the <install

dir>\kits\stratixIVGX_4sgx230_si\factory_recovery directory and type the
following Nios II EDS commands:

nios2-flash-programmer --base=0x08000000 restore_0_s4gx230_si_bup.flash

r

1

For boards with dual-die CFI flash devices, use --base=0x0A000000. For
more information, refer to the Board Revision History appendix of the

Transceiver Signal Integrity Development Kit, Stratix IV GX Edition Reference
Manual

.

8. After all flash programming completes, cycle POWER switch SW1 OFF then ON

again.

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

<install
dir
>\kits\stratixIVGX_4sgx230_si\factory_recovery\s4gx230_si_bup.sof.

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

11. Click Start to download the selected configuration file to FPGA. The FPGA is

configured when the progress bar reaches 100%, after which the user LEDs flash
repeatedly on and off indicating that the flash device is now restored to factory
condition.

12. Cycle POWER switch SW1 OFF then ON to load and run the restored factory

design.

13. The restore script cannot restore the board’s MAC address automatically. In the

Nios II command shell, type the following Nios II EDS command:

nios2-terminal

r

and follow the instructions in the terminal window to generate a unique MAC
address.

f

To ensure that you have the most up-to-date factory restore files and information
about this product, go to the Altera website at

www.altera.com/products/devkits/kit-dev_platforms.jsp

.

Advertising