Serial Connection

Serial Connection – Windows

Overview

This page will walk you through installing drivers and software necessary for serial connection in Windows.

Prerequisites

  1. FTDI drivers:

FTDI drivers come preinstalled on Linux systems and newer versions of the Windows. If your Windows does not support FTDI drivers, you will need to download them from here. If you get stuck, you can check out our step by step Installing FTDI drivers guide.

  1. PuTTY:

For Windows PC you will need PuTTY, although you can use PuTTY with Linux as well. Get it here. Instructions for connecting with PuTTY are listed below.

Connecting with PuTTY (Windows)

To connect with PuTTY, first we must connect the laptop to the board via micro USB cable. After that, we have to make sure the board was recognized. For that we go to Device Manager → Ports (COM & LPT) and, after we powered on the board, we will see a new COM port which we will need to note (COMnumber). In this example, the new COM port is COM9:

The next step is to run PuTTY and select Serial under Connection type. There we will input the COM port from the previous step (in our example COM9) and also set Speed to 115200):

and you should get access to the console:

Serial Connection – Linux

Overview

This page will walk you through installing necessary serial connection software for Linux. FTDI drivers needed for Windows come preinstalled with your Linux system.

First, we need to find out the correct USB to which our serial has connected to after we have plugged in the micro USB cable. We can do this using dmesg:

Here we can see that the serial converter connected to USB0 (ttyUSB0) USB number.

Connecting with tio

Use Ctrl+t q to exit tio.

Connecting with Minicom

Use Ctrl+a x to exit minicom.

Serial Connection – MacOSX

Overview

This page will walk you through installing drivers and software necessary for serial connection in MacOSX.

Prerequisites

First, download and install the FTDI VCP drivers Once you connect the cable, the kernel should load the usbserial module. Look for the device.

Connection

tio

Screen

OS X ships with screen by default. Open a terminal and type

ZTerm

You can also download ZTerm.

Video

https://youtu.be/Mz5rsSQ3Uew

Last updated