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/TMS570LC4357: 1 board, 2 MCUs and 1 JTAG - debug two different projects simultaneously in CCS?

Part Number: TMS570LC4357

Tool/software: Code Composer Studio

Hi,
I had a question Oct 2017:

CCS/TMS570LC4357: JTAG daisy-chain with 1 board, 2 MCUs and 1 JTAG. How to use/setup CCS?

https://e2e.ti.com/support/tools/ccs/f/81/t/631986?tisearch=e2e-sitesearch&keymatch=wachenfeldt

This works fine but now I have a new query regarding this. 

We have JTAG daisy-chain with 1 board, 2 MCUs and 1 JTAG. 
We have different applications (project) for the MCUs. 

Is it possible to debug both projects simultaneously in CCS in some way? 

Kind regards,
Lars von Wachenfeldt
Bombardier Transportation
Rail Control Solutions

  • Lars,

    Manual Way:

    Once you have launched the debug session you should see both MCUs in the Debug View.  Select the first one, click connect, then click the load program button.  In the dialog that opens you can click on the Browse Project button.  Select the program generated by the project.  Repeat for the other MCU and project.

    More automated way:

    After you have done the manual way once you can attempt to simplify it.  Click on the little down arrow beside the bug button.  Select Debug Configurations.  In the dialog that opens select the debug launch configuration on the left that has the name of the .ccxml file you created.  Click on the program tab on the right.  You will see a drop down box that allows you to select the CPU.  For the first CPU specify the project to use by clicking on the workspace button and selecting the project. I think it may then automatically populate program.  If it does not then click the workspace button beside program and select the program from the project. Now change the drop down at the top of the dialog to the other CPU and specify the other project/program.

    Click the apply button to save the settings.

    Then click close to close the dialog.

    Now you can launch that debug configuration by click the down arrow beside the bug button and then selecting the name of your .ccxml that appears in the list.

    Regards,

    John

  • John,

    many thanks for your eminent instructions and it works perfectly! Superb service as usual! Top notch.

    Best regards,

    Lars

  • Thanks Lars. Great to hear that it worked.

    Regards,
    John