T-Core
User Manual
33
January 14, 2020
•
Nios II Eclipse v18.1
◼
◼
D
D
e
e
m
m
o
o
n
n
s
s
t
t
r
r
a
a
t
t
i
i
o
o
n
n
S
S
o
o
u
u
r
r
c
c
e
e
C
C
o
o
d
d
e
e
•
Quartus project directory: \RGBLED_ NIOS_EXT
•
Nios II Eclipse directory: \ RGBLED_ NIOS_EXT\software
◼
◼
D
D
e
e
m
m
o
o
n
n
s
s
t
t
r
r
a
a
t
t
i
i
o
o
n
n
B
B
a
a
t
t
c
c
h
h
F
F
i
i
l
l
e
e
•
The files are located in the director: \ RGBLED_ NIOS_EXT\demo_batch
•
The folder includes the following files:
•
Batch file for USB-Blaster: test.bat and test.sh
•
FPGA configuration file: T_CORE.sof
•
Nios II program: WS2812_Test.elf
◼
◼
D
D
e
e
m
m
o
o
n
n
s
s
t
t
r
r
a
a
t
t
i
i
o
o
n
n
S
S
e
e
t
t
u
u
p
p
•
Quartus Prime v18.1 and Nios II v18.1 must be pre-installed on the host PC.
•
, connect the external RGB LED strip to the JP3 or JP4 port of T-Core
board, the pin marked with red box is connected to VCC, the pin marked with green box is
connected to the signal, the pin marked with yellow box is connected to GND.
•
Connect the T-Core board to the host PC with a USB cable and install the USB-Blaster driver if
necessary.
•
Execute the demo batch file “test.bat” from the directory \RGBLED_ NIOS_EXT\demo_batch
•
After the program is downloaded and executed successfully, a prompt message will be
displayed in nios2-terminal.
•
The color of external RGB LED strip will change in turn.