Skip to main content
joemccarr
Associate III
August 12, 2019
Question

Can not open serial port in IDE

  • August 12, 2019
  • 2 replies
  • 1130 views

Hello,

My O.S. is Linux Lite (ubuntu).

I am getting "No such port: '/dev/ttyACM0' msg when I try to open the internal serial monitor in the IDE. I also tried /ttyACM0, etc..

When I use the Aruduino ide I can access the port successfully.

Thanks

Top

This topic has been closed for replies.

2 replies

Jack Peacock_2
Associate II
August 12, 2019

From your description the problem seems to be related to your Linux system. A quick way to verify this is to short the TXD and RXD serial port pins together, what's called a loopback. Open the serial port and see if the characters you send are echoed back. If not then the problem is not in the STM32 board.

Jack Peacock

joemccarr
joemccarrAuthor
Associate III
August 12, 2019

But I can use a different IDE without a problem, the arduino IDE using the same PORT. I do not have both IDE's open at the same time.

Thanks for responding.