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.

SIMPLELINK-OPENOCD: Selecting one among multiple connected boards

Part Number: SIMPLELINK-OPENOCD
Other Parts Discussed in Thread: LPSTK-CC1352R, CC1352R

For a OpenThread project, I have

  • multiple LPSTK-CC1352R end devices connected through the XDS110 programmer-debbuger of the CC1352R LaunchPad boards,
  • plus one CC1352R LaunchPad as router.

I'm keeping all boards connected and I'm using SIMPLELINK-OPENOCD to upload the respective executables.

How to select one board among the multiple connected?

XDS110 serial number

Each XDS110 debug probe has a serial number. The Vendor ID of Texas Instruments is VID=0451.

% lsusb -d 0451: 2> /dev/null

Bus 020 Device 001: ID 0451:bef3 Texas Instruments XDS110 (02.03.00.18) Embed with CMSIS-DAP Serial: L410084W

The serial number of the connected XDS110 debug probe is L410084W.

Using DSLite

The .ccxml file should be modified to include that serial number.

<property Type="choicelist" Value="1" id="Debug Probe Selection">
  <choice Name="Select by serial number" value="0">
    <property Type="stringfield" Value="L410084W" id="-- Enter the serial number"/> 
  </choice>
</property>

And OpenOCD?

On Chapter 8: Debug Adapter Configuration of the OpenOCD User’s Guide, the ST-Link features hla_serial to select one specific board.

  • Does the XDS110 driver offer a similar feature? 
  • Otherwise, how to select one board among the multiple connected through XDS110 and SIMPLELINK-OPENOCD?

Thank you and best regards,

**Attention** This is a public forum