Freescale Semiconductor CodeWarrior TAP Manuel utilisateur

CodeWarrior TAP Probe User Guide
Document Number: CWTAPUG
Rev 10.x, 06/2014

CodeWarrior TAP Probe User Guide, Rev. 10.x, 06/2014
2 Freescale Semiconductor, Inc.

Contents
Section number Title Page
Chapter 1
Introducing CodeWarrior TAP probe
1.1 What is CodeWarrior TAP probe?..................................................................................................................................7
1.1.1 Product highlights..............................................................................................................................................8
1.1.2 Debugging environment.....................................................................................................................................9
1.1.3 CodeWarrior TAP probe benefits......................................................................................................................9
1.1.4 Target connections.............................................................................................................................................10
1.2 Operating requirements...................................................................................................................................................10
1.2.1 Standard electrostatic precautions......................................................................................................................10
1.2.2 Operating temperature........................................................................................................................................11
1.2.3 Electrical requirements......................................................................................................................................11
1.2.3.1 Connecting power supply cable...........................................................................................................11
1.2.3.2 Cycling power to system......................................................................................................................12
1.3 Related documentation....................................................................................................................................................13
Chapter 2
Connecting to network
2.1 Connecting CodeWarrior TAP probe to network...........................................................................................................15
2.2 Customizing CodeWarrior TAP probe...........................................................................................................................17
2.3 Testing network communication.....................................................................................................................................19
Chapter 3
Connecting to target system
3.1 Debug port connector information..................................................................................................................................21
3.2 Connecting to target system............................................................................................................................................21
3.2.1 Connecting probe tip to target............................................................................................................................23
3.3 Connecting to target system serial port...........................................................................................................................24
3.3.1 Connecting CodeWarrior TAP probe to target system......................................................................................25
3.3.2 Configuring target serial port.............................................................................................................................25
3.3.3 Accessing target serial port................................................................................................................................26
CodeWarrior TAP Probe User Guide, Rev. 10.x, 06/2014
Freescale Semiconductor, Inc. 3

Section number Title Page
Chapter 4
Using CodeWarrior TAP probe
4.1 Debugging with CodeWarrior TAP system....................................................................................................................27
4.1.1 Run/Pause/Mixed mode states...........................................................................................................................28
4.1.2 Connecting to multiple TAP probes...................................................................................................................28
4.2 Accessing CodeWarrior TAP Probe Remotely...............................................................................................................29
Chapter 5
Hardware specifications
5.1 LEDs on CodeWarrior TAP probe.................................................................................................................................31
5.1.1 Transmit/Receive indicator................................................................................................................................33
5.1.2 Run/Pause indicator...........................................................................................................................................34
5.1.3 RJ45 Ethernet connector with link and activity indicators................................................................................34
5.2 Host connectors on CodeWarrior TAP probe.................................................................................................................34
5.2.1 RJ45 Ethernet connector....................................................................................................................................35
5.2.2 USB connector...................................................................................................................................................35
5.3 Target connectors on CodeWarrior TAP probe..............................................................................................................36
5.3.1 RJ25 target serial connector...............................................................................................................................36
5.3.2 Probe tip connector............................................................................................................................................38
5.3.3 Electrical characteristics....................................................................................................................................38
5.3.4 Physical considerations......................................................................................................................................39
Chapter 6
CodeWarrior TAP probe setup utility commands
6.1 Connecting to CodeWarrior TAP probe setup utility.....................................................................................................41
6.2 CodeWarrior TAP probe setup utility commands and variables....................................................................................42
6.2.1 Commands to configure communications..........................................................................................................42
6.2.1.1 netparam...............................................................................................................................................42
6.2.1.2 tgtty......................................................................................................................................................44
6.2.2 Commands to troubleshoot communication......................................................................................................45
6.2.2.1 arp.........................................................................................................................................................45
6.2.2.2 host.......................................................................................................................................................45
CodeWarrior TAP Probe User Guide, Rev. 10.x, 06/2014
4 Freescale Semiconductor, Inc.

Section number Title Page
6.2.2.3 netstat...................................................................................................................................................46
6.2.2.4 ping.......................................................................................................................................................46
6.2.2.5 route.....................................................................................................................................................47
Chapter 7
Network administration
7.1 CodeWarrior TAP probe network ports..........................................................................................................................49
7.2 Configuring CodeWarrior TAP probe using netparam...................................................................................................50
7.2.1 Configuring dynamic IP address........................................................................................................................50
7.2.2 Configuring static IP address.............................................................................................................................50
7.2.3 Static routing......................................................................................................................................................52
7.2.3.1 Specify default gateway or static route table (optional)......................................................................52
7.2.4 Changing existing route entry............................................................................................................................52
7.2.5 Entering static routes..........................................................................................................................................53
7.2.5.1 Static route example.............................................................................................................................54
7.3 Using CCS to search for CodeWarrior TAP probes.......................................................................................................55
7.3.1 Sample output....................................................................................................................................................56
Chapter 8
CodeWarrior TAP probe firmware (core)
8.1 Boot loader......................................................................................................................................................................57
8.1.1 Operating system................................................................................................................................................57
8.1.2 Shell software.....................................................................................................................................................58
8.2 Reprogramming CodeWarrior TAP probe firmware images..........................................................................................58
8.2.1 Reprogramming Firmware through Ethernet Port.............................................................................................58
CodeWarrior TAP Probe User Guide, Rev. 10.x, 06/2014
Freescale Semiconductor, Inc. 5

Section number Title Page
Chapter 9
JTAG/COP connector information
Chapter 10
OnCE connector information
Chapter 11
ColdFire BDM connector information
Chapter 12
Troubleshooting
12.1 Troubleshooting communications problems...................................................................................................................77
12.1.1 Verify network communication.........................................................................................................................78
12.1.2 View network connections.................................................................................................................................78
12.2 Troubleshooting power problems...................................................................................................................................79
CodeWarrior TAP Probe User Guide, Rev. 10.x, 06/2014
6 Freescale Semiconductor, Inc.

Chapter 1
Introducing CodeWarrior TAP probe
The CodeWarrior TAP probe allows your personal computer workstation to communicate
with Freescale Power Architecture, StarCore, and ColdFire processors using a privileged
debug connection, such as COP, OnCE, or BDM.
This chapter explains:
•What is CodeWarrior TAP probe?
•Operating requirements
•Related documentation
CAUTION
The CodeWarrior TAP probe contains components that are
subject to damage from electrostatic discharge. Whenever you
are using, handling, or transporting the CodeWarrior TAP
probe, or connecting to or disconnecting from a target system,
always use proper anti-static protection measures, including
static-free bench pads and grounded wrist straps.
1.1 What is CodeWarrior TAP probe?
The CodeWarrior TAP probe uses advanced emulation technology to provide control and
visibility into your target embedded system.
Combined with a host debugger, the CodeWarrior TAP probe speeds the debugging
process by letting you interactively control and examine the state of your target system.
The basic CodeWarrior TAP probe system is composed of two parts:
CodeWarrior TAP Probe User Guide, Rev. 10.x, 06/2014
Freescale Semiconductor, Inc. 7

• The CodeWarrior TAP probe, which provides visibility into and control of your
target system using a JTAG or BDM interface, and connects to your host computer
through a USB 2.0, 10BaseT, or 100BaseT link.
• JTAG/COP, StarCore, or ColdFire/BDM probe tip, which is designed to provide a
physical and electrical interface to the target system processor that you want to gain
visibility into.
Figure 1-1. CodeWarrior TAP probe
1.1.1 Product highlights
The CodeWarrior TAP probe has these features:
•Supports the Power Architecture, StarCore, and ColdFire™ processors. Go to the
http://freescale.com/CWTAP for the latest supported Freescale processors
What is CodeWarrior TAP probe?
CodeWarrior TAP Probe User Guide, Rev. 10.x, 06/2014
8 Freescale Semiconductor, Inc.

• Supports all CPU core speeds
• Allows you to control and debug software running in-target, with minimal intrusion
into the target system operation
• Allows you to debug code in cache, ROM, RAM, and flash memory
• Supports 10/100 Ethernet network connection
• Supports telnet access to your target systems serial port, allowing you to interact with
your target system's serial port over the network
• Supports USB 2.0 high-speed connection
• USB powered
• Supports both big and little endian byte-order
• Software debug capabilities, usually part of host software like CodeWarrior, include:
• Control instruction execution
• Display and modify target system memory
• Examine and modify any processor registers
• Run to breakpoints in ROM, RAM, or flash memory
• Single-step through source and assembly language code views
• Step into, over, or out of functions
• Collect and analyze real-time data
• Perform boundary scan testing with support from correct host-level software
• Program all onboard memories with support from correct host-level software
1.1.2 Debugging environment
The CodeWarrior TAP probe works with the CodeWarrior debugger to give you control
over the emulation functions and your target system.
1.1.3 CodeWarrior TAP probe benefits
The CodeWarrior TAP probe provides these key benefits:
•Visibility: Allows you to observe registers and the current state of target system
memory. You can halt program execution at predefined states and examine the data
for a particular program state.
•Control: Enables you to control the state of the target system by downloading code,
manually modifying processor registers and memory, single-stepping through the
code, or setting breakpoints.
Chapter 1 Introducing CodeWarrior TAP probe
CodeWarrior TAP Probe User Guide, Rev. 10.x, 06/2014
Freescale Semiconductor, Inc. 9

1.1.4 Target connections
The TAP probe connects to your target through the standard debug port for the processor
family, and supports a single target connection, based on the connected probe tip. For
details on processor list, go to http://freescale.com/CWTAP.
The TAP probes are available in the following Freescale versions:
• JTAG/COP for Power Architecture, QorIQ, PQII, PQIII, T-series, Qonverge, but not
PQI
• BDM for ColdFire targets (not ColdFire v1)
• OnCE for StarCore
For information on connecting to a target, see Connecting to target system topic.
1.2 Operating requirements
Before setting up the system, ensure that the operating environment is prepared.
1.2.1 Standard electrostatic precautions
This instrument contains static-sensitive components that are subject to damage from
electrostatic discharge. Use standard when transporting, handling, or using the instrument
and the target, when connecting/disconnecting the instrument and the target, and when
removing the cover of the instrument.
It is recommended that you use the following precautions:
•Use wrist straps or heel bands with a 1Mohm resistor connected to ground.
• On the work surface and floor, use static conductive mats with a 1Mohm resistor
connected to ground.
• Keep high, static-producing items, such as non-ESD-approved plastics, tape, and
packaging foam away from the instrument and the target.
The above precautions should be considered as minimum requirements for a static-
controlled environment.
Operating requirements
CodeWarrior TAP Probe User Guide, Rev. 10.x, 06/2014
10 Freescale Semiconductor, Inc.
Autres manuels pour CodeWarrior TAP
2
Table des matières
Manuels Instrument analytique populaires d'autres marques

EXTOL PREMIUM
EXTOL PREMIUM 8820043 Instructions d'installation et d'utilisation

RIDGID
RIDGID SeeSnake Compact Manuel utilisateur

Teledyne
Teledyne 3000PA Manuel utilisateur

YDLIDAR
YDLIDAR TIA Manuel utilisateur

Olympus
Olympus IPLEX FX Series Manuel utilisateur

Bosch
Bosch GLM 50 C Professional Manuel utilisateur











