小弟目前在用ARM板子和PC機ubuntu進行串口通信時,ARM發送一次資料,USB轉串口設備名就莫名其妙的從ttyUSB0斷開了,變成了ttyUSB1,再次運行程式,發送一次就又從ttyUSB1變成了ttyUSB0,反復變化,USB轉串口是cp210x,真的困擾好久了,各位大佬知道這是什么原因嗎
open serial sucessfully.
fcntl=0
/dev/ttyUSB0 is a tty success!
fdSerial-open=3
Serial set done!
input send data:ddd45
send data is ddd45
send length:6
usb 1-1: USB disconnect, address 6
cp210x ttyUSB0: cp210x converter now disconnected from ttyUSB0
cp210x 1-1:1.0: device disconnected
input send data:usb 1-1: new full speed USB device using fsl-ehci and address 7
usb 1-1: device v10c4 pea60 is not supported
cp210x 1-1:1.0: cp210x converter detected
usb 1-1: reset full speed USB device using fsl-ehci and address 7
usb 1-1: cp210x converter now attached to ttyUSB1
轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/238169.html
標籤:專題技術討論區
