[ERROR] []: Error, cannot bind to the specified serial port /dev/ttyUSB0

created at 08-06-2021 views: 42

error message

[ERROR] [1628060808.596163988]: Error, cannot bind to the specified serial port /dev/ttyUSB0.

Hardware connection problem

First check the hardware connection, whether there is a USB device

ls /dev/ttyUSB0


# output
/dev/ttyUSB0

If not, check the connection of the cable, plug and unplug it, and test again.

Permissions issue

Usually caused by lack of permissions.
solution:

sudo chmod 777 /dev/ttyUSB0
created at:08-06-2021
edited at: 08-06-2021: