P&E Microcomputer Systems, Inc. reserves the right to make changes without further notice to any products herein to
improve reliability, function, or design. P&E Microcomputer Systems, Inc. does not assume any liability arising out of the
application or use of any product or circuit described herein.
This software and accompanying documentation are protected by United States Copyright law and also by International
Treaty provisions. Any use of this software in violation of copyright law or the terms of this agreement will be prosecuted.
All the software described in this document is copyrighted by P&E Microcomputer Systems, Inc. Copyright notices have
been included in the software.
P&E Microcomputer Systems authorizes you to make archival copies of the software and documentation for the sole
purpose of back-up and protecting your investment from loss. Under no circumstances may you copy this software or
documentation for the purpose of distribution to others. Under no conditions may you remove the copyright notices from
this software or documentation.
This software may be used by one person on as many computers as that person uses, provided that the software is never
used on two computers at the same time. P&E expects that group programming projects making use of this software will
purchase a copy of the software and documentation for each user in the group. Contact P&E for volume discounts and site
licensing agreements.
P&E Microcomputer Systems does not assume any liability for the use of this software beyond the original purchase price
of the software. In no event will P&E Microcomputer Systems be liable for additional damages, including any lost profits,
lost savings or other incidental or consequential damages arising out of the use or inability to use these programs, even if
P&E Microcomputer Systems has been advised of the possibility of such damage.
By using this software, you accept the terms of this agreement.
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names
are the property of their respective owners. Kinetis and ColdFire are registered trademarks of Freescale Semiconductor,
Inc.
P&E Microcomputer Systems, Inc.
98 Galen St.
Watertown, MA 02472
The Tracelink is a powerful development interface capable of capturing external trace
data on Freescale microcontrollers.
The Tracelink is designed to help developers find and diagnose software bugs quickly
and efficiently. While a microcontroller is running, the Tracelink is constantly recording
trace information into its internal memory buffer, which can later be used by
supporting software to provide program flow charts and profiling statistics.
Figure 1-1: P&E’s Tracelink
In addition to trace capture, the Tracelink also supports all standard run control
operations, such as single-stepping, setting breakpoints, register/memory access,
and flash programming. The following features make the Tracelink an extremely
valuable debug tool:
Tracelink User Manual1
•Multiple Freescale Architecture Support
• ColdFire V2-4
• Kinetis
• S12Z (coming soon)
•External Trace Capture
• Supports trace port speeds up to 250 MHz
• 128MB of trace storage
•Multiple Voltage Operation
• Automatically detects and caters to target voltages ranging from 1.8V to 5V
•Target Power Generation
• Can generate 2V, 3V, or 5V to directly power target microcontroller
•Multiple Communication Interfaces
• Ethernet 10/100 baseT
• USB 1.1
Additional Tracelink resources can be found at pemicro.com/tracelink.
Tracelink User Manual2
2QUICK START GUIDE
Step 1. Install Software
The accompanying software includes all necessary drivers and configuration utilities
needed for the Tracelink. After installation is complete, make sure the PC is rebooted
before moving on to the configuration step.
Step 2. Power On Tracelink
Power up the Tracelink by connecting the included 9V power supply. A blue LED will
be illuminated on the Tracelink to indicate it is receiving power.
Step 3. Ethernet Configuration
Connect the Tracelink to the PC using a USB connection. Run the ConfigureIP
software utility to set up the network parameters (IP address, subnet mask, etc.). The
Ethernet port will not function properly until this one-time configuration is complete.
You may wish to refer to Section 5 - ETHERNET CONFIGURATION. If the Tracelink
Ethernet connection is not required, this step may be skipped.
Step 4. Hardware Setup
Connect the appropriate ribbon cable between the Tracelink and the target board. The
Tracelink case flips open for easy access to the ribbon cable connectors. Power up
the target board. A yellow LED on the Tracelink will be illuminated to indicate that it is
detecting target power.
Finally, connect the USB or Ethernet cable from the Tracelink to the host PC.
Step 5. Launch PC Software
The Tracelink is now ready to be used with PC software to debug and analyze trace.
Please refer to the documentation from the software vendor (e.g., P&E software,
Freescale
TM
CodeWarrior) for more details on any additional configuration that may be
required.
Tracelink User Manual3
3TRACELINK HARDWARE
This chapter provides more in-depth technical detail about the features and interfaces
of the Tracelink unit.
3.1Tracelink Power Supply
The Tracelink requires a regulated 9V DC center positive power supply with a 2.5/
5.5mm female plug. The power supply plugs into the power jack located on the top of
the unit.
3.2Ethernet Connector
Figure 3-1: Power Jack
The Tracelink provides a standard RJ45 socket to communicate with a host PC
through the Ethernet Port (10/100 BaseT).
Figure 3-2: Ethernet Connector
Tracelink User Manual4
3.3USB Connector
The Tracelink provides a USB connector for Universal Serial Bus communications
with the host PC. The Tracelink is a USB 1.1 compliant device.
Figure 3-3: USB Connector
3.4Target Debug Connectors
The different families of Freescale microcontrollers are supported via the multiple
debug headers located on the Tracelink. These headers are accessed by flipping
open the plastic case. Pin 1 of each header is marked with the number “1” and also
has a rounded corner.
Note: To avoid improper connections, the red stripe of the ribbon cable should always be
oriented towards Pin 1.
Warning: Do not attempt to use multiple ports at once, as this may damage both the target
processors and the Tracelink.
Tracelink User Manual5
Figure 3-4: Tracelink Headers, Pin 1 Highlighted
Note: For signals requiring pull-up or pull-down resistors, please note that most
microprocessors implement internal resistors to meet these requirements. Otherwise,
an external resistor must be used.
Tracelink User Manual6
3.4.1PORT A: Kinetis (Mini-10)
Table C-1. Kinetis Mini-10 Signals (PORT A)
SignalDirectionDescription
TVCCInputTarget reference voltage. Needs to be con-
Figure 3-5: Port A Pinout
nected to the microprocessor’s operating voltage (1.8V to 5V) and is used by the Tracelink
to determine the correct voltage level to use on
output signals. Required.
TMS/
SWD_DIO
GNDInputGround signal. Connect to the digital ground
TCK/
SWD_CLK
TDOInputDebug communication signal. Pull-up resistor
TDIOutputDebug communication signal. Pull-up resistor
RESETI/OMicroprocessor reset signal. This signal is
Tracelink User Manual7
I/ODebug communication signal. Pull-up resistor
required. Required.
signal of the microprocessor. Required.
OutputDebug communication signal. Pull-down resis-
TVCCInputTarget reference voltage. Needs to be con-
nected to the microprocessor’s operating
voltage (1.8V to 5V) and is used by the
Tracelink to determine the correct voltage
level to use on output signals. Required.
TMS/SWD_DIOI/ODebug communication signal. Pull-up resistor
required. Required.
GNDInputGround signal. Connect to the digital ground
signal of the microprocessor. Required.
TCK/SWD_CLKOutputDebug communication signal. Pull-down
resistor required. Required.
Tracelink User Manual8
Table C-1. Kinetis Mini-20 Signals (PORT B)
SignalDirectionDescription
TDOInputDebug communication signal. Pull-up resistor
recommended. Recommended.
TDIOutputDebug communication signal. Pull-up resistor
required. Recommended.
RESETI/OMicroprocessor reset signal. This signal is