Non-Volatile Configuration
1
Intel-format HEXOUT files contain data that is not actually
written to the flash memory. The Write2Flash executable file
(provided in the <installation directory>/utilities/
Flash_Programmer directory) parses the HEXOUT file and
creates a file with the extension .hexout.flash that contains the
data to be written to flash memory. The designer can then send
this file serially to the board via an RS-232 cable and write it to
flash memory by the factory configuration as described in the
next section.
Factory & User Configurations
The configuration controller can manage four separate Stratix II device
configurations as HEXOUT data stored in flash memory: three user
designs and a factory design. On power-up, the configuration controller
reads one of the four (user or factory) designs from the flash memory and
programs the Stratix II device accordingly. The user can select which
design the Stratix II device is programmed with by setting the DIP
switches on SW2.
DIP switches 1 through 3 on SW2 select one of four possible Stratix II
configuration images upon power-up. When DIP switch 4 is in the
“OPEN” position the configuration controller is enabled. If DIP switch 4
is in the “OPEN” position and there are no valid user-defined images, the
Stratix II device is programmed with the factory configuration. Table 2
shows the DIP switch combinations used to select the available images.
See “Non-Volatile Configuration” on page 7 for more details.
1
An alternative method of configuring the device with the
factory design is to press push-button switch SW3.
Table 2. Configuration DIP Switch (SW2) Combinations
Image
Switch 1
Switch 2
Switch 3
Switch 4
User0
User1
User2
Factory
Closed
Open
Closed
Closed
Open
Closed
Closed
Closed
Open
Open
Open
Open
Open
Closed
Open
Open
1
Switch 4 must be set to “OPEN” to enable the configuration
controller.
f
To download a Quartus II-generated HEXOUT file to the flash memory
on the board, refer to the Nios II Flash Programmer User Guide included on
the DSP Development Kit, Stratix II Edition version 1.0.0 CD-ROM.
Altera Corporation
9
Preliminary