Freescale Semiconductor P&E Tracelink Скачать руководство пользователя страница 22

Tracelink User Manual

19

Switches

The aforementioned type of process, where the data is simply replicated onto 
every available port, quickly becomes inefficient for larger sized networks. For 
this reason, a larger sized LAN employs the usage of Switches instead of Hubs. 
A Switch is essentially a smart Hub, in that it limits the input and output of data 
to the two transacting computers.

Routers

Larger networks, such as Wide Area Networks (WANs), or the Internet for that 
matter, use progressively more sophisticated devices to transact data. At the 
core of these devices is the Router, which functions as a switch between 
networks. 

The Tracelink performs irrespective of the connection mechanism, with one very 
important caveat: it needs to be set up with the appropriate network parameters for 
the underlying network architecture.

5.2

Network Parameters

A typical network becomes operational not after the physical connections have been 
established, but after network parameters in the form of IP (Internet Protocol) 
numbers 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 network needs to have a unique IP 
number. The computer uses this IP number to identify itself on the network, and also 
to address the recipient of its data.
Assignation of this IP number is sufficient information to transact data on a simple 
network connected by a hub. On a more complex network, however, routing 
information becomes important. The routing information consists of two more IP 
numbers. The first of these is called the Subnet Mask, and is used to determine 
whether or not the destination address resides on the same subnet (i.e., doesn’t need 
to be forwarded to another network). The other IP number is the Gateway Address, 
which is the address of the computer that handles forwarding and receiving of packets 
to and from other networks.
Before first use, the Tracelink needs to be programmed with a unique IP number, the 
Subnet Mask IP number, and also the default Gateway’s IP number. This can be done 
via the USB port and is described in greater detail in the “Configuring the Tracelink” 
section of this manual.

Содержание P&E Tracelink

Страница 1: ......

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Страница 35: ...Tracelink User Manual 32 Figure 7 5 CodeWarrior Display Trace Data...

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

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

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

Страница 39: ......

Отзывы: