cancel
Showing results for 
Search instead for 
Did you mean: 

STM32Cube DFU examples for STM32F072B-discovery board breaks.

AVenc.15
Associate

Hello

Recently I started working with STM32F072B-discovery board and noticed that the DFU example given by STM32Cube_F0_FW_1.9.0 breaks. When you reset the board the output of dfu-util looks like:

sudo dfu-util -l
dfu-util 0.8
 
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2014 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org
 
Found DFU: [0483:df11] ver=0200, devnum=26, cfg=1, intf=0, alt=0, name="@Internal Flash   /0x08000000/6*02Ka,58*02Kg", serial="205A39795548"

But after 5 - 10 seconds it changes to:

sudo dfu-util -l
dfu-util 0.8
 
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2014 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org
 
Found DFU: [0483:df11] ver=0200, devnum=26, cfg=1, intf=0, alt=0, name="UNKNOWN", serial="UNKNOWN"

And it becomes unreachable.

Further I noticed that using STM32Cube_F0_FW_1.8.0 it breaks less often. It takes up to 30-60 seconds.

The processors built-in bootloader works just fine.

I was wondering maybe someone else encountered a similar problem? And maybe someone knows how to get an even older version of STM32Cube_F0?

1 REPLY 1

CubeMX can pull older libraries

I have several in a mirror location.

Understand you're using a 4 year old tools written by third-parties, perhaps you should check if that is updated, or where development of it stands.

ST supports DFU files in it's new Cube STM32 Programmer application, you should perhaps review/use that?

https://www.st.com/en/development-tools/stm32cubeprog.html

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..