cancel
Showing results for 
Search instead for 
Did you mean: 

stm32f429 discovery dfu mode

mirco
Associate
Posted on May 23, 2014 at 17:38

Hey :)

is there a way to put the stm32f429 on the discovery board into dfu mode?

I tried to set the BOOT0 & BOOT1 jumper, but the PC wont detect a dfu device.

But it seems that the bootloader works, cause the flashed program doesnt start.

Maybe there is a hidden jumper or something like that?

On the f407-discovery it worked fine.

Thanks for your help

Mirco Controller

#dfu-stm32f429-discovery
7 REPLIES 7
chen
Associate II
Posted on May 24, 2014 at 16:54

''is there a way to put the stm32f429 on the discovery board into dfu mode?

I tried to set the BOOT0 & BOOT1 jumper, but the PC wont detect a dfu device.''

Did you reboot the board (power off, power on)?

Did you use the other USB plug (NOT ST-Link)?

mirco
Associate
Posted on May 25, 2014 at 12:14

Hi,

thanks for your reply.

''Did you reboot the board (power off, power on)?''

''Did you use the other USB plug (NOT ST-Link)?''

Yes i have reboot the board many times both on win& linux pcs and on neither of them i see any new usb devices showing off (like it do with the 407-discovery).

Does the DFU mode work with your board? Maybe there is just a production error.

Thanks

Mirco

Christopher Pappas
Senior II
Posted on May 26, 2014 at 02:57

I had the exact same problem with the STM32F429I-Discovery board  trying to upgrade the ST-Link firmware thru the ST-Link Utility version 3.4.0. If you don't see the DFU mode present message on connect and ST-Upgrade refuses to connect, try this to make it work properly:

1.  Jumper both Boot0 and Boot1.

2.  Plug in the ST-Link cable and the USB OTG cable.

3.  Run ST-Link Utility, and select ''Upgrade Firmware'' to start ST-Upgrade.

4.  Do not click on connect yet (it will fail almost every time).  

5.  Unplug the ST-Link Mini-B cable, leaving the USB OTG Micro-B cable attached.

6.  Wait for 6 seconds.

7.  Plug the ST-Link Mini-B cable back in.

8.  Wait another 6 seconds.

9.  Click the ''Connect'' button. You should now see the current firmware message.

Now you can click the ''Upgrade'' button to update the firmware.

alan2
Associate II
Posted on September 24, 2014 at 15:39

Hi

just been trying to solve the same problem of the STM32F429I discovery board unable to enter DFU mode.  I know the micro USB port works as i've had a flash drive connected to it for the demo app but when i've followed the instructions to enter DFU mode (BOOT0 = 1 and BOOT1 =0) the PC doesn't detect anything.

if you managed to solve the problem could you please tell as its very frustrating.

thanks

Alan

Uwe Bonnes
Principal III
Posted on September 26, 2014 at 11:57

As explained in

http://embdev.net/articles/STM_Discovery_as_Black_Magic_Probe

it can not work.

PB5 is connected to SDCKE1 and interferes with the boot source detection.

alvarogramirez
Associate
Posted on February 10, 2015 at 03:10

Greetings I have the STM32F429ZIT6 discovery board and I successfully upgrade the STLink Firmware. I do not set-up any BOOT pin.

1. Just plug the board and do not push in connect. Also do not jump any boot pin.

2. Go to ST-Link firmware update and connect & update.

I try it with the two boards I just received and now they are in the  firmware V2.J23.S0 STM32 Debugger.

zs
Associate
Posted on February 11, 2015 at 19:52

ramirez.alvaro:

You probably used the STLink on the board.

bonnes.uwe:

They are wrong, will email to them.

The reason it does not work on the STM32F429I discovery board is that the USB OTG wired out is the USB OTG2 peripheral in FS mode. DFU supports the only the OTG1 peripheral, see STM32 AN2606, section 18.1.1, table 38. PA11, PA12 pins used only.