Restoring the max v cpld to the factory settings – Altera Stratix V Advanced Systems User Manual

Page 39

Advertising
background image

Appendix A: Programming the Flash Memory Device

A–3

Restoring the MAX V CPLD to the Factory Settings

February 2013

Altera Corporation

Stratix V Advanced Systems Development Kit

User Guide

The Quartus II programmer erases the flash memory device if you select the .pof of
the flash memory device before programming. To prevent the Quartus II Programmer
from erasing other sectors in the flash memory device, select only the pages, .hex data,
and option bits.

To program the CPLD and the flash memory devices separately, follow these steps:

1. Open the Quartus II Programmer window.

2. Click Auto Detect.

3. Highlight the row with the 5M2210 device, click Add File. The Add Programming

File Window

dialog box appears.

4. Add the targeted <install

dir>\kits\stratixVGX_5sgxea7nf45_as\examples\memory\flash\pfl_m5.pof,
and click OK.

5. Check the boxes under the Program/Configure column of the .pof.

6. Click Start to program the CPLD.

7. After the programming progress bar reaches 100%, click Auto Detect. The

programmer window shows a CFI_1Gb flash in the chain.

Alternatively, you can add the flash memory device to the programmer manually.
Right-click the CPLD pfl_m5.pof and click Attach Flash Device. In the Attach
Flash Device

dialog box, select the CFI_1Gb device.

8. Right-click the necessary flash memory device density and click Change File.

9. Select the .pof generated for the flash memory device. The .pof for the flash

memory device is attached to the .pof of the CPLD. The sv_as_dk_factory.pof is
the default file loaded to flash from the factory.

10. Check the boxes under the Program/Configure column for the added .pof and

click Start to program the flash memory devices.

Restoring the MAX V CPLD to the Factory Settings

This section describes how to restore the original factory contents to the MAX V
CPLD on the advanced systems board. Make sure you have the Nios II EDS installed,
and perform the following instructions:

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

“Factory Default

Switch and Jumper Settings” on page 4–2

.

2. Launch the Quartus II Programmer.

3. Click Auto Detect.

4. Click Add File and select <install

dir>\kits\stratixVGX_5sgxea7nf45_as\factory_recovery\max5.pof.

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

6. Click Start to download the selected configuration file to the MAX V CPLD.

Configuration is complete when the progress bar reaches 100%.

Advertising