SoCKit User Manual
67
www.terasic.com
December 1, 2015
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
Project directory: SoCKit_IR
Bit stream used: SoCKit_IR.sof
Nios II Workspace: SoCKit_IR\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
Demo Batch File Folder: SoCKit_IR\demo_batch
The demo batch file includes the following files:
Batch File: SoCKit_IR.bat, SoCKit_IR_bashrc
FPGA Configure File : SoCKit_IR.sof
Nios II Program: SoCKit_IR.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
,
,
F
F
i
i
l
l
e
e
L
L
o
o
c
c
a
a
t
t
i
i
o
o
n
n
s
s
,
,
a
a
n
n
d
d
I
I
n
n
s
s
t
t
r
r
u
u
c
c
t
t
i
i
o
o
n
n
s
s
Make sure Quartus II and Nios II are installed on your PC.
Power on the SoCKit board.
Connect USB Blaster to the SoCKit board and install USB Blaster driver if necessary.
Execute the demo batch file “SoCKit _IR.bat” under the batch file folder, SoCKit _IR
\demo_batch.
After Nios II program is downloaded and executed successfully, a prompt message will be
displayed in nios2-terminal.
Point the IR receiver with the remote-controller and press any button
the information will be displayed
in nios2-terminal, shown in
Figure 5-13
.