Error when trying to run a c2000 simulink model - CCSv6 and Matlab 2015a

1 view (last 30 days)
I'm getting an error (please refer to the image) when I'm trying to compile a simple epwm block. I've used xmakefilesetup to configure ccsv6 and matlab 2015b and have installed Embedded Coder Support Package for Texas Instruments C2000 Processors from the internet. Could anyone help me out on how to solve this issue? It seems that Matlab cannot access the source files.

Accepted Answer

Venkatesh Chilapur
Venkatesh Chilapur on 5 Dec 2017
Hi,
xmakefilesetup is for using the idelink.tlc workflow, and using idelink.tlc is not recommended and has been discontinued. You should be using ert.tlc with CCS to help you work with the board as needed.
If you need to reconfigure the support package, use the command targetupdater.
Regards,
Venkatesh C
  1 Comment
Raghu Raman
Raghu Raman on 6 Dec 2017
Could you please advise on how to use configure the ert.tlc workflow? What command should one use to configure it? I've used 'targetupdater' before to connect matlab to the support package and the toolchain.

Sign in to comment.

More Answers (1)

Venkatesh Chilapur
Venkatesh Chilapur on 6 Dec 2017
Hi,
https://www.mathworks.com/help/releases/R2016a/supportpkg/texasinstrumentsc2000/ug/coder-target-pane-texas-instruments-c2000-processors.html
https://www.mathworks.com/matlabcentral/answers/124142-what-is-the-difference-between-ert-tlc-model-and-idelink_ert-tlc-model#answer_177303?s_tid=prof_contriblnk
These links can be helpful.
Regards,
Venkatesh C
  1 Comment
Raghu Raman
Raghu Raman on 6 Dec 2017
Thank you. Following the instructions for setup and run the epwm block stills show an error. Please see the attachment. It would really be helpful if there is a tutorial or a sequence of instructions for the setup. Would really appreciate if you can help.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!