DFU over USB not working - HSE not detected?
Hello all, I am currently unable to solve this issue:
I use STM32F401RET6 with USB functionality (COM port). USB works just fine when in normal runtime, but I am unable to reach the DFU.
I think that for some reason the HSE is not detected or some other fault happens in the bootloader. When I pull the BOOT0 to 3V3 on start, the normal program does not start, which is good. But when I plug in a USB cable, device gets reset and starts in normal mode and not DFU.
I have tried accessing the DFU using USART1 and it seems to connect OK. According to the AN2606, it would seem that the HSE is not detected:

However, the HSE probably works just fine when running in normal mode as USB CDC works and I am able to communicate using a terminal with USB COM port.
I use 8 MHz HSE:

The device may be powered both from the USB or external power jack.
Does anyone have ideas how to advance, what to test or how to resolve this? Thank you.
