• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Development Tools » Code Composer Studio » Code Composer Forum » How to connect 2 MCUs to CCS4
Share
Code Composer Studio
  • Forum
  • Announcements
Options
  • Subscribe via RSS
Common Questions
  • Code Composer Studio Forum Usage Guidelines

  • Resources
  • Code Composer Studio (CCStudio) Product Folder
  • Troubleshooting CCS
  • CCS Wiki
  • Download CCS
  • Order CCS
  • Tools Insider Blog
  • Bug Tracking
  • How to connect 2 MCUs to CCS4

    How to connect 2 MCUs to CCS4

    This question is answered
    Alfred Zhong
    Posted by Alfred Zhong
    on Mar 23 2012 14:18 PM
    Intellectual370 points

    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

    f28335 MCU CCS4 debug connect
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Lisa TI
      Posted by Lisa TI
      on Mar 23 2012 14:39 PM
      Guru99245 points

      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

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Alfred Zhong
      Posted by Alfred Zhong
      on Mar 23 2012 15:04 PM
      Intellectual370 points

      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


      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Lisa TI
      Posted by Lisa TI
      on Mar 23 2012 15:07 PM
      Guru99245 points

      Hi Alfred,

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

      Best Regards,

      LIsa

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Lisa TI
      Posted by Lisa TI
      on Mar 23 2012 15:12 PM
      Verified Answer
      Verified by Alfred Zhong
      Guru99245 points

      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

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Alfred Zhong
      Posted by Alfred Zhong
      on Mar 23 2012 15:22 PM
      Intellectual370 points

      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

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Lisa TI
      Posted by Lisa TI
      on Mar 23 2012 15:27 PM
      Verified Answer
      Verified by Alfred Zhong
      Guru99245 points

      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

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Alfred Zhong
      Posted by Alfred Zhong
      on Mar 23 2012 15:54 PM
      Verified Answer
      Verified by Alfred Zhong
      Intellectual370 points

      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

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Lisa TI
      Posted by Lisa TI
      on Mar 23 2012 15:57 PM
      Guru99245 points

      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

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    TI E2E™ Community
    • Support Forums
    • Blogs
    • Videos
    • Groups
    • Site Support & Feedback
    • Settings
    TI E2E™ Community Groups
    • TI University Program
    • Make the Switch
    • Microcontroller Projects
    • Motor Drive & Control
    Other Communities
    • Deyisupport
    • Designsomething.org
    • beagleboard.org
    • TI on Element 14
    • TI on TechXchangeSM
    Other Technical & Support Resources
    • WEBENCH® Design Center
    • Product Information Centers
    • Technical Documents
    • TI Design Network
    • TI Technical Articles
    • TI Training

    All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

    Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

    Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
    TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

    TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
    embedded processors, along with software, tools and the industry’s largest sales/support staff.

    © Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
    Trademarks | Privacy Policy | Terms of Use