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 target debugging: CCS5 and Stellaris ICDI (Eval Boards)

Is it possible to debug on 2 Stellaris EK-LM3S1969 eval boards (or similar) from the same PC? (Motivation here is to test I2C interaction between two Stellaris devices.) Some approaches I've considered:

  • Run 2 instances of CCS5 (in separate workspaces)
  • Set up a target configuration file with 2 connections, then set up the debug configurations of the 2 projects (within a single CCS5 instance) to use each
The trouble I'm having is in how to tell apart the two eval boards. When I plug both into the PC, I can only seem to access one connection from the Debug perspective (my two target connections appear to both be talking to the same eval board). I don't see anything in the target configuration Advanced properties that allows me to select which board I use.
If needed, I can set up 2 separate PCs for this project, but I would much prefer to work from a single machine.
  • Hi David,

    what emulator are you using?  Have you tried connecting to one and setting CCS in the project generic debug settings to connect to first available?  Have you looked at the project->property->debug settings? 

    Best Regards,

    Lisa

  • Hi David,

    are you using the ICDI for both of them?

    Best regards,
    Lisa

  • Yes, they are identical EKS-LM3S1969 eval boards, using the ICDI emulator interface.

  • Hi David,

    have you tried looking in the debug settings? 

    Best Regards,

    Lisa

  • Unfortunately you cannot configure 2 ICDI based devices at the same time.  It does not have a way to connect by ID or serial #.  You can do this with XDS100's.

    With the xds100 you can go into the advanced properties of your target configuration.  There is an emulator selection drop down which defaults to Only one XDS100 installed but you can change this to "Select by serial number" and then specify the serial number of the exact one you want to select.

    XDS560s can do something similar where you can specify the port number.

    John

  • I have reviewed the debug settings; the settings there seem to assume that the target and emulator have already been selected in the Target Configuration File. Creating multiple targets in the Target Configuration File enables the "Device" drop down menu, from which you can select a target.

    What I can't seem to do is set up different Devices in the Target Configuration File for each emulator. I'm able to manually add connections and child devices in the Advanced tab, but there isn't any way (that I see) to point them at a specific connected ICDI board. When I debug the project with multiple connections present in the configuration file, I see them all in the "Debug" pane but they point to the same (running) target.

    Dave

  • John - Looks like my reply (to Lisa) crossed paths with yours... :)

    Thanks for the input. Can an outboard XDS100 be used to bypass the on-board ICDI of the eval boards?

    Looks like the quickest way to achieve what I'm looking for is to use 2 separate dev boxes. Fortunately, I have a laptop available for that.

    Thanks,
    Dave 

  • Dave,

    If the kit has a JTAG header on it then yes you can use an XDS100 to bypass the ICDI.  We have done that with some of our boards here.  The newer Stellaris boards typically have a 10pin ARM JTAG header and the older ones a 20pin ARM JTAG header.

    The XDS100v2U-ARM comes withe cables to connect to either of those.

    https://estore.ti.com/TMDSEMU100v2U-ARM-XDS100v2-JTAG-Emulator-20pin-10pin-ARM-connectors-P2960.aspx

    Regards,

    John

  • While this might not help your particular requirement, I found that USBDeview allows you to selectively enable/disable USB devices. My requirement was for a way to select which of two boards (connected to a remote controlled computer) to program. This solution was exquisite.