
Appendix A. Restoring the
Factory Configuration
Introduction
Reprogramming
the Flash
To restore the factory configuration, you must reprogram the flash
memory on the board, and you must Nios Development Board Cyclone II
Edition the EPM7256AE configuration controller device.
Nios II Embedded Design Suite provides the files required for this
operation in the directory < Nios II EDS install path >/ examples
/factory_recovery .
To reprogram the flash memory on the development board, perform the
following steps:
Memory
1.
2.
3.
4.
Open a Nios II command shell.
On a Windows PC, click Windows Start, point to Programs, Altera,
Nios II EDS < installed version >, and then click Nios II Command
Shell .
From the examples directory, change to the factory_recovery
directory for your development kit.
cd factory_recovery/niosII_cycloneII_2c35
Run the flash-restoration script:
./restore_my_flash
Follow the script's instructions.
Reprogramming
the EPM7256AE
If the configuration controller design was modified, you must also
reprogram the EMP7256AE device (U3). To reprogram the EMP7256AE
configuration controller, perform the following steps:
Configuration
Controller
1.
Move the programming cable from J24 to J5, labeled “For U3”.
Device
Altera Corporation
May 2007
1
The orientation of J5 is opposite that of J24. When properly
connected to J5, the programming cable lies naturally over
the clock oscillator and the dual seven-segment display.
A–1