Setting up terminal connection in windows, Setting up terminal connection in windows -8 – Altera SDK for OpenCL Cyclone V SoC User Manual
Page 17

Setting Up Terminal Connection in Windows
To set up the terminal connection for the Cyclone V SoC Development Kit in Windows, specify the USB
virtual COM port settings.
1. Connect the board to your development machine via the micro-USB port that is closest to the power
supply connector on the board.
2. Connect the board to the power supply and power it up.
3. Download the Virtual COM port (VCP) driver from the
Technology Devices International (FTDI) Ltd. website.
4. Determine the COM port in use.
a. From the Windows Start menu, click Control Panel > Hardware and Sound.
b. Under Devices and Printers, click Device Manager.
c. In the Device Manager window, under Ports, click USB Serial Port (COM
5. Connect either the Tera Term or PuTTY open-source terminal emulator to the COM port that the
FDTI driver creates.
6. Set the port settings to 115200, 8N1, with parity and control flow set to none.
7. For Tera Term, select Setup > Terminal, and then change Code Page to 1250.
8. Without powering down, restart the board.
Setting Environment Variables and Loading OpenCL Linux Kernel Driver
After you turn on the board and establish terminal connection, log into the Cyclone V SoC Development
Kit as user
root
with no password. Then, before you run your host application, set the environment
variables and load the OpenCL Linux kernel driver.
1. After logging into the SoC board, run the
source ./init_opencl.sh
command, which
performs the following tasks:
a. Set the PATH, LD_LIBRARY_PATH, and AOCL_BOARD_PACKAGE_ROOT environment
variables.
b. Load the OpenCL Linux kernel driver.
2-8
Setting Up Terminal Connection in Windows
OCL006-15.0.0
2015.05.04
Altera Corporation
Setting Up the Altera SDK for OpenCL, SoC EDS, and the Cyclone V SoC Development Kit for Windows