AnswerBun.com

Use USB port as serial comms to PC for STM32-NucleoF411 on Win10

I have a STM32 Nucleo-F411RE that I am using with WIN 10, 64 bit.

I’m able to program it and everything OK. But I want to be able to use the usb port that I use for debugging so that I can just connect something like putty and see program output without having to start a debug session.

Everything I see online talks about a virtual com port that is installed with ST Link, but There is nothing listed under PORTS in device manager. The only thing that shows up is STM32 STLink under Universal Serial Bus devices, but I can’t figure out if I can use this to connect.

Anyone know how I can do this?

I’ve been using OpenOCD to debug.. it uses localhost port 3333 to connect, but I can’t connect to that through putty.

Super User Asked by user8094905 on November 26, 2021

1 Answers

One Answer

Not sure if you are looking to connect to the Virtual COM port of the ST-Link? In that case, some boards will not support a virtual comm port profile because the ST Link cannot be updated to the latest version. Some newer boards that can be updated to the latest ST Link firmware will support a virtual COM port profile and show up as a COM port in your device manager, using which you can print debug logs.

Answered by Pratik Panda on November 26, 2021

Add your own answers!

Related Questions

Couldn’t start project on Android: Error running adb:

3  Asked on January 3, 2022 by andy4ward

   

PC shuts off when attempting to wake up

1  Asked on January 3, 2022 by situbole

   

USB 3.1 cable transferring 40MB/s

1  Asked on January 3, 2022 by user1201656

     

How can I export public keys in PEM format with GnuPG?

4  Asked on January 1, 2022 by inaimathi

   

Run Python scripts without explicitly invoking `python`

5  Asked on January 1, 2022 by user2018084

   

Ask a Question

Get help from others!

© 2022 AnswerBun.com. All rights reserved.