This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/AWR1642: Debug Server Scripting and Data Exchange between CCS and Mathworks/Matlab

Part Number: AWR1642

Tool/software: Code Composer Studio

Hi,

my customer would like to analyze some DSP (C674x) algorithms with Matlab. For that he would need to be able to control CCS from Matlab by e.g. using Debug Server Scripting feature. He also would need to exchange data between CCS and Matlab.

As far as I could see, there have been several people on the forum able to use CCS Debug Scripting from Matlab, but it does not seem to be supported officially by either TI or Mathworks, could You please confirm? It seems that it was possible with previous support packages from Matlab to control older CCS IDE versions (CCS3 / CCS4) using "Embedded IDE Link"

Also on Mathworks page You can find the following statement:

Embedded Coder’s Hardware Support Package for TI C6000 is discontinued from R2016b and beyond. But it is still possible to generate code. Nevertheless I guess that is anyways not the mode my customer is looking for.

Could You please confirm my understanding or provide any further details?

Many thanks and best regards,

Gregor

  • Hi Gregor,
    Please see the below link:
    processors.wiki.ti.com/.../MatLab_and_CCS

    I would also suggest contacting Mathworks support directly for more information. They can help you best.

    Thanks
    ki
  • Hi Gregor,

    While MathWorks did discontinue specific C6XXX support, we have many customers using our tools to program these devices. The old C6XXX support was base don CCSv3.3, and only partially worked with CCSv4 and CCSv5, and was not supported for CCSv6 or CCSv7 - so it's quite old (technology and workflow).

    We recommend CXXXX customers use our algorithm export workflow. You design your algorithm in MATLAB and Simulink, do your simulation and analysis there, then use Embedded Coder to generate customizable C code of your algorithm. Once you have the C code, you can import that into your CCS project and use CCS to program the C6XXX device. We have tons of info on our website and in our documentation that talks about this algorithm export workflow.

    HTH,

    -Brian

  • Ki, Brian,

    thank You for Your feedback!

    @Ki,
    I am aware of this link and got my info I mentioned in my initial post from there.

    @Brian,
    unfortunately my customer is more looking for a way to control/debug the target (--> controlling the CCS IDE from Matlab) and exchange data between target/CCS and Matlab. So it is not an issue of porting an algorithm from Matlab to C-code for C6xxx target.
    If I understood correctly, then this is called "Embedded IDE Link" but is only supported for older versions of CCS.

    Would this work with C674x (part of our latest radar chips AWR1642), CCS3 & Embedded IDE Link?
    (I know it is not an optimal solution, since CCS3 is quite old)

    Many thanks and best regards,
    Gregor
  • Hi Gregor,

    You should try to use CCSv3.3, that is the best supported release for the old MathWorks IDE workflow. Multiple features broke with the release of CCSv4 and CCSv5, and the IDE automation is not fully available in those releases.

    I would suggest trying MathWorks Release R2016a, that is the last release with specific C6000 support (via Add-On Explorer).

    https://www.mathworks.com/matlabcentral/fileexchange/45080-embedded-coder-support-package-for-texas-instruments-c6000-dsps

    Unfortunately, with us having discontinued it a year and a half ago, and with the technology being so old, I think getting tech support of any kind will be a challenge. I personally have installed the support, but never tried to use it. So You will need to rely on the documentation and examples that are included in the Support Package.

    HTH,

    -Brian

  • Hi Brian,

    thank You very much for Your inputs, this already helps!

    Best Regards,
    Gregor