TR5-Lite User Manual
51
June 20, 2018
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 tool
elf2flash
can be used. For convenience, the
System CD contains a batch file for file translation and flash programming with users given .sof
and .elf file.
4
4
.
.
2
2
F
F
P
P
G
G
A
A
C
C
o
o
n
n
f
f
i
i
g
g
u
u
r
r
e
e
O
O
p
p
e
e
r
r
a
a
t
t
i
i
o
o
n
n
Here is the procedure to enable FPGA configuration from Flash:
1.
Please make sure the FPGA configuration data has been stored in the CFI flash.
2.
Set the FPGA configuration mode to FPPx32 mode by setting SW5 MSEL[0:4] as 00010
3.
Specify the configuration of the FPGA using the default Factory Configuration or User
Configuration by setting SW1 according to Table
4.
Power on the TR5-Lite board or press MAX_RST button if board is already powered on
5.
When configuration is completed, the green Configure Done LED will light. If there is error,
the red Configure Error LED will light.
4
4
.
.
3
3
F
F
l
l
a
a
s
s
h
h
P
P
r
r
o
o
g
g
r
r
a
a
m
m
m
m
i
i
n
n
g
g
w
w
i
i
t
t
h
h
U
U
s
s
e
e
r
r
s
s
D
D
e
e
s
s
i
i
g
g
n
n
Users can program the flash memory device so that users’ own design loads from flash memory into
the FPGA on power up. For convenience, the translation and programming batch files are available
on the Demonstrations/TR5_Lite_Hello/flash_programming_batch folder in the System CD. There
folder contains five files as shown in
Table 4-2
Flash Memory Map (Byte Address)
Files Name
Description
TR5_LITE_PFL.sof
Parallel Flash Loader Design
flash_program_ub2.bat
Top batch file to download TR5_LITE_PFL.sof and
launch batch flash_program_bashrc_ub2
flash_program_bashrc_ub2
Translate .sof and .elf into .flash and programming
flash with the generated .flash file
TR5_LITE_golden_top.sof
Hardware design file for Hello Demo
Содержание TR-5 Lite FPGA
Страница 1: ...TR5 Lite User Manual 1 www terasic com June 20 2018...
Страница 71: ...TR5 Lite User Manual 71 www terasic com June 20 2018 Figure 5 9 CDCM 61004 Demo Figure 5 10 Si570 Demo...
Страница 85: ...TR5 Lite User Manual 85 www terasic com June 20 2018 Figure 7 5 Transceiver Loopback Test in Progress...