1. 安装
sudo apt install picocom
2. 连接
查看USB串口
ls /dev/ttyUSB*
结果:
/dev/ttyUSB0
连接:
picocom -b 115200 /dev/ttyUSB0
结果:
picocom v3.1
port is : /dev/ttyUSB0
flowcontrol : none
baudrate is : 115200
parity is : none
databits are : 8
stopbits are : 1
escape is : C-a
local echo is : no
noinit is : no
noreset is : no
hangup is : no
nolock is : no
send_cmd is : sz -vv
receive_cmd is : rz -vv -E
imap is :
omap is :
emap is : crcrlf,delbs,
logfile is : none
initstring : none
exit_after is : not set
exit is : no
Type [C-a] [C-h] to see available commands
Terminal ready
### 这里按下Enter回车会显示进入终端
root@topeet:~ #
3. 退出
按 Ctrl+A
然后按 Ctrl+x
退出picocom
:
Terminating...
Thanks for using picocom