DFU issue after flashing STM32G0B0VET
Hey,
I am using the STM32G0B0VET (16MHz HSE) with a virtual com port over USB.
The virtual com port is working fine but as a backup I would love to be able to let the user reflash the device.
I was thinking of using the DFU for this since then the user would only need a standard USB cable (consumer electronics hopefully high volume). I exposed a button that can pull BOOT O high (small reprogram button you have to push).
(Normally in the field updates are not needed but I would like to have this as a backup).
Now I have the following problem when I boot the device (that is flashed) when pressing the button (keeping BOOT 0 high) my PC sees the virtual COM port and not the DFU device. It is thus running the usual code and not entering the bootloader.
If I erase the STM32 with the ST link I can access the DFU just fine with the boot button.
Does anybody have a fix for this?
Best regard and thanks already for the help.

