SUOTA multi part Binary tool - Bug - debug build of mk

9 posts / 0 new
Last post
andrewness
Offline
Last seen:7 months 2 weeks ago
加入:2016-05-20 18:17
SUOTA multi part Binary tool - Bug - debug build of mk

The mkimage.exe application in the bin folder was compiled as a debug build. This requires the user to have Visual Studio 2010 installed, or to illegaly obtain a copy of the debug CRT DLL from somewhere else on the internet.

This can be observed by running the application on a system that does not have Visual Studio 2010 installed. You will get a dialog box like this:

---------------------------
mkimage.exe - System Error
---------------------------
The program can't start because MSVCR100D.dll is missing from your computer. Try reinstalling the program to fix this problem.
---------------------------
OK
---------------------------

The program sh uld be compiled as a release build, linked against the standard CRT that is legally distributable without needing Visual Studio 2010 installed.

Attachment:
Device:
MT_dialog
Offline
Last seen:2 months 3 weeks ago
Staff
加入:2015-06-08 11:34
Hi andrewness,

Hi andrewness,

I ve tested the SDK5 version and i didn't had any trouble to run the mkimage.exe on two pc's that doesn't have Visual Studio 10 installed.

Thanks MT_dialog

andrewness
Offline
Last seen:7 months 2 weeks ago
加入:2016-05-20 18:17
Can you search for the file

Can you search for the file MSVCR100D.dll on your computer? It must exist somewhere or you would get this error as well.

andrewness
Offline
Last seen:7 months 2 weeks ago
加入:2016-05-20 18:17
To be clear, the version I

To be clear, the version I have is from:http://support.dialog-semiconductor.com/resource/tutorial-3-suota-multi-...

Which says it was updated on 04/05/2016.

andrewness
Offline
Last seen:7 months 2 weeks ago
加入:2016-05-20 18:17
I see that the SDK itself

I see that the SDK itself contains the source to mkimage, so I can compile a release build myself...but that won't help people not familiar with Windows programming (and requires a Windows compiler to at least be installed on another computer, if not the same computer to do this)

MT_dialog
Offline
Last seen:2 months 3 weeks ago
Staff
加入:2015-06-08 11:34
Hi andrewness,

Hi andrewness,

I ve tried the mkimage.exe in three different pc's, one of them was a new clear installation of windows 7, with no Visual Studio 10 ever installed, i ve also check for the debugging .dll and didn't found it, only theMSVCR100.dll was present. I ve also checked with the dependancy checker, please check the attached image, couldn't find the debug dll in the mkimage dependancies. Nevertheless i ve issued an internal ticket in order to know for sure from the application team if the mkimage.exe is a debug or a proper release, they assured that the build is a release and not debug.

Thanks MT_dialog

Attachment:
andrewness
Offline
Last seen:7 months 2 weeks ago
加入:2016-05-20 18:17
Hi,

Hi,

The Dependency Walker screenshot makes it clear that you are using a different version of mkimage.exe than the one provided by your site at the link I posted above:http://support.dialog-semiconductor.com/resource/tutorial-3-suota-multi-...

Please see the attached screenshot of this version of mkimage.exe that shows it is linked to the debug DLL (MSVCR100D.dll)

Andrew

Attachment:
MT_dialog
Offline
Last seen:2 months 3 weeks ago
Staff
加入:2015-06-08 11:34
Hi andrewness,

Hi andrewness,

I missed the post with the link you provided, please check your SDK5 folder in the specified directory \DA1458x_SDK\5.0.3\binaries\host\windows\mkimage, there you should find a proper version of the mkimage.exe. I will make sure that the link that you ve specified will be updated with a proper mkimage release.

Thanks MT_dialog

andrewness
Offline
Last seen:7 months 2 weeks ago
加入:2016-05-20 18:17
Thank you

Thank you