How to connect 2 MCUs to CCS4

Hi there, 

I am working on a project that needs to do development on 2 MCUs. The MCUs that I am using is C2000 F28335. The CCS version I am using is 4.2.3. I am wondering If I can connect 2 MCUs from just 1 PC. Otherwise, I will need to get another PC to do the development. 

I tried open 2 instances of CCS4. Then just try the normal procedure, go to the debug window. However, it looks like that they tried to connect the same MCU and one of them failed. I hope there is a place to select which USB port to use but I just can't find it.

Does any one know if that is possible? If so, how?

 Thanks a lot!

Alfred

  • Hi Alfred,

    although normally you can only have one active debug session .... the following tips may allow you to do what you desire ....

    Some notes

    1 - You can switch between different target connections provided you close the previous debug session before launching the new one - in other words, it is impossible to debug two devices in the same instance of CCS.

    2 - One thing you can try to do is open two instances of CCS and debug two different devices - obviously using different workspaces.

    In both cases above, the MSP430 target configuration for each device needs to point to a different emulator as well - inside the target configuration editor you must assign one board to TI MSP430 USB1 and the other to USB2.  This is the ccxml file.

    Please keep us informed.

    Best Regards,

    Lisa

  • In reply to Lisa TI:

    Hi Lisa, 

    I am trying the 2nd option.

    I did select 2 different emulator like the attached

    and the 2nd instance

    So one is XDS100v1 USB emulator, the 2nd is XDS100v2 USB emulator.

    I tried "Target Configuration"

    Would you please give more information on how to do

    "In both cases above, the MSP430 target configuration for each device needs to point to a different emulator as well - inside the target configuration editor you must assign one board to TI MSP430 USB1 and the other to USB2.  This is the ccxml file." ?

    Thanks!

    Alfred


  • In reply to Alfred Zhong:

    Hi Alfred,

    let me send you the equivalent for the XDS100 ... sorry about that.  I work mostly with the MSP430.

    Best Regards,

    LIsa

  • In reply to Lisa TI:

    Hi Alfred,

    go to the advanced tab in the ccxml ....see the screenshot. You can select by serial number.

    Also see this helpful topic ..

    http://processors.wiki.ti.com/index.php/XDS100#Q:_Can_I_plug_more_than_one_XDS100_.28multiple_XDS100.29_into_a_PC.3F

    Best Regards,

    Lisa

  • In reply to Lisa TI:

    Hi Lisa, 

    I got to the last step as the screenshot you posted. The Enter the serial number shows "Run xds100serial.exe to get serial number". I didn't change it and just "save"

    Than I tried debug again. I got the same error. Do I need to to something else to make it work?

    Thanks!

    Alfred

  • In reply to Alfred Zhong:

    Hi Alfred,

    Did you look at the wiki I sent ...

    Each XDS100 must have a unique serial number. Run xds100serial.exe installed under CCSv4.1 "<install_dir>/ccsv4/common/uscif/utility"  or for CCSv5  ...\ccsv5\ccs_base\common\uscif to get the serial number of each connected XDS100 emulator. Create Target Configuration for 2 emulators, Under “connection properties”, change “emulator selection” to “select by serial number” option. Enter the corresponding serial number for each emulator. Save and launch debugger.

    You need to get the serial number with the small exe app.

    Please keep us informed.

    Best Regards,
    Lisa

  • In reply to Lisa TI:

    Hi Lisa,

    It seems that I can connect to both. That was awesome.

    Although the directory is slightly different. I found xds100serial.exe at <install_dir>/ccsv4/common/uscif/ftdi/utility/

    Thank you very much! That was very helpful!

    Best,

    Alfred

  • In reply to Alfred Zhong:

    Hi Alfred,

    great, I am extremely glad to hear and all the best with development.  My appologies for the initial confusion there.

    Best Regards,
    Lisa