MAX 10 NEEK
107
www.terasic.com
February 4, 2016
Avalon-MM interface:
Asserts RU_nCONFIG to trigger reconfiguration.
Asserts RU_nRSTIMER to reset watchdog timer if the watchdog timer is enabled.
Writes configuration setting to the input register of the remote system upgrade circuitry.
Reads information from the remote system upgrade circuitry.
The onchip flash is divided into three parts for this demonstration. CMF0 is used to store image0
which is the hardware of the application selector code, and CMF1 is used to store image1 which is
the hardware of the application being selected. The UFM zone is not used in this project and user
can use it as a non-volatile flash if necessary. The software code for the image0 is stored in the
QSPI flash memory offset 0x3c00000 address. In addition, the software code for the image1 is
stored in the QSPI flash memory offset 0x00. The Nios II processor loads the software from the
QSPI flash after powering-up, so the reset vector of the CPU is set to the QSPI flash offset
0x3c00000 address.
7
7
.
.
3
3
R
R
u
u
n
n
n
n
i
i
n
n
g
g
t
t
h
h
e
e
A
A
p
p
p
p
l
l
i
i
c
c
a
a
t
t
i
i
o
o
n
n
S
S
e
e
l
l
e
e
c
c
t
t
o
o
r
r
Connect power to the MAX 10 NEEK
Insert the micro SD card with applications into the micro SD Card socket of MAX 10 NEEK
Make sure the CONFIG_SEL switch is set to 0 and Switch on the power (SW18) (1*)
Scroll to select the demonstration to load using the side-bar
Tap on the Load button to load and run a demonstration (2*)
Note:
(1)If the board is already powered, the application selector will boot from QPSI flash, and a
splash screen will appear while the application selector searches for applications on the SD Card.
(2)The application will begin loading, and a window will be displayed showing the progress.
Loading will take about 1 minute according to size of the binary files.
7
7
.
.
4
4
C
C
r
r
e
e
a
a
t
t
i
i
n
n
g
g
Y
Y
o
o
u
u
r
r
O
O
w
w
n
n
L
L
o
o
a
a
d
d
a
a
b
b
l
l
e
e
A
A
p
p
p
p
l
l
i
i
c
c
a
a
t
t
i
i
o
o
n
n
s
s
It is available to convert your own design into an application which is loadable by the Application
Selector utility. All you need is a program object image (a .POF file) which contains the hardware
and a software image which runs on that hardware (a Nios II .ELF file).
The critical steps are:
The hardware design must contain a dual configuration IP in the Qsys design. (
1
*)
IF the sof contains a Nios II processor. The hardware design must contain an Altera QSPI Flash
controller as shown in
Figure 7-3
.