Host Sw Interfaces - Texas Instruments XDS110 User Manual

Debug probe
Hide thumbs Also See for XDS110:
Table of Contents

Advertisement

www.ti.com
To use stune, open a command window and change directories to the stune directory in the CCS
installation at: <Install base>\ccs_base\emulation\analysis\bin\stune. Type "stune" and press enter to drop
into the stune command shell.
The first step is to establish connection. Use the connect command with the target connection file in the
following format within stune:
connect -c targetConfig.ccxml xds
EnergyTrace data can be collected either for a fixed duration, or for an indefinite duration with user
intervention to stop trace collection. In fixed duration mode, when trace collection stops, the average,
maximum, and minimum current and total energy consumed is reported. In the indefinite mode, when
trace collection starts, the window is updated with live updates for the current and energy values, until the
user terminates the collection by pressing Ctrl+C.
For example:
To capture 5 seconds of EnergyTrace, enter the following command:
energytrace -D 5000 -o output.csv et
The –D option specifies the time in milliseconds.
The –o option specifies the output filename. The file format is fixed as CSV.
To capture EnergyTrace with user intervention to stop collection, omit the –D option.
energytrace -o output.csv et
The –o option specifies the output filename. The file format is fixed as CSV.
To stop collection, press the Ctrl+C key combination.
3.7

Host SW Interfaces

3.7.1
Serial Communications
A bidirectional UART channel is provided for additional host to target communications (with the probe as a
UART-to-UART bridge and the UARTs mapped on the AUX header). The UART channel is realized on the
host through a USB CDC driver, and enumerated as Virtual Comm Port.
3.7.2
CMSIS-DAP
CMSIS-DAP is a standard interface for creating debug probes capable of debugging ARM Cortex
microcontrollers through the CoreSight debug access port (DAP). CMSIS-DAP support consists of
software that is ported into the firmware of an interface chip, such as the TM4C129 CPU of the XDS110.
This firmware code provides a standardized USB interface that allows the host to make DAP access
requests, and handles converting those requests into the necessary JTAG or SWD protocols.
CMSIS-DAP has been included as part of the XDS110 debug probe. Any debugger able to communicate
with a CMSIS-DAP-enabled debug probe can use the XDS110 directly with no other software required.
Debuggers that include support for CMSIS-DAP include the following: Keil uVision, IAR Workshop, and
OpenOCD.
The USB VID/PID of the XDS110 are 0x0451/0xbef3. Some CMSIS-DAP debuggers may require the user
to provide these IDs to find the XDS110.
3.7.3
TI XDS Utilities
The XDS110 probe supports three utilities that can be useful for managing debug functionality external to
a debug IDE.
3.7.3.1
Rest Control Utility – xds110reset
xds110reset is a command line utility to control the board reset feature of the XDS110. xds110reset was
created to provide reset control, without the need to install the entire XDS software stack.
SPRUI94 – January 2017
Submit Documentation Feedback
Copyright © 2017, Texas Instruments Incorporated
Functional Description and Operation
XDS110 Debug Probe
17

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents