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.

Multiple targets

Hi,

I would like to start out by saying that i have no problems connecting my target board to my computer. I know the procedure....connect board to computer, create a target configuration file, launch the target configuration file, export the .out to the board, click on "run" to run the processor on the target board, etc. What i am wondering is how to connect multiple targets to my ccs. For example i would like to connect my USB bus to my computer and connect multiple devices to my usb bus and when i fire off CCS i would like to pick which board i am launching for the debug session.  Is that possible? if so how? I am aware of DSS, debug server, etc. I am planning on doing this for the Hercules and Stellaris boards

  • Hi Daniel, 

     You can easy connect 2 or 3 targets to one JTAG and then debag it simultaneously. To do so you need to connect your targets in daisy chain style (TDO of the first target to TDI of the second and so on). After this open CCS setup utility, create new connection and add as many processors as you need. 

    I think there are some notes according parallel debugging in CCS help.

    If you need to connect 4 or more targets to one JTAG you need to use some booster for the JTAG lines.



    Roman

  • Daniel - To add on to Roman's response, you can also plug multiple USB emulators (whether external or onboard) to the PC and use each one individually as needed. Note that the procedure for setting this up can vary depending on which emulators you are using and if you will have a mix of different ones. For example, having multiple XDS100s connected to one PC will require you to obtain and specify the serial numbers for each XDS100 in the target configuration files. Multiple XDS510USB emulators require you to set different port addresses with a maximum of up to four (0x510, 0x511, 0x512, 0x513). If you are using  

    Thanks

    ki

  • Roman,

    Thank so much for taking the time to reply. Here is my response.

    The board that i have basically has a mini usb socket. To connect my board to the computer i have to connect a usb-to-usbmini cable from the board to the computer. My board does not have the typical jtag pins. I believe my target board already has an emulator onboard. I can tell because whenever i do the ccxml file i have to specify "SXS100v2". So that means that daisy chaining them is out of the question (I think).

     

  • ki,

    I think you are in the right path. Could you elaborate a little more? I am using XDS USB emulator and yes they are all onboard and they are all the same. A follow up question are

    1. How can i get the serial number for each of my boards? What is the easiest way?

    2. Once i obtain the serial number for each of my board what next? You mention that i should specify them in the target configuration file however in the target configuration i cannot see where i would input the serial number for the particular target....i am going into the "source" tab in the target configuration section. I dont see where i can plug in the serial number.

    3. Could you elaborate more on this? "Multiple XDS510USB emulators require you to set different port addresses with a maximum of up to four (0x510, 0x511, 0x512, 0x513). If you are using "

  • Daniel Robinson86265 said:
    I am using XDS USB emulator and yes they are all onboard and they are all the same.

    are they XDS100 USB?

  • Yes, each target does have an onboard XDS100 USB.

    Basically ki i would like to know if CCS can query each board?

  • Daniel - check out:

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

    This has information on how to query all the connected XDS100 emulators and get the serial number for them and how to use the serial numbers.

    Thanks

    ki