Setting up Minicom in Ubuntu

Ubuntu下配置超级终端minicom 首先我们先要查看我们的系统中有没有minicom安装包,使用命令:dpkg -l |grep minicom(一般是有的只要你的网络源配置过)。 之后我们需要使用命令:sudo apt-get install minicom进行安装包,安装完成后需要进入minicom界面进行设置,在命令行输入:minicom -s 或者 sudo minicom命令进入,如果是用的sudo minicom命令 阅读详情

Minicom in Ubuntu

This explains how to configure Minicom, as an alternative to Minicom you may want to consider installing the 'Serial Port Terminal' program instead for a more GUI based terminal application.

  • First you should ensure that minicom is installed (it is not by default), open a terminal window and run minicom, if you get a message about it not existing than you need to install it. To install minicom run sudo apt-get install minicom or select it via System -> Administration -> Synaptic Package Manager.
host $ sudo apt-get install minicom
  • Once minicom is installed it will not be setup to talk properly to a board through the UART port, to change the configuration open up a terminal window and run sudo minicom -s at which point you will have to provide your root password and then you will see the minicom configuration utility.
host $ sudo minicom -s

having -s will prevent minicom from exiting abruptly if it encounter error upon invocation

  • Select serial port setup from the menu and press enter which will give you some options to change, type A to change the serial device, you likely want to set it to /dev/ttyS0 so it accesses your physical UART port though this may vary from PC to PC. You will also want to change any other settings appropriate for your board such as disabling hardware flow control, a typical setup for a Davinci/OMAP EVM should look like the following.
   +-----------------------------------------------------------------------+
   | A -    Serial Device      : /dev/ttyS0                                |
   | B - Lockfile Location     : /var/lock                                 |
   | C -   Callin Program      :                                           |
   | D -  Callout Program      :                                           |
   | E -    Bps/Par/Bits       : 115200 8N1                                |
   | F - Hardware Flow Control : No                                        |
   | G - Software Flow Control : No                                        |
   |                                                                       |
   |    Change which setting?                                              |
   +-----------------------------------------------------------------------+


In the configuration screen, there are two items that likely must be configured. The first one is the ‘Serial port setup’ and the second one is the ‘Modem and dialing’.

  • In the serial port setup, choose the right setting for the serial device. Press ‘A’ to navigate to the Serial Device setup, then edit the /dev/ttyXXX to reflect your current system setup. If you are using a USB-to-serial converter, your serial device probably /dev/ttyUSB0. Do a ‘lsusb’ and ‘dmesg | grep usb’ to find out.
  • Next, press ‘E’ to navigate to Bps/Par/Bits. This is the bit rate, parity and stop-bit setting, set it to 115200 8 N 1
  • Then, press ‘F’ and set the Hardware Flow Control to No and then press ‘G’ and set the Software Flow Control to No
  • The next thing to configure is the ‘Modem and dialing’ options. Basically, we don’t want Minicom to regard our serial device as ordinary modem device

Therefore, we have to clear all modem specific settings. To do so, from the serial port setup, press ‘Esc’ to go back to main Minicom setup screen and then choose ‘Modem and dialing’

  • In the Modem and Dialing setting, set everything to nothing, starting from option A (Init string) until I (connect string). This will remove unnecessary initialization code that will be sent to the modem when minicom starts.
  • Hit escape to exit from the serial port setup menu and you will be back at the base minicom setup menu, select save setup as dfl and hit enter to save the minicom settings as the defaults, than select exit and hit enter to start up minicom with the new settings
  • Now you should see anything that is coming in on the UART interface from your board. You should also be able to simply run minicom from a terminal window whenever you want to open the terminal with your board
host $ minicom

Q&A for Minicom

There are some situations you may met in using minicom:

  • Q: Why is error message "Device /dev/ttyUSB0 is locked." shown when executed 'minicom'?

A: It usually occurred by last abnormal colse of minicom. You can fix it by:

#rm /var/lock/LOCK..ttyUSB0
  • Q: Why still show mess message by the above recommended settings totally?

A: Maybe you need to restart mincom program, even reboot the system to avoid those strange situations.

  • Q: Is there another serial terminal utility easier than minicom?

A: Yes, picocom is the alternative tool.

# apt-get install picocom
# picocom /dev/ttyUSB0 -b 115200 -l
(Exit picocom: Ctrl+a, then Ctrl+x)
【工具类】minicom 简单使用 挂载设备目录 加载新设备 save as 使用 阅读详情

相关推荐

Ubuntu下高效串口调试:Minicom与Kermit的配置与实战技巧

本文详细介绍了在Ubuntu系统下使用Minicom和Kermit进行高效串口调试的配置与实战技巧。通过对比分析两款工具的特点,提供从基础安装到高级配置的完整指南,包括权限设置、波特率匹配和连接稳定性优化等常见问题解决方案,帮助开发者提升嵌入式开发和硬件调试效率。

weixin_30338481的博客 386

ubuntu服务器设置_Ubuntu服务器设置–安全最佳实践

ubuntu服务器设置Upon successful installation of your Debian / Ubuntu server, a few configuration steps are essential in enhancing the security and functionality of the server. In this guide, we will take y...

从零开始的教程世界 1393

win7(x64) + VMware8(Ubuntu10.04) minicom 设置 问题解决

记录一下 环境:win7(x64) + VMware8(Ubuntu10.04) 板子:Tiny6410   A — Serial Device : /dev/ttyUSB0   B — lockfile Location : /var/lock   C — Calling Program :   D — Callout Program:   E — Bps/par/Bits

tonicus的专栏 1113

msys2下编译minicom-2.7.1

1、 安装依赖的软件和库 pacman -S gcc autoconf automake make ncurses-devel libiconv-devel 2、获取源码   wget https://fossies.org/linux/misc/minicom-2.7.1.tar.gz   tar xvf minicom-2.7.1.tar.gz   cd minicom-2.7.1 3、打补丁 替换minicom.h和minicom.c文件 4、配置,编译,安装 ./configure --

weijun23的专栏 869

minicom-for-msys2

minicom-for-msys2

Maya绑定:人物绑定详细案例(创建骨骼、镜像骨骼、IK创建、IK打组、IK控制器、FK控制器、烘焙动画、导出)

Maya绑定:人物绑定详细案例(创建骨骼、镜像骨骼、IK创建、IK打组、IK控制器、FK控制器、烘焙动画、导出)

m0_45877477的博客 1633

【minicom】minicom的配置和使用

【minicom】minicom的配置和使用

静谧、淡雅 5899

单细胞专题(1) | 单细胞转录组研究样本准备指南(上)

单细胞RNA测序(scRNA-seq)是目前最前沿,能进行大规模实验的转录组研究技术,为理解细胞组成和动态生物学过程提供了很多新的见解。单细胞研究已经为我们理解发育过程,老化和疾病(如癌症)等提供了大量数据。在这里,小编主要就前期的样本准备与保存需注意问题给大家进行讲解,以备大家在不同的研究场景和研究背景下,走好单细胞转录组学研究的第一步。

bioyigene的博客 4230

如何安装和配置Minicom

如何安装和配置Minicom       有些测试必须在Linux环境下进行,通过虚拟机安装Linux-Ubuntu环境,如果没有可以在Linux环境打印串口信息的工具,将非常不便。Linux下的Minicom是和windows的SecureCRT类似的终端工具,用于显示串口打印信息。Linux兼容串口HUB的驱动,所以要在Linux下进行串口打印只需安装并配置好Minicom即可。以下是Mi

subsist的专栏 4118

C++版Cesium实战:从OpenGL到3DTiles的全流程开发指南

本文提供了一份C++版Cesium全流程开发指南,详细阐述了如何利用OpenGL和Qt从零构建高性能、可离线部署的三维GIS应用。内容涵盖开发环境搭建、OpenGL渲染引擎初始化、Cesium核心坐标系与场景管理移植,并重点解析了3DTiles数据的解析、异步加载与渲染优化等硬核实战技术,旨在帮助开发者实现与现有C++工业软件的深度集成。

weixin_28077113的博客 164

Centos7网络配置(设置固定ip)

刚安装完系统,有的人尤其没有勾选自动网络配置的情况下,是访问不了外网的,本机也连不通虚拟机。或者现在有的是动态ip,几次之后启动ip地址就变了,会导致其他软件或程序之前连接配置要重新更改,很麻烦,下面讲解一下如何配置网络,如何设置成固定ip。

个人笔记git:https://gitee.com/tlangp/note.git 8054

minicom安装、配置和使用

在开发过程中,我们经常需要通过串口连接Android开发板的底层系统(Linux、QNX)等,minicom是一个常用串口连接终端软件,在命令行终端下通过文本界面进行操作使用。

yinminsumeng的博客 1万+

Python实战:用MOOTDX库轻松抓取股票分时数据并绘制专业图表(附完整代码)

本文详细介绍了如何使用Python的MOOTDX库获取股票分时数据,并通过Pandas进行数据清洗与VWAP计算,最后利用Matplotlib绘制包含价格线、均线和成交量的专业分时图。文章提供了从环境搭建、数据获取到可视化呈现的完整代码,帮助读者快速构建本地化的股票分时数据分析工具。

weixin_29041195的博客 473

Ubuntu 安装配置minicom

Ubuntu 安装配置minicom 1 . 安装 Minicom 用新立得软件管理器下载minicom 2.配置Minicom shell下输入 minicom -s 打开配置界面 进入Serial port setup Next step: 进入串口配置 输入A配置串口驱动为

Jason Leaster | Rebuilding the tower of babel 1675

18、基于FSDD数据集的深度学习案例分析

本文基于FSDD(Free Spoken Digit Dataset)数据集,系统介绍了深度学习在语音数字识别中的应用。内容涵盖动态与静态计算图的对比、数据预处理流程(包括数据增强、固定长度处理和归一化)、监督学习与无监督学习的模型构建与训练过程,并通过实验对比了不同网络架构的性能。文中使用PyTorch实现2层全连接网络和自编码器模型,展示了正则化技术对提升模型准确率的关键作用。最后总结了关键技术并提出了实际应用建议,展望了未来在复杂模型、多模态融合和实时应用方向的发展潜力。

vscode6remote的博客 260

rk3576 点亮 LCD(eDP)

RK3576 处理器集成了对 **eDP (Embedded DisplayPort)** 接口的支持,主要用于驱动嵌入式或笔记本电脑的内置屏幕。支持 **eDP 1.3 版本协议**, 最大可支持 ****4K@120Hz**。

weixin_35723192的博客 354

UBUNTU 下的MINICOM的设置和使用

在嵌入式系统的开发中,mincom 主要用来实现目标板linux系统和PC之间的通信,以及打印调试信息,所以,它在嵌入式领域是一个非常重要的软件工具。 这里简单介绍一下如何在ubuntu中安装和设置minicom: 1.我使用的是ubuntu12.05的版本,由于在默认的情况下ubuntu是没有安装minicom这个软件的,因此,进入终端后我们首先必须安装它。 root@ubuntu:~

liangyuqiu的专栏 1311

Arch Linux 命令大全,值得收藏!

Arch Linux 是一款轻量级、高度可定制的 Linux 发行版,以其简洁和强大的特性深受高级用户喜爱。但对于新手来说,完全掌握 Arch Linux 的操作需要时间和实践。本文将为您详细介绍常用的 Arch Linux 命令,涵盖系统管理、文件操作、用户管理、软件安装与管理、网络配置和磁盘管理等内容,帮助您更高效地使用 Arch Linux。

网络技术联盟站 973

ubuntn下串口工具minicom ,kermit的使用

     串口是嵌入式开发使用最多的通信方式,linux系统提供了一个串口工具minicom,可以完成复杂的串口通信工作。 Ubuntu下也有这样的串口通信工具,比如Minicom,kermit。minicom比较通用,kermit比较好用。    1.minicom。    安装suodo apt-get install minicom  Minicom的使用 1. 启动minicom  以ro...

暗夜 3601

汉书HE8,好用的汇编代码编写工具

汉书HE8,好用的汇编代码编写工具早期编写汇编代码所用功能强大

蓝牙模块HM-10手册

蓝牙模块HM-10手册,该手册对蓝牙模块HM-10进行了详细的介绍和使用方法以及一些AT指令。

Ubuntu1204和Ubuntu1010安装minicom

虚拟机VMware8.0.3 Linux版本 Ubuntu1204 和Ubuntu1010 更新软件源 yijun@ubuntu:~$ sudo apt-get update 安装minicom yijun@ubuntu:~$ sudo apt-get install minicom Reading package lists... Done Building de

chenyijun的专栏 1036

IEM模型,地表粗糙度模拟

利用微波反演土壤水分时候,利用IEM模型可以实现对随机地表的模拟

linux下USB转串口的应用和minicom的设置(ubuntu)

<br />我的USB串口转换器使用的芯片是PL2303,可以在Linux终端输入lsusb命令查到设备信息<br /><br /> # lsusb<br /> [root@localhost ~]#  lsusb<br /> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br /> Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br />

zc_021222的专栏 2505

Probability and Statistics - 4th edition

Probability and Statistics - 4th edition

Ubuntu下的minicom安装配置

#################### minicom 安装使用 ###################### 安装: sudo apt-get install minicom 配置: step 1:sudo minicom -s ##配置选项 step 2:serial port setup --Serial Device /dev/ttyUSB* 设

jscese 1978

Ubuntu 安装和配置minicom

Ubuntu 安装和配置minicom 1 . 安装 Minicom 用新立得软件管理器下载minicom 2.配置Minicom shell下输入 minicom -s 打开配置界面 进入Serial port setup Next step: 进入串口配置 ...

weixin_30466421的博客 104
上一篇: Ubuntu中文输入法和忘记密码之后登陆的方法
下一篇: 两年前实习时的文档——Platform学习总结
野-百-合
博客等级 码龄17年 308粉丝 118原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值