2024-07-31 01:14 AM
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?