May 2013 Altera Corporation Cyclone V SoC Development Kit
User Guide
A. Programming Flash Memory
As you develop your own FPGA hardware 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 on the development board. It also
describes the tools you can use to reprogram the user portions of flash memory.
The Cyclone V SoC development board ships with the flash memory preprogrammed
with the Golden Hardware Reference Design (GHRD), which is the FPGA-side of the
Golden System Reference Design (GSRD). The flash memory is programmed to
ensure that the GSRD boots and operates correctly. The Board Update Portal web
server also depends on the GSRD to boot and run successfully for it to operate.
1 There are several other factory software files written to flash memory 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
CFI Flash Memory Map
Table A–1 shows the default memory contents of the 512-Mb 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 images unless
you are an expert with Altera tools. If you unintentionally overwrite the factory
hardware or factory software image, refer to “Restoring the CFI Flash Device to the
Factory Defaults” on page A–3.
Table A–1. Byte Address Flash Memory Map
Block Description KB Size Address Range
Unused 44711 0x0145.635C - 03FF.FFFF
User hardware 2 6872 0x00DA.0000 - 0145.635B
User hardware 1 6872 0x006E.0000 - 00D9.635B
Factory hardware (GHRD) 6872 0x0002.0000 - 006D.635B
PFL option bits 32 0x0001.8000 - 0001.8080
Reset vector 96 0x0000.0000 - 001.7FFF