Why do I receive an error when I choose 'Generate code only' option for a model using the Embedded Target for TI C6000 2.1 (R14)?

15 views (last 30 days)
I receive the following error when I choose the 'Generate code only' option for a model using Embedded Target for TI C6000 2.1 (R14):
Build error:
Error using ==> RTW.makertw.make_rtw
Error using ==> tlc_c
Error using ==> tlc_c>InvokeTLC
Error: Errors occurred - aborting
Model error:
Error building Real-Time Workshop target for block diagram 'c6711dskANC'.
MATLAB error message:
Error using ==> slbuild
Error using ==> RTW.makertw.make_rtw
Error using ==> tlc_c
Error using ==> tlc_c>InvokeTLC
Error: Errors occurred - aborting

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This bug has been fixed in Release 14 Service Pack 2 (R14SP2). For previous releases, read below for any possible workarounds:
There is a bug in Embedded Target for TI C6000 2.1 (R14) in the way that it handles the error checking when the 'Generate code only' option is selected along with the 'Incorporate DSP/BIOS' option.
The error message should indicate that these two options are not intended to be used at the same time. To work around this issue, clear the 'Incorporate DSP/BIOS' option in the TI C6000 code generation options pane in the Configuration Parameters for your model and regenerate the code.
To generate code that incorporates DSP/BIOS functions, do not use the 'Generate code only' option. Consider creating a project in CCS to generate the code, if you have Code Composer Studio installed.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!