Linux—USB_Console_Minicom

Situation

# 使用CP210X的Console連線至設備
Using a CP210x console connection to access the device.

# Type A - Type C 
# PC - Router

Solution

# Ubuntu預設有CP210X Driver

[1-1]
# 確認USB裝置
lsusb > Silicon Labs CP210x UART Bridge

[1-2]
# 確認USB裝置名稱
sudo dmesg | grep tty

# 也可從/dev底下判斷
cd /dev > ls tty*

[2]
# 安裝Console套件
sudo apt install minicom

[3]
# 設定Minicom
sudo minicom -s > Serial port setup > A > /dev/"Your_USB_Device" > Enter

# 設定Baud Rate為9600 or 115200
E - BPS/Par/Bits > 115200 8N1
E - BPS/Par/Bits > 9600 8N1

# 設定Flow Control
F - Hardware Flow Control > No
G - Software Flow Control > No

[4]
# 儲存為預設值
Save setup as dfl

Check

# 測試連線
sudo minicom > Enter

# 更改設定
CTRL+A > Z