STM32F401 Can't enter DFU mode

Bootloader for STM32F103 and STM32F4xx micro-controllers
No special driver is required. Support for Windows, Linux and Mac Operating System
Post Reply
hautamak
Posts: 1
Joined: Tue Sep 26, 2023 2:09 pm

STM32F401 Can't enter DFU mode

Post 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. :!:
ag123
Posts: 1655
Joined: Thu Dec 19, 2019 5:30 am
Answers: 24

Re: STM32F401 Can't enter DFU mode

Post 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
Post Reply

Return to “STM32 HID bootloader”