Why do I get errors when I try to build my Simulink model containing RTDX blocks using the C6701 simulator in the Code Composer Studio?

1 view (last 30 days)
I am trying to build my Simulink model containing the To RTDX and From RTDX blocks, using the C6701 simulator from within the Code Composer Studio. I do not have the C6701 EVM board, and am therefore using the C6701 simulator. I get the following errors while building the model:
--------------------------- dpsk5.pjt - MW_Custom
"d:\TIEval21\plugins\bios\gconfgen" c6701_simulator.cdb
"d:\TIEval21\cc\bin\cl6x" -g -q -o2 -i"D:/MATLAB6p1/simulink/include"
-i"D:/MATLAB6p1/extern/include" -i"D:/MATLAB6p1/rtw/c/src"
-i"D:/MATLAB6p1/rtw/c/libsrc" -i"D:/MATLAB6p1/toolbox/dspblks/include"
-i"D:/MATLAB6p1/toolbox/tiddk/rtwc6000" -d"OVERRUN_ACTION=2" -d"MODEL=dpsk5"
-d"RT" -d"NUMST=2" -d"TI01EQ=0" -d"NCSTATES=0" -d"MT=1" -mi -mv6700
-@"MW_Custom.lkf" "dpsk5.c"
[dpsk5.c]
"d:\TIEval21\cc\bin\cl6x" -g -q -o2 -i"D:/MATLAB6p1/simulink/include"
-i"D:/MATLAB6p1/extern/include" -i"D:/MATLAB6p1/rtw/c/src"
-i"D:/MATLAB6p1/rtw/c/libsrc" -i"D:/MATLAB6p1/toolbox/dspblks/include"
-i"D:/MATLAB6p1/toolbox/tiddk/rtwc6000" -d"OVERRUN_ACTION=2" -d"MODEL=dpsk5"
-d"RT" -d"NUMST=2" -d"TI01EQ=0" -d"NCSTATES=0" -d"MT=1" -mi -mv6700
-@"MW_Custom.lkf" "dpsk5_main.c"
[dpsk5_main.c]
"d:\TIEval21\cc\bin\cl6x" -g -q -o2 -i"D:/MATLAB6p1/simulink/include"
-i"D:/MATLAB6p1/extern/include" -i"D:/MATLAB6p1/rtw/c/src"
-i"D:/MATLAB6p1/rtw/c/libsrc" -i"D:/MATLAB6p1/toolbox/dspblks/include"
-i"D:/MATLAB6p1/toolbox/tiddk/rtwc6000" -d"OVERRUN_ACTION=2" -d"MODEL=dpsk5"
-d"RT" -d"NUMST=2" -d"TI01EQ=0" -d"NCSTATES=0" -d"MT=1" -mi -mv6700
-@"MW_Custom.lkf" "rt_sim.c"
[rt_sim.c]
[snip]

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
Due to limitations in the simulator, you cannot use the CCS IDE simulator to build models containing RTDX blocks. You will need to have the actual board, the C6701 EVM or the C6711 DSK, in order to be able to use the RTDX blocks.
If you are still interested in using the RTDX blocks with the simulator, we offer the following suggestions.
NOTE: We have not fully tested and qualified this process and therefore we do not officially support this process.
To test using the simulator with RTDX blocks:
1. Please use the demo model 'c6701evmagc' as a reference to build your model containing RTDX blocks.
2. In the Code Composer Studio project, please replace the file:
$TI\c6000\rtdx\lib\rtdxe.lib
with the following file:
$TI\c6000\rtdx\lib\rtdxsim.lib
where $TI is the directory where Code Composer Studio is installed. (e.g. $TI can be: D:\Applications\ti).
3. Now build your model again
Once again, we are not aware of what issues or problems may arise if you use this process, and therefore you will have to troubleshoot it on your own.

More Answers (0)

Categories

Find more on System Composer in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!