Minicom is a software for serial communication in Linux. Its use relies entirely on the keyboard. Although it is not as easy as a "Super Terminal, however, readers will learn about its efficiency and convenience after getting used to it. The following describes how to install and configure minicom.
Installation:
Sudoapt-getinstallminicom
Configuration:
Before using minicom, you must first ensure that you have the read/write permission on the serial port. we know that Linux devices correspond to a file in the/dev/directory. the serial port COM1 corresponds to ttys0 and com2 corresponds to ttys1. Use this command to check your permissions on com1:
$ LS-L/dev/ttys0
CrW-RW ---- 1rootdialout4, 642006-05-0406: 52/dev/ttys0
As you can see, its owner is root.
For example, to configure a Super Terminal in Windows, you must configure the serial port before using minicom.
1. run $ sudominicom
2. Press ctrl a first, open it, and then press o to display the configuration menu.
3. Select serialportsetup. In "changewhichsetting", type "A", and move the cursor to the corresponding position of item A: ttys0 for serial port COM1 and ttys1for com2. (select)
Pair
Configure the baud rate, data bit, and stop bit, type "E", and set the baud rate to 1152008n1 (No parity check, stop bit 1). For hard/software traffic control, type "F", "g", and select both
No. After confirming that the configuration is correct, you can press enter to return to the upper-level configuration page and save it as the default configuration. (Savesetupasdfl), and then restart minicom.
Effective. After connecting to the serial port of the Development Board, you can print the correct serial port information in minicom.