I am trying to use piccolo launchpad in external mode. I am getting the following error '### Failed to generate all binary outputs.'

1 回表示 (過去 30 日間)
Akshay
Akshay 2018 年 1 月 20 日
コメント済み: Akshay 2018 年 2 月 16 日
C:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/src/ext_svr_c2000.c "C:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/shared/externalmode_daemon/include/daemon_checksum.h", line 10: warning: last line of file ends without a newline "C:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/src/ext_svr_c2000.c", line 257: error: argument of type "uint8_T *" is incompatible with parameter of type "const char *" "C:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/src/ext_svr_c2000.c", line 257: error: argument of type "uint8_T *" is incompatible with parameter of type "const char *" "C:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/src/ext_svr_c2000.c", line 555: error: argument of type "uint32_T *" is incompatible with parameter of type "const uint8_T *" "C:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/src/ext_svr_c2000.c", line 321: warning: function "GetPkt" was declared but never referenced 3 errors detected in the compilation of "C:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/src/ext_svr_c2000.c".
>> Compilation failure gmake: * [ext_svr_c2000.obj] Error 1
C:\Users\Cell_Propulsion_5\Desktop\Papers\New Folder (2)\SMO_PIL_PRABH_ert_rtw>echo The make command returned an error of 2 The make command returned an error of 2
C:\Users\Cell_Propulsion_5\Desktop\Papers\New Folder (2)\SMO_PIL_PRABH_ert_rtw>An_error_occurred_during_the_call_to_make 'An_error_occurred_during_the_call_to_make' is not recognized as an internal or external command, operable program or batch file. ### Creating HTML report file SMO_PIL_PRABH_codegen_rpt.html ### Build procedure for model: 'SMO_PIL_PRABH' aborted due to an error. Error(s) encountered while building "SMO_PIL_PRABH": ### Failed to generate all binary outputs.
I have tried reinstalling the support package but i am still getting the same error. Any help would be appreciated.
Regards, Akshay

回答 (1 件)

Venkatesh Chilapur
Venkatesh Chilapur 2018 年 1 月 22 日
Hi,
C2000 compiler version that is tested with R2017a version of support package is 6.4.6.
Looks like you are using version 6.2.0. Please run targetupdater and select a newer version of CCS code generation tool.
You can download latest versions of compiler here.
Please let me know if you face the issue with new version of compiler also.
Regards,
Venkatesh C
  1 件のコメント
Akshay
Akshay 2018 年 2 月 16 日
Hi,
Thanks a lot. It did work with compiler version 6.4.6.
Regards, Akshay

サインインしてコメントする。

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by