A. programming the flash memory device, Cfi flash memory map, Appendix a. programming the flash memory device – Altera Stratix IV E FPGA User Manual

Page 51

Advertising
background image

June 2011

Altera Corporation

Stratix IV E FPGA Development Kit User Guide

A. Programming the Flash Memory

Device

As you develop your own project using the Altera tools, you can program the flash
memory device so that your own design loads from flash memory into the FPGA on
power up. This appendix describes the preprogrammed contents of the common flash
interface (CFI) flash memory device on the Stratix IV E FPGA development board and
the Nios II EDS tools involved with reprogramming the user portions of the flash
memory device.

The Stratix IV E FPGA development board ships with the CFI flash device
preprogrammed with a default factory FPGA configuration for running the Board
Update Portal design example and a default user configuration for running the Board
Test System demonstration. There are several other factory software files written to
the CFI flash device to support the Board Update Portal. These software files were
created using the Nios II EDS, just as the hardware design was created using the
Quartus II software.

f

For more information about Altera development tools, refer to the

Design Software

page of the Altera website.

CFI Flash Memory Map

Table A–1

shows the default memory contents of the 512-Mb single-die CFI flash

device. For the Board Update Portal to run correctly and update designs in the user
memory, this memory map must not be altered.

c

Altera recommends that you do not overwrite the factory hardware and factory
software images unless you are an expert with the Altera tools. If you unintentionally
overwrite the factory hardware or factory software image, refer to

“Restoring the

Flash Device to the Factory Settings” on page A–4

.

Table A–1. Byte Address Flash Memory Map

Block Description

Size (KB)

Address Range

Unused

128

0x03FE.0000 - 0x03FF.FFFF

User software

11,699

0x034C.0000 - 0x03FD.FFFF

User hardware

21,627

0x0202.0000 - 0x034B.FFFF

Reserved

128

0x0200.0000 - 0x0201.FFFF

zipfs (html, web content)

5,898

0x01A6.0000 - 0x01FF.FFFF

Factory software

5,898

0x014C.0000 - 0x01A5.FFFF

Factory hardware

21,627

0x0002.0000 - 0x014B.FFFF

PFL option bits

32

0x0001.8000 - 0x0001.FFFF

Board information

32

0x0001.0000 - 0x0001.7FFF

Ethernet option bits

32

0x0000.8000 - 0x0000.FFFF

User design reset vector

32

0x0000.0000 - 0x0000.7FFF

Advertising