一、參考
二、安裝
$sudo apt-get install putty
三、Serial
想要連接 USB 的設備,可用下面指令查詢。
$dmesg | grep tty
會有類似下面這些訊息
[ 0.004000] console [tty0] enabled
[13717.128808] usb 2-2.1: pl2303 converter now attached to ttyUSB0
[14012.316511] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
[16342.257581] usb 2-2.1: pl2303 converter now attached to ttyUSB0
[16649.018181] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
[16664.494877] usb 2-2.1: pl2303 converter now attached to ttyUSB0
[16730.009623] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
[16736.683650] usb 2-2.2: pl2303 converter now attached to ttyUSB0
四、範例
$sudo putty /dev/ttyUSB0 -serial -sercfg 115200,8,n,1,N
or
$sudo putty
五、注意事項
- 如果要連結 serial,記得要加 sudo 執行,不然會一直出現 unable to connect 訊息。