Page 1 of 1

STM32F401 Can't enter DFU mode

Posted: Wed Nov 08, 2023 8:33 pm
by hautamak
Hello everybody

I have following board:

https://www.amazon.in/SunRobotics-STM32 ... B08Q3RNKFP

I got it working with st-link, but I want to use it with usb (mainly to get serial communication, St-link seems to be really hard to get working with serial).

However, When i put 3 headers to boot position, the device don't show up in device manager, nor stm32cube, nor arduino ide.
I did try another board, but with no luck.

Could somebody guide me to correct direction. I'm open to installing other bootloader for my blackpill.

Thank you all.
Hautamak. :!:

Re: STM32F401 Can't enter DFU mode

Posted: Thu Nov 09, 2023 2:03 am
by ag123
The usual thing is set boot0 and press reset.
And that is provided that you board is properly wired for USB, e.g. that D+ is pulled up with a 1k resistor etc
And that a crystal of preferably 8 Mhz is needed for HSE running on the external crystal clock
in short, USB needs to be working properly

and that make sure nothing is connected to PA9, PA10 Serial1, otherwise it is flashing from uart