Serial terminal/Linux/Programs

From PlugWiki

Jump to: navigation, search


Contents

putty

  • Install putty
    • On Debian and Debian-based distributions (such as Ubuntu) run the following command as root:
      apt-get install putty
  • Run putty
  • Choose 'serial' then configure serial line to e.g. '/dev/ttyUSB1' and speed to 115200

Image:Putty1.png

  • Click on 'serial' on the left side and choose to 'None' in flow control

Image:Putty2.png

  • Go back to 'Session' on the left side and choose a name for the session name ('ttyUSB1' for example), click 'save'
  • Open the session by choosing 'ttyUSB1' and click on 'Open'

Image:Putty3.png

  • Congratulations. You should get the U-Boot message.

Image:Putty4.png

NOTE: The first time configuration U-Boot will auto-boot, so if you are not fast enough reset the board (while keeping) it powered on, by inserting a needle in the small hole in the plug (don't close putty. just reset the plug).

Command line serial terminal programs

screen

Changes are you already used screen or that it's at least installed by default on your GNU/Linux system; it can connect to the serial line as well:

   screen /dev/ttyUSB1 115200

cu

cu is a simple command line program to "Call Up" other systems. In the command line environment of your choice, as root, first make uucp the owner of the Sheevaplug serial port and then run cu. For example:

   chown uucp /dev/ttyUSB1
   cu -s 115200 -l /dev/ttyUSB1

In order to escape from cu, type "<cr>~." (where <cr> is the enter key).

Personal tools