53
Chapter 4
Flash Programming
s 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 chapter will describe how to use Altera Quartus II
Programmer Tool to program the common flash interface (CFI) flash memory device on
the FPGA board. The Arria X GX FPGA development board ships with the CFI flash
device preprogrammed with a default factory FPGA configuration for running the
Parallel Flash Loader design example.
4.1
CFI Flash Memory Map
Table 4-1
shows the default memory contents of two interlaced 1Gb (128MB) CFI flash
device. Each flash device has a 16-bit data bus and the two combined flash devices
allow for a 32-bit flash memory interface. For the factory default code to run correctly
and update designs in the user memory, this memory map must not be altered.
Table 4-1Flash Memory Map (Byte Address)
Block Description
Size(KB)
Address Range
PFL option bits
64
0x00030000
– 0x0003FFFF
Factory hardware
44,032
0x00040000
– 0x02B3FFFF
User hardware
44,032
0x02B40000
– 0x0563FFFF
Factory software
8,192
0x05640000
– 0x05E3FFFF
User software and data
165,632
0x05E40000
– 0x0FFFFFFF
For user application, user hardware must be stored with start address 0x02B40000, and
the user’s software is suggested to be stored with start address 0x05E40000. The NIOS
II EDS tool nios-2-flash-programmer is used for programming the flash. Before
programming, users need to translate their Quartus .sof and NIOS II .elf files into
the .flash which is used by the nios-2-flash-programmer. For .sof to .flash translation,
NIOS II EDS tool sof2flsh can be used. For the .elf to .flash translation, NIOS II EDS
A
Содержание TR10a-HL
Страница 1: ...1...
Страница 3: ...3...
Страница 71: ...71 Figure 5 14 Si5340A Demo Figure 5 15 Si5340B Demo...
Страница 82: ...82 Figure 6 3 Progress and Result Information for the QDRII Demonstration...
Страница 107: ...107...
Страница 111: ...111 Figure 8 5QSFP Transceiver Loopback Test in Progress Figure 8 6QSFP Transceiver Loopback Done...