Setting Up Minicom

From RidgeRun Developer Connection
Jump to: navigation, search

If not installed use the following command:

sudo apt-get install minicom
  • In a terminal run the following command:
sudo minicom -s

to enter the setup mode.

  • Go to the Serial port setup section and you will see a screen like the following:
    +-----------------------------------------------------------------------+
    | A -    Serial Device      : /dev/tty0                                 |
    | B - Lockfile Location     : /var/lock                                 |
    | C -   Callin Program      :                                           |
    | D -  Callout Program      :                                           |
    | E -    Bps/Par/Bits       : 115200 8N1                                |
    | F - Hardware Flow Control : Yes                                       |
    | G - Software Flow Control : No                                        |
    |                                                                       |
    |    Change which setting?                                              |
    +-----------------------------------------------------------------------+
  • Select the correct serial port (tty0 by default) by selecting option A. After modify it press enter twice.

Note: If you are using a USB to serial adapter use ttyUSB0 instead of tty0.

  • Go to the Save setup as dfl section and press enter to save the current configuration, the select exit.
  • To close minicom type Ctrl+A Q.