Fpga programming from flash memory –13 – Altera Cyclone III LS FPGA Development Board User Manual

Page 21

Advertising
background image

Chapter 2: Board Components

2–13

Configuration, Status, and Setup Elements

© October 2009 Altera Corporation

Cyclone III LS FPGA Development Board Reference Manual

Flash Memory Programming

Flash memory programming is possible through a variety of methods using the
Cyclone III LS device.

The default method is to use the factory design called the Board Update Portal. This
design is an embedded webserver, which serves the Board Update Portal web page.
The web page allows you to select new FPGA designs including hardware, software,
or both in an industry-standard S-Record File (.flash) and write the design to the user
hardware page (page 1) of the flash memory over the network.

The secondary method is to use the pre-built parallel flash loader (PFL) design
included in the development kit. The development board implements the Altera PFL
megafunction for flash memory programming. The PFL megafunction is a block of
logic that is programmed into an Altera programmable logic device (FPGA or CPLD).
The PFL functions as a utility for writing to a compatible flash memory device. This
pre-built design contains the PFL megafunction that allows you to write either page 0,
page 1, or other areas of flash memory over the USB interface using the Quartus II
software. This method is used to restore the development board to its factory default
settings.

Other methods to program the flash memory can be used as well, including the
Nios

®

II processor.

f

For more information on the Nios II processor, refer to the

Nios II Processor

page of

the Altera website (

www.altera.com

).

FPGA Programming from Flash Memory

On either power-up or by pressing the PGM configure push-button switch (S8), the
MAX

II CPLD EPM2210 System Controller's PFL configures the FPGA from the flash

memory hardware page 0 or 1 based on whether PGM_LED0 or PGM_LED1 is
illuminated.

Table 2–8

defines the hardware page that loads when the PGM configure

push-button switch (S8) is pressed. The PFL megafunction reads 16-bit data from the
flash memory and converts it to passive serial (PS) format. This 1-bit data is then
written to the FPGA's dedicated configuration pins during configuration.

Advertising