Why do I get error "Fatal error: Could not open source file" while using the Target Support Package TC6 3.6 (R2009a) ?
조회 수: 7 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2010년 11월 2일
편집: MathWorks Support Team
2024년 3월 29일
I would like to generate source file (with compile) using the demo titled 'c6713dskwdnoisf' and run it with the DSK6713 board.
However, when I try to auto-generate source code., I get error messages like as below:
The Simulink error message is shown as:
ERROR: Error building Real-Time Workshop target for block diagram 'c6713dskwdnoisf'. MATLAB error message: The call to ccslink_ert_make_rtw_hook, during the exit hook generated the following error: Error while building the project. Caused by: Build complete: 6 errors, 0 warnings. The build process will terminate as a result.
whereas the Code Composer Studio 3.3 error message is shown as:
ERROR: ----------------------- c6713dskwdnoisf.pjt - CustomMW -----------------------
Build error: cannot run C:\CCStudio_v3.3\bios_5_31_02\xdctools\tconf.
[c6713dskwdnoisf.c]
"C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -o2 -fr"C:/Documents and Settings/jinryoul/My Documents/MATLAB/c6713dskwdnoisf_ccslink/CustomMW" -i"C:/Program Files/MATLAB/R2009a/toolbox/rtw/targets/ccslink/ccslink/inc" -i"C:/Program Files/MATLAB/R2009a/toolbox/rtw/dspblks/c" -i"C:/Documents and Settings/jinryoul/My Documents/MATLAB/c6713dskwdnoisf_ccslink"
...
INTEGER_CODE=0" -d"MT=0" -d"TID01EQ=0" -mv6710 --mem_model:data=far -@"CustomMW.lkf" "c6713dskwdnoisf.c"
"c6713dskwdnoisf.h", line 26: fatal error: could not open source file "c6713dskwdnoisfcfg.h"
1 fatal error detected in the compilation of "c6713dskwdnoisf.c".
Compilation terminated.
채택된 답변
MathWorks Support Team
2024년 3월 29일
편집: MathWorks Support Team
2024년 3월 29일
This issue seems to be related to the version of the third party product being used here creating an incompatibility with the Code Composer Studio.
To resolve this issue, you should upgrade version of your third party product to meet the system requeirements for the Code Composer Studio.
Please check the system requirements of Third-Party Product Requirements in this link:
https://www.mathworks.com/products/connections/product_detail/code-composer-studio.html
https://www.mathworks.com/products/ti-c2000-microcontroller.html
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Target Computer Setup에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!