cancel
Showing results for 
Search instead for 
Did you mean: 

What diagnostics can be run on PC and STM32 to debug failing USB virtual COM port?

KHarb.1
Senior

I have an STM32G4 board that is to function as a virtual COM port via USB.  This is my first attempt at implementing USB. Within CubeIDE, I enabled the USB feature and configured a middleware device for the virtual COM port. I’m not seeing the PC react in any way when I connect the board. I’m not sure where to begin to debug and I don't see any examples for the STM32G, so I'm also not sure if I've completed all the needed steps for it show up as a PC device.

Can I observe connection progress with the PC via the USB registers? 

If I had an electrical failure on the USB connection, what diagnostics could I run in software from the PC?

0 REPLIES 0