1. minicom
sudo minicom -s // 设置, 如ZYX Modem 传输目录, baudrate, 设备节点,奇偶校验, 流控等
ctrl-A 进入转义模式, 再按z 进入帮助界面
CTRL-A Z for help | 115200 8N1 | NOR | Minicom 2.7.1 | VT102 | Offline | ttyS0
river@river:/$ sudo minicom -s
Welcome to minicom 2.7.1 +-------------------------------------------------------------------+
| Minicom Command Summary |
OPTIONS: I18n | |
Compiled on Aug 13 2017, 15:25:34. | Commands can be called by CTRL-A <key> |
Port /dev/ttyS0, 15:23:29 | |
| Main Functions Other Functions |
Press CTRL-A Z for help on special keys | |
| Dialing directory..D run script (Go)....G | Clear Screen.......C |
| Send files.........S Receive files......R | cOnfigure Minicom..O |
| comm Parameters....P Add linefeed.......A | Suspend minicom....J |
| Capture on/off.....L Hangup.............H | eXit and reset.....X |
| send break.........F initialize Modem...M | Quit with no reset.Q |
| Terminal settings..T run Kermit.........K | Cursor key mode....I |
| lineWrap on/off....W local Echo on/off..E | Help screen........Z |
| Paste file.........Y Timestamp toggle...N | scroll Back........B |
| Add Carriage Ret...U |
| |
| Select function or press Enter for none. |
+-------------------------------------------------------------------+
x - 退出
s - 发文件
r - 收文件
2. picocom
命令:
picocom -b 115200 /dev/ttyS0
picocom -b 115200 /dev/ttyUSB0
帮助界面:
ctrl-a: 进入转义模式
继续按ctrl-h: 进入帮助界面
#
*** Picocom commands (all prefixed by [C-a])
*** [C-x] : Exit picocom
*** [C-q] : Exit without reseting serial port
*** [C-b] : Set baudrate
*** [C-u] : Increase baudrate (baud-up)
*** [C-d] : Decrease baudrate (baud-down)
*** [C-i] : Change number of databits
*** [C-j] : Change number of stopbits
*** [C-f] : Change flow-control mode
*** [C-y] : Change parity mode
*** [C-p] : Pulse DTR
*** [C-t] : Toggle DTR
*** [C-|] : Send break
*** [C-c] : Toggle local echo
*** [C-s] : Send file
*** [C-r] : Receive file
*** [C-v] : Show port settings
*** [C-h] : Show this message
转义模式下,
ctrl-x 退出
ctrl-s 发文件
ctrl-r 收文件
2019.10.22