DFU File Manager: Unable to create image from this file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-12-02 5:14 AM
- Labels:
-
Bootloader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-12-02 8:29 AM
You think attaching the offending .HEX might help?
What address is the image compiled/linked at? Does the size of the image exceed the memory reported by the device?Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-12-02 4:39 PM
Thanks for your response.
The pictures below are the settings you mentioned.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-12-02 5:10 PM
The part only has 64KB of flash (0x10000), you can't advance the address without shrinking the size an equal amount.
You'd want 0x08007000 with a size of 0x9000Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-12-02 6:41 PM
I have changed the size of flash into 0x9000 or even smaller, but the same error occurs every time.
Now I am considering whether my DFU File Manager(v3.0.4) works correctly. Do you have a hex file that can be loaded in DFU File Manager(v3.0.4) correctly? Could you attach me the file to test if my DFU File Manager works fine on my computer? Thank you!- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-12-02 8:11 PM
I have 3.0.2, loading a different version would be too disruptive
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-12-02 9:53 PM
Thank you very much!
My DFU File Manager doesn't work. I downloaded an old version which is 3.0.0, and everything now works fine.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-12-12 1:18 PM
I hit this same issue using DFuse 3.0.4. Older versions do not appear to be available online. However, source code is provided with DFuse, so I was able to find and fix the bug.
Assuming you have Visual Studio and can rebuild, use this approach:- Copy \program files (x86)\stmicroelectronics\software\dfuse v3.0.4\sources to another folder- Open Dfuse.sln from this new location- In project STDFUFiles, open source file image.cpp- In function CImage::LoadHEX(), change variable 'colon' from unsigned long to char- Rebuild solution (you may need to also download a Microsoft MBCS add-on if you use VS2013)- The built DfuFileMgr should work correctlyThe bug is that they used an uninitialized ULONG to parse characters from the .hex file, and fscanf of ''%1c'' (to attempt to read the colon at start of line) only fills a single byte. This means the high bytes of variable 'colon' are likely non-zero random values, so fail comparison to ':', etc.Aaron- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-12-16 7:25 AM
Thanks for reporting this issue & also for the suggested solution.
It will be fixed in next release of the DFuSe.-Mayla-To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-12-16 8:13 AM
Older versions do not appear to be available online.
Here's my mirror ofhttps://drive.google.com/file/d/0B7OY5pub_GfIdTE0N18ycHl2NlE/view?usp=sharing
andhttps://drive.google.com/file/d/0B7OY5pub_GfIV2IyV0JQWEdPNTQ/view?usp=sharing
Up vote any posts that you find helpful, it shows what's working..
