Why do I get error "Fatal error: Could not open source file" while using the Target Support Package TC6 3.6 (R2009a) ?
21 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MathWorks Support Team
el 2 de Nov. de 2010
Editada: MathWorks Support Team
el 29 de Mzo. de 2024
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.
Respuesta aceptada
MathWorks Support Team
el 29 de Mzo. de 2024
Editada: MathWorks Support Team
el 29 de Mzo. de 2024
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 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre System Composer en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!