Skip to main content
Graduate
October 3, 2023
Question

STM32F407G-DISC1 - Issue with DFU mode

  • October 3, 2023
  • 2 replies
  • 2399 views

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.

    2 replies

    Graduate II
    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

    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

    BAWAuthor
    Graduate
    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.