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!
although normally you can only have one active debug session .... the following tips may allow you to do what you desire ....
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.
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." ?
let me send you the equivalent for the XDS100 ... sorry about that. I work mostly with the MSP430.
go to the advanced tab in the ccxml ....see the screenshot. You can select by serial number.
Also see this helpful topic ..
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?
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.
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!
great, I am extremely glad to hear and all the best with development. My appologies for the initial confusion there.
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.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.