Difference between revisions of "Minicom"

From ArmadeusWiki
Jump to: navigation, search
(Send file)
(Send file)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
[[Category: terminal]]
 +
 
Minicom is a serial line terminal emulator that allows you to take control of your board through the RS232 line. With it you can have access to the U-Boot/Linux console of your APF without needing to connect a keyboard/screen to the board. ([http://tldp.org/HOWTO/Remote-Serial-Console-HOWTO/ For more informations on remote console])
 
Minicom is a serial line terminal emulator that allows you to take control of your board through the RS232 line. With it you can have access to the U-Boot/Linux console of your APF without needing to connect a keyboard/screen to the board. ([http://tldp.org/HOWTO/Remote-Serial-Console-HOWTO/ For more informations on remote console])
  
Line 6: Line 8:
 
or use your system's graphical package manager.
 
or use your system's graphical package manager.
  
===On Fedora===
+
To avoid using ''sudo'' or ''root'', add your user (here ''mylogin'') in ''dialout'' group:
# rpm -q ???
+
<pre class="host">
 +
$ sudo adduser mylogin dialout
 +
</pre>
 +
then close and re-open your graphical session, to make group changes taken into account.
  
 
==Configuration==
 
==Configuration==
Line 29: Line 34:
 
== Send file ==
 
== Send file ==
  
When you are connected on apf running Linux:
+
See [[Serial_Transfer | Serial transfer]] page to know how to transfer file to linux with minicom.
 
+
* Open minicom menu
+
C-A + s
+
* Choose zmodem
+
* Select your file to download with space-key
+
* launch transfert with enter
+
  
 
== Usefull tips ==
 
== Usefull tips ==

Latest revision as of 15:28, 21 November 2018


Minicom is a serial line terminal emulator that allows you to take control of your board through the RS232 line. With it you can have access to the U-Boot/Linux console of your APF without needing to connect a keyboard/screen to the board. (For more informations on remote console)

Installation

On *Ubuntu / Debian

$ sudo apt-get install minicom

or use your system's graphical package manager.

To avoid using sudo or root, add your user (here mylogin) in dialout group:

$ sudo adduser mylogin dialout

then close and re-open your graphical session, to make group changes taken into account.

Configuration

$ minicom -s
  • Choose serial port name, parameters (8N1) and no hardware handshake
  • Save config as default

Usage

  • To launch it (-o to not send modem AT init sequence):
 $ minicom -o
  • To switch from terminal mode to command mode:
CTRL + a then z
  • To quit:
Switch in command mode
q

Send file

See Serial transfer page to know how to transfer file to linux with minicom.

Usefull tips

  • TBDL

Links