Serial Port Terminal Applications

Mac OS X

Windows

Putty works!

Linux

minicom

install minicom:

sudo apt-get install minicom

use minicom:

minicom -o -s

How it works:

  • -o do not try to initialize a modem first
  • -s to start in setting mode
  • Set minicom to 2400 or 9600 baud, 8N1.
  • Enter /dev/ttyS0 as the serial port to use.
  • type [Ctrl-A] followed by [Z] and press [X] to close minicom.

Set up minicom using the dfl configuration file:

put the following settings to the file ~/.minirc.dfl:

pr port             /dev/ttyS0
pu baudrate         9600
pu minit
pu mreset
pu mdialpre
pu mdialsuf
pu mdialpre2
pu mdialsuf2
pu mdialpre3
pu mdialsuf3
pu mhangup
pu mdialcan
pu hasdcd           No
pu rtscts           No

Now just call minicom and you will have your serial connection open as defined. Of course, you need write access to /dev/ttyS0 !!

CuteCom

Installation:

sudo apt-get install cutecom

Configure CuteCom to use /dev/ttyS0, 9600 bps, 8-n-1 and no handshaking signals for most devices. And set line end mode to CR/LF. ( http://techtooltip.files.wordpress.com/2008/09/cutecomsettingsannotations.jpg ) you can test your configuration by connecting the RX with the TX pin: what you enter will be echoed to the input…

GNU Screen

http://embeddedfreak.wordpress.com/2008/08/12/using-gnu-screen-to-debug-your-serial-port/

screen /dev/ttyUSB0 9600

To disable software flow control (cf. options section for tty connection window types of the screen man page):

screen /dev/ttyUSB0 9600,ixoff

View your serial port status (CTS/RTS/DTS/PE/RI..etc): [Ctrl] + [A] + [i]

Close the screen after you finish the debugging session [Ctrl] + [A] + [k]. If this doesn't work, then press [Ctrl] + [A], type :quit, and confirm with [Enter].

Comments