Freescale Semiconductor P&E Tracelink User Manual Download Page 2

Purchase Agreement

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.

©2012 P&E Microcomputer Systems, Inc.

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
617-923-0053
http://www.pemicro.com 

TRACELINKUM
Manual version 1.00
August 2012

Summary of Contents for P&E Tracelink

Page 1: ......

Page 2: ...ftware 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...

Page 3: ...Trace Types 15 4 3 Trace Filtering 16 4 4 Board Design Considerations 16 5 ETHERNET CONFIGURATION 18 5 1 Network Architectures 18 5 2 Network Parameters 19 5 3 Internet Protocol 20 5 4 Connecting The...

Page 4: ...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 statistic...

Page 5: ...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 powe...

Page 6: ...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 ski...

Page 7: ...r 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 Figure 3 1 Power J...

Page 8: ...reescale 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 num...

Page 9: ...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...

Page 10: ...ls Required TMS SWD_DIO I O Debug communication signal Pull up resistor required Required GND Input Ground signal Connect to the digital ground signal of the microprocessor Required TCK SWD_CLK Output...

Page 11: ...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 I O Debug communication signal Pu...

Page 12: ...ired Recommended RESET I O Microprocessor reset signal This signal is driven low during initial debug mode entry Pull up resistor required Required TRACE_CLKOUT Input Trace clock input Required for ex...

Page 13: ...re V2 3 4 Signals PORT C Signal Direction Description BKPT Output Debug communication signal Pull up resistor required Required GND Input Ground signal Connect to the digital ground signal of the micr...

Page 14: ...V and is used by the Tracelink to determine the correct voltage level to use on output signals Required DSO Input Debug communication signal Pull up resistor recommended Required PST 3 0 PSTDDATA 7 4...

Page 15: ...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 TRST Output JTAG signal to reset debug logic Pull u...

Page 16: ...2 which can be accessed by flipping open the plastic case This jumper is NOT installed by default TMS SWD_DIO I O Debug communication signal Pull up resistor required Required TCK SWD_CLK Output Debug...

Page 17: ...ual 14 Figure 3 9 J2 Jumper There is additional configuration needed on the PC software to turn on the target voltage and to specify target voltage value 2V 3V or 5V Refer to the software documentatio...

Page 18: ...escale family and can range from a single bit to 32 bits and higher The trace data is always synchronized to the rising and or falling edges of the trace clock signal Note On many microprocessors the...

Page 19: ...pe of the application code where the bug is occurring For example a large loop which is used to perform delays may take up a large portion of the 128MB trace buffer but does not contribute useful prog...

Page 20: ...r next to the signal layer carrying the trace signals 4 4 4 Minimize crosstalk If the design has multiple signals running parallel to each other for long distances increase the spacing between them to...

Page 21: ...es in use today and how they pertain to the operation of the Tracelink Computers are of course connected to one another through intermediary devices in order to form networks There are several classes...

Page 22: ...s have been assigned to the individual computers An IP number is a unique string that consists of four numbers ranging between 0 and 255 separated by dots e g 192 168 1 2 Every computer that is on a n...

Page 23: ...advantage of TCP IP s alternative the UDP IP protocol Unlike TCP IP the UDP IP protocol is a connectionless single packet protocol that sends short data packets at the expense of not guaranteeing the...

Page 24: ...t 100Mb 10 100Mb half duplex or a full duplex connection The details of the underlying network architecture are beyond the scope of this document but it is sufficient to note that most modern network...

Page 25: ...the Tracelink device please see the following section 5 5 Tracelink IP Setup Utility User Interface ConfigureIP Before the Tracelink device transacts data on an Ethernet network it will need to be con...

Page 26: ...required step before changing the parameters on the selected device Once a device has been selected through the second drop down box and is opened for access its information will be displayed at the b...

Page 27: ...nk IP address 5 6 Using ConfigureIP exe To Configure The Tracelink Before the Tracelink is ready to communicate over an Ethernet network it will need to be configured with the relevant network paramet...

Page 28: ...Tracelink User Manual 25 Figure 5 2 Tracelink IP Setup Utility Initial Screen 2 Click Open to get a dialog box similar to the following Figure 5 3 Tracelink IP Setup Utility Continue Setup...

Page 29: ...Tracelink User Manual 26 3 The Tracelink now needs to be programmed with IP numbers for the network on which it will operate The Tracelink IP Number field must contain a unique IP number...

Page 30: ...Tracelink User Manual 27 6 USB CONFIGURATION Standard USB cables may be used for Tracelink USB port configuration The user may use network hubs as necessary...

Page 31: ...with all available updates installed is required Before following these steps the Tracelink should already be connected to the target board and both should be powered up Step 1 Project Creation To cr...

Page 32: ...as general purpose input output by default and you may need to add a few lines of code to initialize them for trace output Once the changes are made make sure to compile build the project Step 3 Confi...

Page 33: ...using one of the center values such as 2MB and increasing it as necessary Click OK to apply the settings Figure 7 3 CodeWarrior Set Trace Max Buffer Size Navigate to the Trace and Profile tab and che...

Page 34: ...oint or run user halt CodeWarrior will query the Tracelink for trace data This data is automatically downloaded and parsed by the CodeWarrior software analysis engine The results are displayed in the...

Page 35: ...Tracelink User Manual 32 Figure 7 5 CodeWarrior Display Trace Data...

Page 36: ...each feature multiple communications interfaces USB Ethernet and Serial stand alone programming functionality and many other advanced capabilities They work with Freescale s CodeWarrior as well as P E...

Page 37: ...or 8 2 Cyclone In Depth P E s Cyclones are extremely flexible tools designed for debugging testing and in circuit flash programming of Freescale microcontrollers The Cyclone connects your target to th...

Page 38: ...Cyclone programming hardware these Development Packages include in circuit debugging software flash programming software a Windows IDE and register file editor 8 2 2 Enhancements P E also offers add...

Page 39: ......

Reviews: