Showing results for 
Search instead for 
Did you mean: 

Serial communication between linux host and target




"I'm using an STM32MP157F-DK2. I'm struggling with the serial connection between my Linux host and my target board (STM32MP157). I'm using the command 'minicom -D /dev/ttyACM0', but I've been waiting for more than 2 hours for the connection to be established, yet it's still not connected.

What can I do to connect to the target device?"

Associate III

Hi @medex , and welcome to the community!

To connect your device, it's better to use PuTTY, either in ssh or serial. However, the serial connection is the stabler of the two.

Download PuTTY, and connect the ST-LINK port to the USB port of your PC. Find the right serial port, and set the speed to 115200. Finally, click on "Open".

You'll then make a stable connection to your Discovery board.

If this solves your question, it'll be nice of you to click on "Accept as solution".

Good luck!

Nathan Xi