45
TR10a-LPQ User Manual
December
10,
2018
Figure 3-4 General Setting in PFL II IP
Figure 3-5 Flash Interface Setting in PFL II IP
3.5
Flash_Factory Example
The
Flash_Factory
is designed to show how to create a Nios II code which is booted
from the Factory Software location in the CFI Flash when the board is powered on. This
project’s FPGA configuration data and Nios II code are stored in the Factory Hard area
and Factory Software area of the CFI Flash when the FPGA board is shipped.
To develop this kind of boot code, first, developers need to include the Tri-State Conduit
Bridge and the Generic Tri-State Controller in the
Platform Designer
(formerly Qsys)
to implement the flash controller function, and connect the Nios II processor’s data bus
and instruction bus to the flash controller as shown in
. Then, specify the
Factory Software Location
0x05640000
as Reset Vector in the Nios II Processor
component as shown in
. Finally, developers need to uncheck the
allow_code_at_reset
and
enable_alt_load
options in the BSP editor under of Nios II
IDE tool (Nios II Software Builder Tools for Eclipse) as shown in