Skip to main content
Associate II
April 18, 2024
Question

STM Virtual COM Port not working in windows 11

  • April 18, 2024
  • 8 replies
  • 3042 views

Dear ST Community,

 

I'm using Windows 11 on my PC but the device manager doesn't detect the STM32 USB VCP. Please help me fix this issue.

best regards

Neeraj

This topic has been closed for replies.

8 replies

AScha.3
Super User
April 18, 2024

Hi,

what happens , when you connect to PC/USB ? 

If nothing at all, try other USB cable (with data lines), maybe you have a charger cable now ...

If you feel a post has answered your question, please click on " Best Answer ".
Associate III
June 12, 2024

i have the exact issue but when i connect the usb it says usb device not recognized on my pc end 

Andrew Neil
Super User
June 12, 2024

So that's not the exact issue, then - is it?

In @Neeraj's case, nothing at all happens on the PC;

In your case, something does happen - so yours is a different issue.

 

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
NeerajAuthor
Associate II
April 18, 2024

I changed the cable, but the issue remains the same.

NeerajAuthor
Associate II
April 18, 2024

Neeraj_0-1713436513389.png

I am using CDC Lib for sending messages.

Andrew Neil
Super User
April 18, 2024

Please use this button to properly post source code - not as images:

AndrewNeil_0-1713437233933.png

 

Does anything happen at all on the PC when you plug in? eg, does it see any "unknown" device? or report any error?

Presumably, your embedded code should also detect when it's plugged in - is that happening?

 

 

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
NeerajAuthor
Associate II
April 18, 2024

Nothing happening at the PC End

Andrew Neil
Super User
April 18, 2024

So what about the STM32 end?

What debugging have you done to see what's happening there?

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.