Skip to main content
Associate III
October 3, 2023
Question

STM32F407G-DISC1 - Issue with DFU mode

Hello,

I am new to STM products. I have a STM32F407G-DISC1 board and would like to demo a flash program update over USB. I am using the STM32CubeProgrammer.

I am using the following to set up the board for DFU: STM32F407G-DISC1/STM32F4DISCOVERY DFU mode · GitHub

Below is a picture of the board with the connections:

PXL_20231003_133539934.jpg

When I open the STM32CubeProgrammer it shows DFU not detected.

 

1.png

Any insight as to what I am doing wrong?

Thanks,

Brent

This topic has been closed for replies.

3 replies

Tesla DeLorean
Guru
October 3, 2023

Check NRST solder bridge between ST-LINK and F407 is disconnected.

Perhaps also power the North USB connector, you want the 8 MHz MCO clock from the ST-LINK for the F4 USB to function

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
KDJEM.1
ST Technical Moderator
October 4, 2023

Hello @BAW ,

Could you please refer to How can I use STM32CubeProgrammer to access the US... - STMicroelectronics Community  and check your hardware connection.

I hope this help you to solve the issue.

Thank you.

Kaouthar

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.
BAWAuthor
Associate III
October 9, 2023

Thank you both for the information and suggestions.

Looking in the AN2606 Application note, I needed Pattern 1 to activate the bootloader. 

BAW_2-1696877010646.png

I needed to pull Boot1 to ground. Before I was only jumping Boot0 to VCC.

Thanks again for the help.