STM32H743VIT6 Stuck in DFU Mode (USB FS) after flashing USB CDC Application
I am trying to get the USB CDC (Virtual COM Port) working on my STM32H743VIT6. I have successfully used this exact setup in the past, I would normally flash the code via ST-Link, plug in the USB micro USB cable, and the COM port would appear in Device Manager for Tera Term.
However, currently, the device refuses to exit DFU mode and enumerate as a COM port, even after flashing the application code.
step that i have done:
1. I pull BOOT0 to 3.3V to enter the bootloader. Device Manager correctly shows DFU in FS Mode
2. I upload my .elf file (My application code includes HAL_PWREx_EnableUSBVoltageDetector(); in main().) using STM32CubeProgrammer. The upload verifies successfully.
3. I disconnect power, move BOOT0 to GND, and reset
Issue: The Device Manager still shows "DFU in FS Mode". It does not switch to the Virtual COM Port (CDC).
My Question: What specific steps should I take to force the board to exit DFU mode. I want the device to boot directly into my application and enumerate as a COM Port automatically, without requiring BOOT0 manipulation every time.

