cancel
Showing results for 
Search instead for 
Did you mean: 

DFU File Manager: Unable to create image from this file

cvskill
Associate II
Posted on December 02, 2014 at 14:14

0690X00000603IlQAI.jpg

Hello, anyone help me!

Iwant to generate a dfu file for my STM32L053C8-Discovery bord, but whatever I fill in the blanks in the DFU File Manager, when I choose a hex file generrated by my Keil 5, an error occurs as the picture above shows.

#stm32-dfu-file #dfuse-demo-:-download-error
20 REPLIES 20
arro239
Senior
Posted on February 06, 2015 at 04:53

clive1, thank you for the 3.0.3 version!

my .hex is also failing on 3.0.4 but works on 3.0.3

It's a bit upsetting that ST would not release 3.0.5 ASAP or at least pull the faulty 3.0.4 down
millerml2
Associate
Posted on February 16, 2015 at 20:55

The link to the old file manager appears stale.  Could you please repost for me?

Posted on February 16, 2015 at 21:27

Both appear to be working from here. What are you seeing?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
aodhancoffey
Associate II
Posted on May 27, 2015 at 12:28

Can somebody post a link to the source for DFuse 3.0.4 as described by aaron? I can only find the compiled program

http://www.st.com/web/en/catalog/tools/FM147/CL1794/SC961/SS1533/PF257916

.

I would like to add his fix and have a working version of the latest dfuse demo.

aodhancoffey
Associate II
Posted on May 27, 2015 at 13:16

Nevermind. I didn't realise that the installer also unpacks a copy of the source files into the folder /ProgramFiles\STMicroelectronics\Software\DfuSe v3.0.4\Sources

Mikk Leini
Senior
Posted on June 15, 2015 at 21:53

Maybe it's time for ST to do this fix and release 3.0.5 ?

Posted on June 15, 2015 at 22:03

Maybe it's time for ST to do this fix and release 3.0.5 ?

Pushing into moderation again.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
damonchan
Associate II
Posted on July 06, 2015 at 05:15

Hello, anyone help me!

i would like to generate a dfu file for STM3210B-EVAL board, but i met the following error when using DfuSeDemo.exe (3.0.0) to download firmware into the board. (As there is bug to create image on the DfuFileManager v3.0.4, I have to use older version.).

1. Download and unzip stsw-stm32121\STM32_USB-FS-Device_Lib_V4.0.0 from ST website

2. Compile and Download the firmware bootloader program into the board by Ulink2 (stsw-stm32121\STM32_USB-FS-Device_Lib_V4.0.0\Projects\Device_Firmware_Upgrade)

3. Compile stsw-stm32121\STM32_USB-FS-Device_Lib_V4.0.0\Projects\Mass_Storage and then use DfuFileManager v3.0.0. (Remark: I just check the “Create HEX File�? box and didn’t change any program code) (DfuFileManager.png)

4. Use DfuFileManager v3.0.0 to convert STM3210B-MassStorage2-EVAL.hex into .dfu file successfully.

5. Connect the board to my PC. The board was correctly detected. But I met following problem when I upgrade firmware (DfuSe Demo bug.png)

Plz kindly advise what is wrong with my procedure.

From: clive1

Posted: Monday, June 15, 2015 10:03 PM

Subject: DFU File Manager: Unable to create image from this file

Maybe it's time for ST to do this fix and release 3.0.5 ?

Pushing into moderation again.

________________

Attachments :

DfuFileManager.png : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I037&d=%2Fa%2F0X0000000bSl%2FfLm0HXCPG0ksoHrcshFoJE2nC2htJMm2L_5hd5EAA70&asPdf=false

DfuSe_Demo_bug.png : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I02x&d=%2Fa%2F0X0000000bSm%2FWLPOr0yuTWyYuyjzLhdRXmzsiENd32Wz7NLQ6WMqWbQ&asPdf=false
damonchan
Associate II
Posted on July 06, 2015 at 11:30

i solved the problem by changing thestart addressof flash to 0x8003000 from 0x8000000 on step 3. and i canconvert and download the rebuilt firmware successfully.

But, i have two new problems.

1. Downloaded the .dfu file of Mass Storage demo (i rebuilt) into the board. the PC cannot recognizeit after i reset the board. (Unknow Device.png) But, if i download the .dfu attached in STM32_USB-FS-Device_Lib_V4.0.0\Utilities\DFU_images\STM3210B-EVAL_MassStorage.dfu instead, the PC can recognize it as a mass storage after reset the EV board. So, is there any program code or setting of Mass_Storage needed to edit so that it can be correctlyrecognized by PC ?

2. both.dfu files (the .dfu of mass storage i rebuilt andthe .dfu attached in STM32_USB-FS-Device_Lib_V4.0.0\Utilities\DFU_images\STM3210B-EVAL_MassStorage.dfu)have errorafter pressing''leave DFU mode'' button.

how can i get ride of it ? (leave DFU mode err.png)

________________

Attachments :

leave_DFU_mode_err.png : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I02n&d=%2Fa%2F0X0000000bSj%2Fwdre94VATRZy1VAdhoanTJeCVTTSLyB8TYhxQU9IBZ0&asPdf=false

Unkown_Device.png : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HxuY&d=%2Fa%2F0X0000000bSi%2F7K.4WxykNHt3OgmChoE3SytikbfOdTFC90KuGREhrdc&asPdf=false
damonchan
Associate II
Posted on July 06, 2015 at 12:20

For problem 1. it may not caused by DfuSe Demo tool. Can anyone advise why the dfu files have different behavior ?? anyone can advise what's wrong with my procedures ??

''

1. Downloaded the .dfu file of Mass Storage demo (i rebuilt) into the board. the PC cannot recognize it after i reset the board. (Unknow Device.png) But, if i download the .dfu attached in STM32_USB-FS-Device_Lib_V4.0.0\Utilities\DFU_images\STM3210B-EVAL_MassStorage.dfu instead, the PC can recognize it as a mass storage after reset the EV board. So, is there any program code or setting of Mass_Storage needed to edit so that it can be correctly recognized by PC ?

''