TransWikia.com

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

Super User Asked by user8094905 on November 26, 2021

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.

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!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP