2023-06-01 05:40 AM
I have a custom board here using the STM32G0B1CBT6 MCU. After generating a project with CubeMX (6.8.1) the USB device mode isn't recognized by the OS. Neither CDC nor HID. But as soon as I have it jump to the bootloader the DFU USB device shows up just fine (no reboot, just deconfig & jump). The clock is set to use HSI48 so that can't be it?
2023-06-01 06:08 AM
Okay, just stubled upon the solution, posting it hoping this will be fixed in CubeMX at some point:
Source: