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.

TMS320F280049: C2000 microcontrollers forum

Part Number: TMS320F280049

Tool/software:

How do I compile CCS using CLA in the TIDM-2000 example?

  • Hello,

    The TIDM-2000 reference design should automatically compile the correct files for the CLA and the c28x. If you would like to step through the CLA task in the debugger, you can do the following:

    1. Add a __mdebugstop(); call in the CLA task where you want the debugger to stop
    2. Launch the target configuration
      1. both cores should be disconnected
    3. "Connect Target" for the c28x
      1. c28x will be suspended  
      2. It may throw an error about not having the debug information at this point, that can be ignored
    4. Load the .out file onto the c28x (Run >> Load >> Load Program >> [navigate to the .out file])
      1. c28x will be suspended still
    5. "Connect Target" for the CLA
      1. both cores will be suspended
    6. Load the .out symbols onto the CLA (Run >> Load >> Load symbols >> [navigate to the .out file])
    7. Switch context to the c28x (click on it in the debug window) and Resume
    8. Switch context back to the CLA and you should see it stop at the __mdebugstop();

    Best Regards,

    Delaney

  • Thank you for answering.

    What I want to know is how to create .OUT that contains CLA.

  • Hello,

    If the CLA support is enabled in the processor options of the project settings, the .out file will contain the compiled code for both the c28x and the CLA. You can load the same .out file on both cores. See the section 10.1 How to Invoke the CLA Compiler of the guide linked here. Please upvote this response if that answers your question.

    Best Regards,

    Delaney