Difference between revisions of "Connect to Serial Console from Windows"

From CDOT Wiki
Jump to: navigation, search
Line 20: Line 20:
 
* Windows executable was downloaded from [http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html Putty' website] (Section: A Windows installer for everything except PuTTYtel)
 
* Windows executable was downloaded from [http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html Putty' website] (Section: A Windows installer for everything except PuTTYtel)
 
* Setup was similar to [http://www.ehow.com/how_8733462_use-putty-serial-connection.html this] (saved as the default profile)
 
* Setup was similar to [http://www.ehow.com/how_8733462_use-putty-serial-connection.html this] (saved as the default profile)
 
 
==Invocation==
 
==Invocation==
 
+
* For Cygwin: Click on the cigwin icon and type <code>screen /dev/ttyS[X] 115200</code>  
* For Cygwin: Click on the cigwin icon and type <code>screen /dev/ttyS[X] 115200</code>
+
* For Putty: Click on the putty icon!

Revision as of 18:03, 8 August 2012

Connecting to a Linux device via USB-Serial Console from Windows

There are two ways to connect to a Linux device via usb-serial console from Windows:

  • Using Putty
  • Using Cygwin

Installation and Setup

Both setup requires the installation of the USB-to-Serial/Virtual COM Port (VCP) Driver in the Windows device.

Driver

  • Driver for the Windows device was downloaded from Future Technology Devices International Limited's website
  • Installation process was as easy as clicking the downloaded file
  • After the installation the USB-to-Serial adapter's usb part was connected to the Windows device and the serial part in the Linux device.
  • At this point the Windows issues a COM# (COM3 or COM4) to the adapter (usually at the lower left corner, in the Windows notification center)
  • Configuration was modified according to this.
  • Only difference from the above instruction was in #8, Bits per second (BPS) was set to 115200 instead of 9600.

Cygwin

  • Windows executable was downloaded from Cigwin's website
  • Cygwin setup was done by following this.
  • "Screen" was the additional package that was added beyond the default package set. (section 2.9 in the above link)

Putty

  • Windows executable was downloaded from Putty' website (Section: A Windows installer for everything except PuTTYtel)
  • Setup was similar to this (saved as the default profile)

Invocation

  • For Cygwin: Click on the cigwin icon and type screen /dev/ttyS[X] 115200
  • For Putty: Click on the putty icon!