Texas Instruments XDS110 Скачать руководство пользователя страница 12

Functional Description and Operation

www.ti.com

12

SPRUI94 – January 2017

Submit Documentation Feedback

Copyright © 2017, Texas Instruments Incorporated

XDS110 Debug Probe

3

Functional Description and Operation

3.1

Basic Setup for the Debug Connection

Setting up the XDS110 debug probe is similar to most of the other debug probes in the TI portfolio, and
the general debug tool documentation can guide users on the basic setup.

Refer to the

CCS getting started guide

for details on setup and configuration steps. Similar documentation

exists for other IDE vendors. Extra setup steps are required for some features, and these are outlined
below.

3.1.1

Target-Supplied Power

The XDS110 debug probe can be used for debugging targets across 1.8-V to 3.6-V IO levels. The
XDS110 probe can also be used to supply power to targets with 1.8-V to 3.6-V IO and with current draw
limited to ~400 mA. Configuring the power supply capability requires some additional setup steps.

3.1.1.1

Hardware Setup

When the target is being powered externally, the debug probe does not supply the power. The only
connection between the XDS110 and the target is the JTAG header. No other HW setup is required.

3.1.1.2

CCS Setup

To use the XDS110 probe in Code Composer Studio, CCSv7.0 or later must be installed. To set up the
connection properties, open the CCXML target configuration for the target, click on the Advanced tab, and
select the XDS110 in the hierarchy. The panel on the right shows all the XDS110 connection properties.
Set the Power Selection field to Target supplied power, and the Voltage Level to Default, as shown in

Figure 4

.

Figure 4. Setup Power Source Control

3.1.2

Probe-Supplied Power

The ability to supply target power from the probe is a new feature of the XDS110, and requires additional
HW and SW setup.

3.1.2.1

Hardware Setup

In this mode, the XDS110 JTAG header is connected to the target for debug, and the XDS110 AUX cable
is used to supply the power. The TGTSUPPLYOUT and GND pins on the AUX connector (refer to the

Figure 3

) are connected to the supply pins of the target.

3.1.2.2

CCS Setup

To use the XDS110 probe in Code Composer Studio, CCSv7.0 or later must be installed. To set up the
connection properties, open the CCXML target configuration for the target, click on the Advanced tab, and
select the XDS110 in the hierarchy. The panel on the right shows all the XDS110 connection properties.
Set the Power Selection field to Probe supplied power. An edit box appears for voltage level. Specify the
target IO voltage level in the edit box.

Figure 5

shows an example configuration with supply set to 3.3 V.

Содержание XDS110

Страница 1: ...XDS110 Debug Probe User s Guide Literature Number SPRUI94 January 2017 ...

Страница 2: ...s and Definitions 6 2 Probe Interfaces 8 2 1 Supported Communication Protocols 8 2 2 USB 8 2 3 Debug Interface 8 2 4 Auxiliary Debug Interface 9 2 5 Probe Expansion Header 10 3 Functional Description and Operation 12 3 1 Basic Setup for the Debug Connection 12 3 2 Auxiliary Target Control 13 3 3 SWO Trace Capture 13 3 4 ETB Trace Support 13 3 5 LED Operation 13 3 6 Energy Trace 13 3 7 Host SW Inte...

Страница 3: ...lied Power and Voltage Level 13 6 Enabling ET on Connect 14 7 Selecting XDS110 15 8 EnergyTrace Overview 15 9 EnergyTrace and the Toolbar 16 10 EnergyTrace Dynamic View 16 11 xdsdfu Screenshot 19 12 dbgjtag Screenshot JTAG Integrity Test 22 13 dbgjtag SWD Integrity Test 23 14 dbgjtag Scan Path Test 23 List of Tables 1 Acronyms and Definitions 6 2 Expansion Header Signal Mapping 11 3 LEDs and Probe...

Страница 4: ...ace ET technology 1 1 XDS110 Probe Feature Summary Basic debug communications to the target system IEEE 1149 1 JTAG IEEE 1149 7 cJTAG ARM serial wire debug SWD Enhanced and auxiliary debug communications Support for trace capture through ARM serial wire output SWO UART mode only Support for UART communications to and from the target system Support for GPIO channels Target I O voltage support from ...

Страница 5: ...bug performance than XDS100v2 Depending on the target device host environment and configuration the XDS110 performs 3 to 5 better than the existing XDS100v2 debug probe Example BeagleBone Cortex A8 Code Composer 6 2 setup on Windows 7 PC XDS100v2 RAM download 21 kbps XDS110 RAM download 110 kbps NOTE Some TI scan based debug platforms such as the C6000 C5500 and C2000 DSP families will not see the...

Страница 6: ...emale connector for the probe One debug connection cable with CompactTI 20 pin connector CTI 20 One auxiliary connection cable with 14 pin header One CTI 20 to Cortex M 20 pin adaptor One CTI 20 to Cortex M 10 pin adaptor One CTI 20 to TI 14 pin adaptor One 14 signal AUX breakout adaptor 1 6 Acronyms Abbreviations and Definitions Table 1 shows the common acronyms and abbreviations used in this doc...

Страница 7: ... TDO Test data out TMS Test mode select TRSTn Test reset not UART Universal asynchronous receiver transmitter USB Universal serial bus CAUTION This debug probe contains components that can potentially be damaged by electrostatic discharge Always transport and store the debug probe in the supplied ESD bag when not in use Handle using an antistatic wristband Operate on an antistatic work surface For...

Страница 8: ...ng no hardware handshakes 2 2 USB Host to probe communication is accomplished through a USB link The probe has a female micro USB B type connector The probe functions as a USB device only no host mode or OTG Power for the XDS110 probe is sourced from the USB VBUS 5 V 2 3 Debug Interface The XDS110 probe supports a debug connection interface through the standard CTI 20 connector see Section 2 3 1 T...

Страница 9: ...ard CTI 20 connector These additional features include A probe target UART Probe supplied target power May be monitored for ET Target power supply input May be looped back to the Target after monitoring for ET Four GPIO signals 2 Probe to target 2 Target to probe These signals are replicated the CTI 20 connector but are also present for scenarios where adaptors on the CTI 20 are supporting debug c...

Страница 10: ...e controller and that voltage is supplied on the connector A 5 V source is also available for higher voltage needs such as relays The expansion port also has interfaces for accepting a power input supplied by the target system and a path to send power back to the target system through the XDS110 probe AUX connector The primary use case for these features is for energy trace monitoring but it can b...

Страница 11: ...SIDAT0 5 6 ET_PN2 109 GPIO PN2 GPIO PE5 ADC AIN8 124 ET_SSIDAT1 7 8 ET_PN3 110 GPIO PN3 Ground GND 9 10 GND Ground ADC AIN1 GPIO PE2 13 ET_AIN1 11 12 ET_SCL 112 GPIO PN5 ADC AIN2 GPIO PE1 14 ET_AIN2 13 14 ET_SDA 111 GPIO PN4 GPIO PB0 CAN1 RX UART1 RX I2C5 Clock 95 ET_PB0 15 16 ET_PM2 76 GPIO PM3 Timer3 CCP0 GPIO PC4 UART7 RX 25 ET_PC4 17 18 ET_PH3 32 GPIO PH3 GPIO PB1 CAN1 TX UART1 TX I2C5 Data 96...

Страница 12: ...use the XDS110 probe in Code Composer Studio CCSv7 0 or later must be installed To set up the connection properties open the CCXML target configuration for the target click on the Advanced tab and select the XDS110 in the hierarchy The panel on the right shows all the XDS110 connection properties Set the Power Selection field to Target supplied power and the Voltage Level to Default as shown in Fi...

Страница 13: ...se SWO trace in Code Composer Studio and the devices supported refer the documentation at the following link http processors wiki ti com index php SWO_Trace 3 4 ETB Trace Support The XDS110 probe supports exporting trace data stored in on chip buffers called ETB embedded trace buffer The trace data captured in the ETB is device or trace component specific For more details on using the ETB refer th...

Страница 14: ...s mode will be available in upcoming devices The XDS110 can support all of the above modes if the target device supports it 3 6 3 Hardware Setup The XDS110 debug probe must supply power to the target for measuring energy Refer to Section 2 for hardware setup required when the probe is supplying power 3 6 4 Usage in Code Composer Studio The EnergyTrace tool in Code Composer Studio can be used for p...

Страница 15: ...time can be changed by clicking on the stopwatch icon in the EnergyTrace Technology window Figure 8 shows a sample collection of 10 seconds The Main UI shows the average minimum and maximum current and power consumed as well as the total energy consumption It also indicates the estimated battery life The graphs show the consumption over time Figure 8 EnergyTrace Overview The EnergyTrace session is...

Страница 16: ...ure causing a shoot up of the power and current consumed indicating wakeup followed by a dip which indicates entry into a low power state Note that the device is completely disconnected Figure 10 EnergyTrace Dynamic View The EnergyTrace Technology window shows the true values for average minimum and maximum current and power consumed as well as the total energy consumption It also indicates the es...

Страница 17: ...ction 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 int...

Страница 18: ...T serial TEXT Select the XDS110 probe by serial number TEXT is the serial number to use up to eight characters If not specified the first XDS110 found is used h help Show help for these commands and exit Examples How to reset the target using an XDS110 xds110reset xds110reset connects to the first XDS110 it finds It then toggles the board reset line holding it asserted for 50 ms How to toggle the ...

Страница 19: ... the given bootloader file into the device f FILE Download the given firmware file into the device s TEXT Set the XDS110 serial number to given text any eight character string no spaces This option replaces the entire serial number r Reset the XDS110 on completion of another command or h Show help for these and additional commands Examples How to examine the firmware in all connected XDS110 probes...

Страница 20: ...ands for testing and operating the features of Texas Instruments debug probes dbgjtag is a tool for diagnosing problems with the debug connection and dbgjtag allows the user to exercise some control over features of the debug probe dbgjtag provides the following features for XDS110 users Report the installed XDS emupack software version Test the reliability of the debug connection JTAG cJTAG and S...

Страница 21: ... given major command For example S help Examples How to get help dbgjtag h When executing dbgjtag the h command displays a list of the major commands and display information about the specific build of dbgjtag including the emupack version To find help on a specific major command execute the command with help for the sub command For example to get help for the scan command execute the following db...

Страница 22: ...2 dbgjtag Screenshot JTAG Integrity Test The IR and DR scan paths are tested separately Look for both to have succeeded to know that the debug connection is working correctly This is the test performed by the Test Configuration button in CCS How to test the debug connection for SWD mode dbgjtag f xds110swd S integrity The output for a successful test appears as in Figure 13 ...

Страница 23: ...result of the test appears as in Figure 14 Figure 14 dbgjtag Scan Path Test The IR and DR paths are measured separately The IR measurement is the sum of all of the IR lengths in the scan path The DR measurement is the sum of all of the DR lengths with all of the devices in the scan path put into BYPASS Because the DR length while in BYPASS is 1 bit the DR measurement can be used as a count of the ...

Страница 24: ...onfigure these as outputs to enable these pins config number sets the direction of each GPIO Writing a b 1 for a GPIO configures it as an output Writing a b 0 for a GPIO configures it as an input Only GPIO 1 and GPIO 0 can be configured as outputs write number sets the output level of the GPIO pins configured as outputs Writing a b 0 to a GPIO sets the output level low Writing a b 1 to a GPIO sets...

Страница 25: ...adaptor Table 4 CTI to Other Adaptor Pin Mapping Signal XDS110 Pin CTI20 Pin CM20 Pin 1 CM10 Pin 1 TI14 Pin SWDIO TMS 1 1 2 2 1 TRSTn 2 2 2 TDI 3 3 8 8 3 TDIS 4 4 4 VTREF 5 5 1 1 5 KEY 6 6 7 7 6 TDO SWO 7 7 6 6 7 GND 8 8 3 5 9 11 15 17 19 3 5 9 8 RTCK 9 9 GND 10 10 10 SWCLK TCK 11 11 4 4 11 GND 12 12 12 EMU0 TRIGOUT0 13 13 13 EMU1 TRIGOUT1 14 14 14 nRESET 15 15 10 10 GND 16 16 EMU2 TRIGIN0 17 17 E...

Страница 26: ...ack Copyright 2017 Texas Instruments Incorporated XDS110 Debug Probe Table 5 Auxiliary Breakout Board Signal Mapping XDS110 AUX Signal Break Board Interface Pins TGTSUPPLYIN 1 TGTSUPPLYOUT 2 TGTVDD Sense 3 GND 4 5 10 GPIOOUT0 6 GPIOOUT1 7 GPIOIN0 8 GPIOIN1 9 UARTTX 11 UARTRX 12 ...

Страница 27: ... TI Resource NO OTHER LICENSE EXPRESS OR IMPLIED BY ESTOPPEL OR OTHERWISE TO ANY OTHER TI INTELLECTUAL PROPERTY RIGHT AND NO LICENSE TO ANY TECHNOLOGY OR INTELLECTUAL PROPERTY RIGHT OF TI OR ANY THIRD PARTY IS GRANTED HEREIN including but not limited to any patent right copyright mask work right or other intellectual property right relating to any combination machine or process in which TI product...

Страница 28: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Texas Instruments TMDSEMU110 U ...

Отзывы: