AN12327 : CRC image is not created using image_generator.exe file

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

AN12327 : CRC image is not created using image_generator.exe file

Jump to solution
2,327 Views
rahulshah
Contributor I

Hi ,

I am trying to generate CRC image using post_build_mcux.bat batch file. But when i execute this script it is not creating "dsbl_app_crc.bin" file. Fir testing purpose i am using default "dspl_app.bin" file which is come with example code.

 

please find whole zip to reproduce the issue. i have also try to un batch file from command prompt , but no error received on prompt and command executed successfully without error but CRC bin file not generated.

rahulshah_0-1606126299289.png

 

Regards,

Rahul Shah

0 Kudos
Reply
1 Solution
2,313 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi

to run image_generator.exe, you need install 

Microsoft Visual Studio Community 2019

make sure microsoft .net framework also installed.

 

From our test it works with those install.

 

Have a nice day,

Jun Zhang

 

 

View solution in original post

0 Kudos
Reply
9 Replies
2,314 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi

to run image_generator.exe, you need install 

Microsoft Visual Studio Community 2019

make sure microsoft .net framework also installed.

 

From our test it works with those install.

 

Have a nice day,

Jun Zhang

 

 

0 Kudos
Reply
2,262 Views
AlbertStraub
Contributor II

Hi!  We do not have Microsoft Visual Studio and we do not meet the requirements to download and use Microsoft Visual Studio Community edition.  I note that the DLLs that are missing are non-redistributable.  Most likely because they are debug dlls.  I believe this is due to the D in the vcruntime140d.dll filename.  Can you either a) provide the source code for the tool so that we can modify it for our use or b) recompile the code on your machine and produce a release image that does not use the non-redistributable dlls?  It would make life much better for us.

0 Kudos
Reply
1,458 Views
KrishnaNair_007
Contributor I

Hello, Have you got any solution to above problem, please share..

0 Kudos
Reply
1,447 Views
rahulshah
Contributor I

@KrishnaNair_007 KrishnaNair_007 Please test with attached tool. Let me know result if it works for you or not

0 Kudos
Reply
1,443 Views
KrishnaNair_007
Contributor I

KrishnaNair_007_0-1671097809572.png

Dll file missing

0 Kudos
Reply
1,442 Views
KrishnaNair_007
Contributor I

KrishnaNair_007_0-1671098078349.png

Downloaded MSVCR120D.dll file and tried to execute, above error message popped

0 Kudos
Reply
1,434 Views
KrishnaNair_007
Contributor I


Response is same with the error as below (command line)

KrishnaNair_007_1-1671099088884.png

 

0 Kudos
Reply
1,438 Views
rahulshah
Contributor I
check via command line:
image_generator.exe -s <input file> < output file>
0 Kudos
Reply
1,435 Views
KrishnaNair_007
Contributor I

Tried using this file:

.\image_generator.exe -s -l 0x10000 .\dsbl_app.bin dsbl_app_crc.bin

 

0 Kudos
Reply