Appendix b. restoring the factory configuration, Introduction, Reprogramming the flash memory – Altera Nios Development Board User Manual

Page 49: Restoring the factory configuration 1, Appendix b, restoring the factory, Configuration

Advertising
background image

Altera Corporation

B–1

July 2005

Appendix B. Restoring the

Factory Configuration

Introduction

To restore the factory configuration, you must reprogram the flash
memory on the board, and you must reprogram the EPM7128AE
configuration controller device.

The files required for this operation are included in the Nios II
development kit’s <Nios II kit path>/examples/factory_recovery
directory.

Reprogramming
the Flash
Memory

To reprogram the flash memory on the development board, perform the
following steps:

1.

Open a Nios II SDK Shell by choosing Windows Start > Programs >
Altera > Nios II Development Kit

<installed version> > Nios II SDK

Shell

.

2.

From the examples directory, change to the factory_recovery
directory for your development kit.

cd factory_recovery/niosII_stratixII_2s60_ES

3.

Run the flash-restoration script:

./restore_my_flash

Follow the script's instructions.

Reprogramming
the EPM7128AE
Configuration
Controller
Device

If the configuration controller design was modified, you must also
reprogram the EMP7128AE device (U3). The EPM7128AE configuration
controller device also must be reprogrammed.

1.

Move the programming cable from J24 to J5, labeled “For U3”.

1

The orientation of J5 is opposite that of J24. When properly
connected to J5, the programming cable lies naturally across the
FPGA Config LEDs and the dual seven-segment display.

2.

Launch the Quartus II software, and open the Programmer window
(Tools menu).

Advertising