2023-12-22 09:29 PM
Hello everyone,
Currently, I am using the Ubuntu 22.04 operating system. I'm having a problem: when I plug ST-link into my computer, the CH340 driver doesn't convert the USB port to a traditional COM port. Therefore, the Arduino IDE does not show the port to perform serial communication as usual. I tried installing STM32CuberProgrammer to check what the error port was, then I saw the /Dev/bus/USB/001/007 port. I also tried connecting to an Arduino mega 2560, when I checked, the port still showed /Dev/ttACM0. Thanks, everyone.
Solved! Go to Solution.
2023-12-23 02:05 PM
It doesn't have a CH340 chip in it.
The ST-LINK/V2 doesn't export a serial port, the ST-LINK/V2-1 on some fake units might, but it's going to use an ST driver or a generic CDC/ACM driver and give you a TTY if it enumerates.
What VID/PID do you see?
What is your hardware set up here?
You mention a bunch of unrelated stuff, it's hard to understand what you're doing or what the real issue is.
2023-12-23 12:53 AM
Hi,
ttACM0 is the com port. (maybe from st-link; which st-link you use ?)
I dont understand your problem ... you also have a CH340 chip in use - or what about this chip ?
2023-12-23 02:05 PM
It doesn't have a CH340 chip in it.
The ST-LINK/V2 doesn't export a serial port, the ST-LINK/V2-1 on some fake units might, but it's going to use an ST driver or a generic CDC/ACM driver and give you a TTY if it enumerates.
What VID/PID do you see?
What is your hardware set up here?
You mention a bunch of unrelated stuff, it's hard to understand what you're doing or what the real issue is.
2023-12-23 09:38 PM
Thank you for your reply, my previous problem was Unable to use a USB dongle based on a USB-serial converter chip, then I found the internal problem through a post, the problem was stated as "The problem here is BRLTTY, a program that "provides access to the Linux/Unix console (when in text mode) for a blind person using a refreshable braille display" ". After that, I followed the post and fixed the problem of not recognizing the port when connecting from STM32 to the Ubuntu 22.04 operating system. post link: https://unix.stackexchange.com/questions/670636/unable-to-use-usb-dongle-based-on-usb-serial-converter-chip.