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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

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

跳至解决方案
4,536 次查看
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 项奖励
回复
1 解答
4,522 次查看
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 项奖励
回复
9 回复数
4,523 次查看
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 项奖励
回复
4,471 次查看
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 项奖励
回复
3,667 次查看
KrishnaNair_007
Contributor I

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

0 项奖励
回复
3,656 次查看
rahulshah
Contributor I

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

0 项奖励
回复
3,652 次查看
KrishnaNair_007
Contributor I

KrishnaNair_007_0-1671097809572.png

Dll file missing

0 项奖励
回复
3,651 次查看
KrishnaNair_007
Contributor I

KrishnaNair_007_0-1671098078349.png

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

0 项奖励
回复
3,643 次查看
KrishnaNair_007
Contributor I


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

KrishnaNair_007_1-1671099088884.png

 

0 项奖励
回复
3,647 次查看
rahulshah
Contributor I
check via command line:
image_generator.exe -s <input file> < output file>
0 项奖励
回复
3,644 次查看
KrishnaNair_007
Contributor I

Tried using this file:

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

 

0 项奖励
回复