HAN Pilot Platform
Demonstration Manual
48
www.terasic.com
September 6, 2019
Demonstration Source Code
Build tool: SoC EDS V18.0
Project directory: \Demonstration\SoC\hps_gpio
Binary file: hps_gpio
Build command: make ('make clean' to remove all temporal files)
Execute command: ./hps_gpio
Demonstration Setup
1.
Connect a USB cable to the USB-to-UART connector (J27) on the HAN Pilot Platform and the
host PC.
2.
Copy the executable file "
hps_gpio
" into the microSD card under the
"/home/root
" folder in
Linux.
3.
Insert the booting micro SD card into the HAN Pilot Platform.
4.
Power on the HAN Pilot Platform.
5.
Launch Putty and establish connection to the UART port of Putty. Type "
root
" to login into
Linux.
6.
Type
"./hps_gpio
" in the UART terminal of Putty to start the program, as shown in
Figure 3-6 Start the Program
7.
HPS_LED will flash twice and users can control the user LED with push-button.
8.
Press HPS_KEY to light on and off the HPS_LED.
9.
Press "CTRL + C" to terminate the application.
3
3
.
.
2
2
S
S
e
e
t
t
u
u
p
p
U
U
S
S
B
B
W
W
i
i
-
-
F
F
i
i
D
D
o
o
n
n
g
g
l
l
e
e
This section describes how to setup the Wi-Fi USB dongle under Linux, so Linux user can
wirelessly connect to the Wi-Fi AP (Access Point) through the Wi-Fi USB Dongle and finally
connect to the internet. The Wi-Fi AP is assumed to have the DHCP server capability and is
connected to the internet. You should also make sure you know the SSID and Password of the Wi-Fi
AP.
Содержание HAN Pilot Platform
Страница 1: ......
Страница 92: ...HAN Pilot Platform Demonstration Manual 91 www terasic com September 6 2019...