当前位置:网站首页>Serial port debugging tools cutecom and minicom

Serial port debugging tools cutecom and minicom

2022-04-23 18:13:00 Indignant teasing

One 、cutecom

1.1 install

sudo apt-get install cutecom

1.2 Operating instructions

Before using, you need to determine the port name of the operation

ls -l /dev/tty*

If debugging is required USB port , Hang in dev The serial port name under is generally

/dev/ttyUSB*

If debugging is required com mouth ( May be RS232 perhaps RS485), Hang in dev The serial port name under is generally

/dev/ttyS*

S representative serial Serial port .
After determining the port name , Add permissions to the port

sudo chmod 777 /dev/USB*

function cutecom

cutecom

After entering , Upper right corner settings set baud rate , Data bits and other information , If you need to interact with the port information , stay input Input information , The input mode needs to be selected on the right ,
CR: Represents moving the cursor to the beginning of the line ,LF Indicates moving the cursor vertically to the next line ,CR/LF Represents moving the cursor to the beginning of the next line .
I choose CR/LF Interact with port information .

版权声明
本文为[Indignant teasing]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231812058097.html