3.2 Connecting to target system......................17 3.2.1 Connecting probe tip to target.................... 18 3.3 Connecting to target system serial port.................... 20 3.3.1 Connecting CodeWarrior TAP probe to target system............20 3.3.2 Configuring target serial port....................21 3.3.3 Accessing target serial port....................22 Chapter 4 Using CodeWarrior TAP Probe............
Page 4
5.3.4 Physical considerations...................... 33 Chapter 6 CodeWarrior TAP Probe Setup Utility Commands......35 6.1 Connecting to CodeWarrior TAP probe setup utility.................35 6.2 CodeWarrior TAP probe setup utility commands and variables............35 6.2.1 Commands to configure communications................36 6.2.1.1 netparam.......................36 6.2.1.2 tgtty........................37 6.2.2 Commands to troubleshoot communication...............
The basic CodeWarrior TAP probe system is composed of two parts: • 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.
What is CodeWarrior TAP probe? Figure 1: CodeWarrior TAP probe 1.1.1 Product highlights This section lists the CodeWarrior TAP probe features. The CodeWarrior TAP probe has these features: ™ • Supports the Power Architecture, StarCore, and ColdFire processors. Go to the http://freescale.com/...
• 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.
TAP probe directly to your host PC, or purchase a self-powered USB hub. If you only plan to use Ethernet communications, the CodeWarrior TAP probe can be powered from the external power supply provided with your unit. It can use line voltages of 100-240 VAC (50/60 Hz).
Figure 2: CodeWarrior TAP probe with USB connector 1.2.3.2 Cycling power to system When you need to apply or cycle power to the CodeWarrior TAP probe, connect or disconnect the power cable from the power source or from the probe.
Introducing CodeWarrior TAP Probe Related documentation 1.3 Related documentation The CodeWarrior documentation explains how to install and configure the CodeWarrior IDE and debugger and use the CodeWarrior TAP. CodeWarrior TAP Probe User Guide, Rev. 10.x, 01/2016 Freescale Semiconductor, Inc.
This chapter describes how to connect the CodeWarrior TAP probe to an existing TCP/IP network. The CodeWarrior TAP probe is a device that may be configured for either using to acquire its IP configuration (the default method) or through a static IP configuration.
Page 12
Connecting CodeWarrior TAP probe to network Figure 3: CodeWarrior TAP probe with Ethernet connector 2. Connect the other end of the RJ45 cable into the RJ45 connector of the Ethernet network or host computer. CodeWarrior TAP Probe User Guide, Rev. 10.x, 01/2016 Freescale Semiconductor, Inc.
DHCP, you must configure the probe for your network using static IP address resolution. To manually configure the network settings of CodeWarrior TAP probe for your network, access the probe configuration console as described below and use the probe on-board setup utility...
Page 14
2. Wait for the TX/RX LED to start flashing green. 3. Identify the serial port device assigned to the CodeWarrior TAP. On Windows, click Start > Control Panel > Adminstrative Tools > Computer Management > Device Manager > Ports and then select USB serial port from the ports list.
Connecting to Network Testing network communication If the CodeWarrior TAP probe has a static IP address of 195.121.1.2 and a hostname of lab01, enter the following commands: core> netparam static_ip_address 195.121.1.2 core> netparam bootconfig static:lab01 core> reset utility copies its settings into non-volatile memory on the probe. Follow these rules while using...
Page 16
Connecting to Network Testing network communication CodeWarrior TAP Probe User Guide, Rev. 10.x, 01/2016 Freescale Semiconductor, Inc.
Debug port connector information Chapter 3 Connecting to Target System To use your CodeWarrior TAP probe, you must have a prototype hardware or an evaluation board. This chapter explains how to connect a CodeWarrior TAP probe to the target system. This chapter explains: •...
3.2.1 Connecting probe tip to target This section explains how to connect the CodeWarrior TAP cable to the target debug port header. To connect the CodeWarrior TAP cable to the target debug port header: 1.
Page 19
Connecting to Target System Connecting to target system Figure 7: CW TAP probe - connecting to target 5. Gently (but firmly) press the connector onto the target system debug port header. CodeWarrior TAP Probe User Guide, Rev. 10.x, 01/2016 Freescale Semiconductor, Inc.
Figure 8: CW TAP probe - target serial connector The CodeWarrior TAP probe provides a serial port which can be configured to access the serial port of the target system. This is useful if you need to access the serial port of a remotely located target system over Ethernet from the host system.
2. Connect the other end of the RJ25 cable to the CodeWarrior TAP probe RJ25 serial connector. 3.3.2 Configuring target serial port If the CodeWarrior TAP probe target serial port settings do not match the serial port settings of your target system, configure CodeWarrior TAP probe serial port.
Connecting to target system serial port 3.3.3 Accessing target serial port You can use telnet to connect to the CodeWarrior TAP probe target serial port and access the serial port of your target system remotely over Ethernet. To telnet to the target serial port: 1.
2. Apply power to the target system. 3. Start the CW debugger. 4. Configure the debugger for the CodeWarrior TAP connection. LEDs are provided to indicate the status of the CodeWarrior TAP probe. For details on the LED indicators, see LEDs on CodeWarrior TAP probe topic.
CodeWarrior TAP probe - bottom view To set up the debug connection, you will need to know the 12-digit TAP probe serial number, located on a label on the bottom of the device. CodeWarrior TAP Probe User Guide, Rev. 10.x, 01/2016 Freescale Semiconductor, Inc.
Connecting to network topic. To identify the IP address of any probe on the hosts subnet, see Using CCS to search for CodeWarrior TAP probes topic. The login banner is displayed, followed by the command-line prompt. core >...
Page 26
Using CodeWarrior TAP Probe Accessing CodeWarrior TAP Probe Remotely CodeWarrior TAP Probe User Guide, Rev. 10.x, 01/2016 Freescale Semiconductor, Inc.
5.1 LEDs on CodeWarrior TAP probe This section lists the LEDs of the CodeWarrior TAP probe. The figure below shows the various LEDs of the CodeWarrior TAP probe. Figure 10: CW TAP probe - LED indicators CodeWarrior TAP Probe User Guide, Rev. 10.x, 01/2016...
Do not remove power, unplug the network, or press the reset button during firmware updates. • The LED flashes orange when the CodeWarrior TAP is communicating with the target. • The LED is unlit if the probe is not powered on.
The CodeWarrior TAP probe link and activity indicators are integrated into the RJ45 CodeWarrior TAP probe connector. The yellow indicator is turned on when the CodeWarrior TAP probe is connected to any network, and flickers when data is being transferred across the network. The green indicator is turned on when the CodeWarrior TAP probe is connected to a 100BaseT network, and flickers when data is being transferred across the network.
The Ethernet connector on the CW TAP probe is used to connect to a 10/100BaseT Ethernet. 5.2.2 USB connector The USB port on the CodeWarrior TAP probe acts as both a virtual serial device and virtual Ethernet device. The virtual serial interface is used for configuring network communication, entering routing tables, and for diagnostics.
The probe provides a target serial port which can be configured to access your target's serial port. This is particularly useful if your host computer is not near your target and you need to access your target's serial port remotely over your network. CodeWarrior TAP Probe User Guide, Rev. 10.x, 01/2016 Freescale Semiconductor, Inc.
Pin 1 is on the right side as you look at the RJ-11 socket (locking tab on the bottom). 5.3.2 Probe tip connector The 30-pin debug port header is used to connect the probe to a debug port header on your target system. CodeWarrior TAP Probe User Guide, Rev. 10.x, 01/2016 Freescale Semiconductor, Inc.
5V, 500mA NOTE Bus powered USB hubs are not designed to provide 500mA to devices. The CodeWarrior TAP must be directly connected to a self-powered hub, PC, or the AC adapter included in the kit. 5.3.4 Physical considerations This table shows the physical characteristics of the probe.
Page 34
Hardware Specifications Target connectors on CodeWarrior TAP probe Table 4: CodeWarrior TAP probe - physical characteristics (continued) Physical Characteristics probe dimensions 5.5" (7.5" with cables) Length 3.25" Width 1.375" Height Probe tip cable socket dimensions Height (above board) 0.375" (0.95 cm) 0.20"...
There are two methods for accessing the CodeWarrior TAP probe internal setup utility. To connect to the setup utility: • Connect to the CodeWarrior TAP probe USB port. Use this method if the CodeWarrior TAP probe is not connected to your network. For more information, see Customizing CodeWarrior TAP probe topic.
CodeWarrior TAP probe setup utility commands and variables 6.2.1 Commands to configure communications The following internal setup utility commands are used to configure the CodeWarrior TAP probe for network communication ( ), and to communicate with your target system's serial port (...
CodeWarrior TAP Probe Setup Utility Commands CodeWarrior TAP probe setup utility commands and variables Table 5: Netparam parameters (continued) Field Description Sets the IP address resolution protocol. It determines bootconfig {static | dhcp }[:host] the boot method of CodeWarrior TAP probe. Use...
Use the command to edit the host table by assigning host permanently storing the routing tables in the flash EPROM of the CodeWarrior TAP probe. Without options, it displays the current host table. Syntax host [add hostname ip_address | delete hostname ip_address]...
Use the command to test network routing without permanently storing the routing tables in the route CodeWarrior TAP probe flash EPROM. Without options, it displays the current route table or default gateway. Syntax route [add destination gateway | delete destination]...
This chapter guides the network administrators in installing a CodeWarrior TAP probe. The CodeWarrior TAP probe is an host device that may be configured for TCP/IP using DHCP to acquire its IP configuration (the default method) or through a static IP configuration.
DHCP is the default setting. If you specify a hostname for the CodeWarrior TAP probe, the probe will attempt to register the host name with the DHCP server, which may then update any name servers on the network.
The simplest networks consist of one or more subnets. Routers forward network traffic from one point on the network to another across these subnets. If the CodeWarrior TAP probe uses DHCP to automatically acquire its network settings, it is most likely that a default gateway setting was acquired and the probe will be accessible on other subnets.
For example, the CodeWarrior TAP probe goofy on network 198.9.230.0 communicates directly with workstation elmer. When static routing is used, a routing entry is required on a CodeWarrior TAP probe for each workstation on a non-local network that accesses it. The CodeWarrior TAP probe goofy requires two entries, for workstation tweety on network 198.9.231.0 and workstation brutus on network 198.9.232.0.
VPNs. If your CodeWarrior TAP probe acquires its IP address using DHCP, but is not able to register its host name on the network, you will need the probe's IP address. To find the probe's address, perform the following steps: 1.
Network Administration Using CCS to search for CodeWarrior TAP probes 2. The command takes the following arguments when searching for CodeWarrior TAP probes: findcc findcc cwtaps [-quiet|-verbose] 7.3.1 Sample output % findcc cwtaps FSL021351 (192.168.0.145): CodeWarrior TAP Power Architecture JTAG/COP Probe Tip Boot Loader v0.9.2...
When the CodeWarrior TAP probe finishes executing the Boot Loader, it loads the OS. This is indicated by the prompt in the CodeWarrior TAP probe's setup utility, and by flashing a orange or green heartbeat LED.
CodeWarrior TAP probe resets during an update and can create a non- working state that may require factory repair. These procedures must be performed on each CodeWarrior TAP probe that you plan to use with the current version of debugger.
JTAG/COP Connector Information Chapter 9 JTAG/COP Connector Information The CodeWarrior TAP JTAG/COP probe has a 16-pin connector which automatically supports target system signal levels from 1.2V to 3.3V. CodeWarrior TAP probe for JTAG/COP connector pin assignment shows the pin assignments of the probe JTAG/COP connector.
Page 50
- n/a - CKSO_B From target system 17pF load - n/a - Table 14: CodeWarrior TAP probe for JTAG/COP signal recommendations and requirements JTAG/COP pin Signal mnemonic Requirement Must be wired to the target system processor. TDO is an output from...
Page 51
JTAG/COP Connector Information Table 14: CodeWarrior TAP probe for JTAG/COP signal recommendations and requirements (continued) JTAG/COP pin Signal mnemonic Requirement QACK_B May be wired to the target system processor. QACK_B is an input to most PowerPC processors and must remain low while the CodeWarrior TAP probe is connected to the target system.
Page 52
JTAG/COP Connector Information Table 14: CodeWarrior TAP probe for JTAG/COP signal recommendations and requirements (continued) JTAG/COP pin Signal mnemonic Requirement TGT PWR Must be wired to the target system. The CodeWarrior TAP probe uses this signal to determine if power is applied to the target system.
Page 53
JTAG/COP Connector Information Table 14: CodeWarrior TAP probe for JTAG/COP signal recommendations and requirements (continued) JTAG/COP pin Signal mnemonic Requirement HRST_B Must be wired to the target system processor. During reset, the CodeWarrior TAP probe drives HRST_B to ground through a 5Ohm resistor.
Page 54
JTAG/COP Connector Information CodeWarrior TAP Probe User Guide, Rev. 10.x, 01/2016 Freescale Semiconductor, Inc.
OnCE Connector Information Chapter 10 OnCE Connector Information The CodeWarrior TAP OnCE probe has a 14-pin connector that automatically supports target system signal levels from 1.2V to 3.3V. CodeWarrior TAP probe OnCE connector pin assignments shows the pin assignments of the probe OnCE connector.
Page 56
From target system 17pF load TRST_B From CodeWarrior TAP 50mA driver probe connector Table 16: CodeWarrior TAP probe OnCE signal recommendations and requirements OnCE pin Signal mnemonic Requirement Must be wired to the target system processor. The CodeWarrior TAP probe drives the TDI output with up to 50mA.
Page 57
OnCE Connector Information Table 16: CodeWarrior TAP probe OnCE signal recommendations and requirements (continued) OnCE pin Signal mnemonic Requirement Must be wired to the target system processor. TDO is an output from the target system processor and input to the CodeWarrior TAP probe.
Page 58
OnCE Connector Information Table 16: CodeWarrior TAP probe OnCE signal recommendations and requirements (continued) OnCE pin Signal mnemonic Requirement Must be wired to the target system. The CodeWarrior TAP probe uses this signal to determine if power is applied to the target system. This...
ColdFire BDM Connector Information Chapter 11 ColdFire BDM Connector Information The CodeWarrior TAP ColdFire BDM probe has a 26-pin connector that automatically supports target signal levels from 1.2V to 3.3V. CodeWarrior TAP probe for ColdFire BDM connector pin assignments shows the pin assignments of the probe BDM connector.
Page 60
ColdFire BDM Connector Information Table 17: CodeWarrior TAP probe for ColdFire BDM signal directions BDM pin Signal mnemonic Signal direction Description Reserved -n/a- BKPT Bi-directional Open-drain. 5ohm to ground when asserted by USB TAP probe, 22pF load when not asserted...
Page 61
Signal direction Description Core Voltage - n/a - TEA_B - n/a - Table 18: CodeWarrior TAP probe for ColdFire BDM signal recommendations and requirements BDM pin Signal mnemonic Requirement Reserved Need not be wired to the target. The CodeWarrior TAP probe does not currently use this signal.
Page 62
ColdFire BDM Connector Information Table 18: CodeWarrior TAP probe for ColdFire BDM signal recommendations and requirements (continued) BDM pin Signal mnemonic Requirement Must be wired to the target. The CodeWarrior TAP probe uses this signal to determine if power is applied to the target.
Page 63
ColdFire BDM Connector Information Table 18: CodeWarrior TAP probe for ColdFire BDM signal recommendations and requirements (continued) BDM pin Signal mnemonic Requirement Reserved Need not be wired to the target. The CodeWarrior TAP probe does not currently use this signal.
Page 64
ColdFire BDM Connector Information CodeWarrior TAP Probe User Guide, Rev. 10.x, 01/2016 Freescale Semiconductor, Inc.
Customer Support for assistance. 12.1.1 Verify network communication If you want to verify that the CodeWarrior TAP is up and running on your network, enter the ping command at the core prompt of the CodeWarrior TAP probe. To verify network communication: 1.
If the CodeWarrior TAP probe behaves erratically, check the connections to the external power supply. The LED labeled HEARTBEAT indicates whether the CodeWarrior TAP probe is receiving power. If this LED is not lit, check the connections to the external power supply.
RJ25 target serial connector RJ45 connector Electrical characteristics RJ45 Ethernet connector Electrical requirements RJ45 Ethernet connector with link and activity indicators Entering static routes route ESD precautions Run/Pause indicator Run/Pause LED CodeWarrior TAP Probe User Guide, Rev. 10.x, 01/2016 Freescale Semiconductor, Inc.
Page 68
Troubleshooting Troubleshooting communications problems Troubleshooting power problems USB cable USB connector Using CCS to search for CodeWarrior TAP probes Using CodeWarrior TAP Probe Verify network communication View network connections What is CodeWarrior TAP probe? CodeWarrior TAP Probe User Guide, Rev. 10.x, 01/2016...
Page 70
Freescale, the Freescale logo, and CodeWarrior are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. All other product or service names are the property of their respective owners.
Need help?
Do you have a question about the CodeWarrior TAP and is the answer not in the manual?
Questions and answers