Agilent Technologies E5900B User Manual
Hide thumbs Also See for E5900B:
Table of Contents

Advertisement

Quick Links

User's Guide
Publication number E3455-97001
May 2001
© Copyright Agilent Technologies, Inc. 1994-2001
All Rights Reserved
For Safety information, Warranties, and Regulatory information, see
the pages behind the index.
E5900B Option 090
Emulation for
Motorola M•CORE

Advertisement

Table of Contents
loading

Summary of Contents for Agilent Technologies E5900B

  • Page 1 User’s Guide Publication number E3455-97001 May 2001 © Copyright Agilent Technologies, Inc. 1994-2001 All Rights Reserved For Safety information, Warranties, and Regulatory information, see the pages behind the index. E5900B Option 090 Emulation for Motorola M•CORE...
  • Page 2: Agilent Technologies E5900B Option 090 Emulation Probe-At A Glance

    Agilent Technologies E5900B Option 090 Emulation Probe—At a Glance This manual describes how to set up several emulation products: an emulation probe, an emulation module, and an emulation migration. The emulation probe provides a low-cost way to debug embedded software for Motorola M•CORE family microprocessors.
  • Page 3: E5901B Emulation Module

    Agilent Technologies E5900B Option 090 Emulation Probe—At a Glance E5901B Emulation Module Kit The Agilent E5901B emulation module kit includes the E5900B emulation probe, the E5901B emulation module, and other items listed on page 20. The Agilent E5901B emulation module plugs into your Agilent 16700-series logic analysis system frame.
  • Page 4: In This Book

    In This Book This book documents the following products: Emulation Probe Processor supported Product ordered Includes M•CORE MMC2107 Agilent Technologies E5900B emulation probe, cables, software, E5900B Option #090 and manual Emulation Module Processor supported Product ordered Includes M•CORE MMC2107 E5901B Option #090...
  • Page 5: Table Of Contents

    Contents Agilent Technologies E5900B Option 090 Emulation Probe— At a Glance E5900B Emulation Probe E5901B Emulation Module E5902B Emulation Migration In This Book Overview Setup Flowchart Agilent E5900B Emulation Probe Equipment supplied Minimum equipment required Agilent E5901B Emulation Module Equipment supplied...
  • Page 6 Contents Connecting the Emulation Probe to a LAN To choose a point-to-point or site LAN connection A point-to-point connection is especially useful when you have a 16700-se- ries logic analysis system, and: 26 Advantages of a point-to-point connection: 26 Disadvantages of a point-to-point connection: 27 Connecting the Emulation Probe to a Site LAN To obtain an IP address To configure LAN parameters using a serial connection...
  • Page 7 Contents Installing the Emulation Module To install the emulation module in an Agilent 16700-series logic analysis system or expansion frame To connect the E5901B emulation module to the E5900B emulation probe Installing Software on a 16700-Series Logic Analysis System Installing and loading...
  • Page 8 Contents Connecting the Emulation Probe to Your Target System To connect the emulation probe to the target system Configuring the Emulation Probe What can be configured To configure the processor type To configure the Break In SMB port To configure the Trigger Out SMB port To configure restriction to real-time runs To configure the JTAG clock speed (communication speed) To configure the voltage reference...
  • Page 9 Contents Using the Emulation Control Interface Using the emulation probe with a 16700-series logic analysis system via an emulation module Using the emulation probe with a 16700-series logic analysis system via a LAN connection Using the Emulation Probe with a Debugger Benefits of using a debugger 79 Compatibility with other logic analysis system tools 79 Minimum requirements 79...
  • Page 10 Contents Address Pattern test How the Address Pattern test works 94 Instructions for using the Address Pattern test 94 Interpreting Address Pattern test results 95 If problems were found by the Address Pattern test 95 Rotate Pattern test How the Rotate Pattern test works 96 Instructions for using the Rotate Pattern test 97 Interpreting Rotate Pattern test results 97 Walking Ones test...
  • Page 11 Contents Installing an Agilent E5902B Emulation Migration To install the emulation migration Specifications and Characteristics Emulation probe electrical characteristics Trigger Out SMB Port 116 Break In SMB Port 116 Communications Power Input 116 Power Supply 117 Electrical Characteristics Emulation probe environmental characteristics Emulation module environmental characteristics Troubleshooting the Emulation Probe General Troubleshooting...
  • Page 12 Contents If you have problems using the emulation probe with a debugger If you need to obtain help Status Lights Emulation Probe Target Status Lights Emulation Probe LAN Status Lights Emulation Probe Power On Light Using the Emulation Probe Command Line Interface To use the command line interface from the logic analysis system To telnet to the emulation probe To list the emulation probe commands...
  • Page 13 Contents Problems with the LAN Interface If you cannot verify LAN communication If you have LAN connection problems If it takes a long time to connect to the network If you have problems setting the LAN parameters using a logic analysis system Problems with the Serial Interface If you cannot verify RS-232 communication...
  • Page 14 Contents Returning Parts for Service To return a part to Agilent Technologies To obtain replacement parts To clean the instrument Glossary Index...
  • Page 15: Overview

    Overview...
  • Page 16 Overview This chapter describes: • Setup flowchart • Equipment used with the emulation probe • Connection sequences for the emulation probe • Equipment used with the emulation module • Additional information sources Emulation for the Motorola M•CORE...
  • Page 17: Setup Flowchart

    Overview Setup Flowchart Setup Flowchart Emulation module Emulation migration Emulation probe HP E5901B HP E5902B HP E5900B Connect power Install emulation Install new target supply module board adapter and (if necessary) front panel in emulation probe Connect to LAN Connect emulation...
  • Page 18: Agilent E5900B Emulation Probe

    Overview Agilent E5900B Emulation Probe Agilent E5900B Emulation Probe Equipment supplied • Emulation probe. • 12V power supply for the emulation probe. • Power cord. • Ferrite (reduces electromagnetic interference on power cord). • Serial cable and RJ12-to-DB9 adapter (for setting the emulation probe’s IP address from a PC).
  • Page 19 Overview Agilent E5900B Emulation Probe Emulation for the Motorola M•CORE...
  • Page 20: Agilent E5901B Emulation Module

    Equipment supplied The equipment supplied with your emulation module includes: • All of the parts listed for the Agilent E5900B emulation probe on page 18 (except the serial cable and RJ12 to DB9 adapter). • Agilent E5901B emulation module, which facilitates communication between the Agilent 16700-series logic analysis system and the Agilent E5900B emulation probe.
  • Page 21 Overview Agilent E5901B Emulation Module Emulation for the Motorola M•CORE...
  • Page 22: Agilent E5902B Emulation Migration

    Agilent E5902B Emulation Migration Equipment supplied The equipment supplied with your emulation migration includes: • A target board adapter (cable board) to be installed in the E5900B emulation probe. This board customizes the emulation probe for a particular target type.
  • Page 23 Overview Agilent E5902B Emulation Migration Emulation for the Motorola M•CORE...
  • Page 24: Additional Information Sources

    Overview Additional Information Sources Additional Information Sources Additional or updated information can be found in the following places: Newer editions of this manual may be available. Contact your local Agilent Technologies representative. Application notes may be available from your local Agilent representative or on the World Wide Web at: http://www.agilent.com/find/emulator If you have an Agilent 16700-series logic analysis system, the online help for...
  • Page 25: Connecting The Emulation Probe To A Lan

    Connecting the Emulation Probe to a LAN...
  • Page 26: To Choose A Point-To-Point Or Site Lan Connection

    Connecting the Emulation Probe to a LAN You need to set up a LAN connection for the E5900B emulation probe, even if you are using an E5901B emulation module. The emulation probe has an IEEE 802.3 Type 10/100Base-TX LAN connector.
  • Page 27: Disadvantages Of A Point-To-Point Connection

    Connecting the Emulation Probe to a LAN devices on the LAN.) • The logic analysis system cannot be accessed across the network (required in some high-security environments). • Can be used when a site LAN is not available. Disadvantages of a point-to-point connection: •...
  • Page 28: Connecting The Emulation Probe To A Site Lan

    Connecting the Emulation Probe to a LAN Connecting the Emulation Probe to a Site LAN Connecting the Emulation Probe to a Site LAN 1 Connect the LAN cable to the connector on the emulation probe. Be sure to use the appropriate Category 3 or Category 5 cable for your LAN. Do not use the LAN cable supplied with the emulation probe—it is a crossover cable used for point-to-point connections only.
  • Page 29: To Obtain An Ip Address

    Connecting the Emulation Probe to a LAN Connecting the Emulation Probe to a Site LAN To obtain an IP address 1 Obtain the following information from your local network administrator or system administrator: • An IP address for the emulation probe. You can also use a "LAN name"...
  • Page 30: To Configure Lan Parameters Using A Serial Connection

    Connecting the Emulation Probe to a Site LAN To configure LAN parameters using a serial connection The E5900B emulation probe has a 9600 baud RS-232 serial interface with an RJ12 connector. The emulation probe is shipped with a serial cable (with RJ-12 connectors on both ends, with 6-wire straight-through connections) and an adapter (female RJ-12 to female 9-pin D subminiature).
  • Page 31 Connecting the Emulation Probe to a LAN Connecting the Emulation Probe to a Site LAN 1 Connect the serial cable from the host computer to the emulation probe. Use the DB9-to-RJ12 adapter and the serial cable supplied with the emulation probe.
  • Page 32 Connecting the Emulation Probe to a LAN Connecting the Emulation Probe to a Site LAN You should see a prompt such as "p>" or "R>". For information about the commands you can use, enter ? or help at the prompt. 6 Display the current LAN configuration values by entering the lan command: R>...
  • Page 33: To Configure Lan Parameters Using Dhcp

    Connecting the Emulation Probe to a LAN Connecting the Emulation Probe to a Site LAN off and back on again. Example To assign an IP address of 192.6.94.2 to the emulation probe, enter the following command: R>lan -i 192.6.94.2 Cycle power on the emulation probe so that the new address will take effect.
  • Page 34: What Is Dhcp

    Connecting the Emulation Probe to a LAN Connecting the Emulation Probe to a Site LAN What is DHCP? DHCP (Dynamic Host Configuration Protocol) allows clients to obtain LAN parameters automatically from a server. How does the emulation probe use DHCP? The emulation probe uses “static allocation”...
  • Page 35: To Configure Lan Parameters Using A Logic Analysis System Without An Emulation Module

    Connecting the Emulation Probe to a LAN Connecting the Emulation Probe to a Site LAN To configure LAN parameters using a logic analysis system without an emulation module 1 Connect the LAN cable to the connector on the emulation probe. 2 In the logic analysis system interface, open the Workspace window by selecting the Workspace icon.
  • Page 36: To Configure Lan Parameters Using A Logic Analysis System With An Emulation Module

    Connecting the Emulation Probe to a LAN Connecting the Emulation Probe to a Site LAN To configure LAN parameters using a logic analysis system with an emulation module 1 Connect the emulation module to the emulation probe. (See page 45.) 2 Connect the LAN cable to the connector on the emulation probe.
  • Page 37: Setting Up A Point-To-Point Connection

    Connecting the Emulation Probe to a LAN Setting up a Point-to-Point Connection Setting up a Point-to-Point Connection A point-to-point connection creates an isolated network with only two nodes—the logic analysis system and the emulation probe. There are two ways to set up the connection: If you have this equipment...
  • Page 38: To Set Up A Point-To-Point Connection Without An Emulation Module

    Connecting the Emulation Probe to a LAN Setting up a Point-to-Point Connection To set up a point-to-point connection without an emulation module 1 Connect the crossover LAN cable between the logic analysis system and the emulation probe. 2 Turn on power to the emulation probe. 3 In the logic analysis system main window, select the System Administration icon.
  • Page 39: Verifying Lan Communications

    Connecting the Emulation Probe to a LAN Verifying LAN Communications Verifying LAN Communications Verify your emulation probe is now active and on the network by issuing a ping or telnet command to the IP address. To verify LAN communications using ping ®...
  • Page 40: To Verify Lan Communications Using Telnet

    Connecting the Emulation Probe to a LAN Verifying LAN Communications To verify LAN communications using telnet 1 Verify your emulation probe is now active and on the network by issuing a telnet to the IP address. This connection will give you access to the emulation probe’s built-in terminal interface.
  • Page 41: Installing The Emulation Module

    Installing the Emulation Module...
  • Page 42 Agilent Technologies 16700-series logic analysis system and how to connect the emulation module to an emulation probe. You need to set up a LAN connection for the E5900B emulation probe, even if you are using an E5901B emulation module. If your emulation module is already installed in your logic analysis system frame, you may skip this chapter.
  • Page 43: To Install The Emulation Module In An Agilent 16700-Series Logic Analysis System Or Expansion Frame

    Installing the Emulation Module To install the emulation module in an Agilent 16700- series logic analysis system or expansion frame You will need T-10 and T-15 Torx screw drivers (supplied with the emulation module) 1 Turn off the logic analysis system and REMOVE THE POWER CORD. Remove any other cables (including mouse or video monitor cables).
  • Page 44 Installing the Emulation Module 5 Install the emulation module. 6 Connect the cable and re-install the screws. NOTE: The 16700B-series logic analysis system (which is shown here) has one available connector. If you have a 16700A-series logic analysis system, you may connect the cable to either of the two connectors.
  • Page 45: To Connect The E5901B Emulation Module To The E5900B Emulation Probe

    E5901B emulation module in the logic analysis system mainframe. 2 Connect other end of the module/probe interconnect cable to the "Emulation Module" connector on the E5900B emulation probe. 3 Power on the emulation probe. The LED next to the switch is lit when the switch is turned on and the probe is being supplied with power.
  • Page 46 Installing the Emulation Module Emulation for the Motorola M•CORE...
  • Page 47: Installing Software On A 16700-Series Logic Analysis System

    Installing Software on a 16700-Series Logic Analysis System...
  • Page 48: Installing And Loading

    Installing Software on a 16700-Series Logic Analysis System This chapter explains how to install the software you will need for your analysis probe or emulation solution. Installing and loading Installing the software will copy the files to the hard disk of your logic analysis system.
  • Page 49: What Needs To Be Installed

    Installing Software on a 16700-Series Logic Analysis System What needs to be installed 16600/700-series logic analysis systems If you ordered an emulation solution with your logic analysis system, the software was installed at the factory. The following files are installed when you install a processor support package from the CD-ROM: •...
  • Page 50: To Install The Software From Cd-Rom (16600/700)

    Installing Software on a 16700-Series Logic Analysis System To install the software from CD-ROM (16600/700) Installing a processor support package from a CD-ROM will take just a few minutes. If the processor support package requires an update to the Agilent Technologies 16600/700 operating system, installation may take approximately 15 minutes.
  • Page 51: To List Software Packages Which Are Installed (16700)

    Installing Software on a 16700-Series Logic Analysis System information about the contents of the package. 9 Select Install. The Continue dialog box will appear. 10 Select Continue. The Software Install dialog will display "Progress: completed successfully" when the installation is complete. 11 If required, the system will automatically reboot.
  • Page 52 Emulation for the Motorola M•CORE...
  • Page 53: Designing A Target System

    Designing a Target System...
  • Page 54: Designing A Target System

    Designing a Target System Designing a Target System Designing a Target System This chapter will help you design a target system that will work with the emulation probe. Signal requirements and JTAG connector pinouts are shown. Target System Requirements for M•CORE Required Signals DE signal (MMC2107) This signal is not required;...
  • Page 55: Target_Vdd

    Designing a Target System Designing a Target System Target_VDD The Target_VDD signal is provided by the target system. It should be connected to the IO power supply of the processor. It is used by the emulation probe to determine the target power status and the reference for the input threshold and output voltage swings.
  • Page 56: M•Core Jtag Interface Connector

    Designing a Target System Designing a Target System M•CORE JTAG Interface Connector The target system must have the Motorola 14-pin OnCE connector. JTAG Header Connector Pin Assignments (top view) T D I G N D T D O G N D T C K G N D G P I O / S I ( u n u s e d )
  • Page 57: Connecting The Emulation Probe To Your Target System

    Connecting the Emulation Probe to Your Target System...
  • Page 58 Connecting the Emulation Probe to Your Target System This chapter shows you how to connect the emulation probe to the target system and how to configure the emulation probe and target. Here is a summary of the steps for connecting and configuring the emulation probe: 1 Make sure the target system is designed to work properly with the emulation probe.
  • Page 59: To Connect The Emulation Probe To The Target System

    Connecting the Emulation Probe to Your Target System To connect the emulation probe to the target system To connect the emulation probe to the target system The emulation probe can be connected to a target system through a 14-pin JTAG port connector (a 14-pin male 2x7 header connector on the target system).
  • Page 60 Connecting the Emulation Probe to Your Target System To connect the emulation probe to the target system 4 Plug the keyed end of the cable (pin 8 is blocked) into the JTAG debug port on the target system. CAUTION: Be sure to orient the connector correctly. If the connector is rotated, your target system or the emulation probe may be damaged.
  • Page 61: Configuring The Emulation Probe

    Configuring the Emulation Probe...
  • Page 62: What Can Be Configured

    Configuring the Emulation Probe The emulation probe has several user-configurable options. These options may be customized for specific target systems and saved in configuration files for future use. The easiest way to configure the emulation probe is through the Emulation Control Interface in an Agilent 16700-series logic analysis system.
  • Page 63: To Configure The Processor Type

    Configuring the Emulation Probe To configure the processor type Processor type configuration Value Emulation module configured for Built-in command MMC2107 Motorola MMC2107 core cf proc=MMC2107 The cfsave -s command will store the processor type configuration in the emulation module’s flash memory. The cfsave -r command will restore this configuration.
  • Page 64: To Configure The Break In Smb Port

    Configuring the Emulation Probe To configure the Break In SMB port If you have an emulation probe, but you do not have an emulation module, use the following table to configure the behavior of the Break In SMB connector on the front of the emulation probe. Break in will assert the DE line on the MMC2107 target processor.
  • Page 65: To Configure The Trigger Out Smb Port

    Configuring the Emulation Probe To configure the Trigger Out SMB port If you have an emulation probe, but you do not have an emulation module, use the following table to configure the behavior of the Trigger Out SMB connector on the front of the emulation probe. If you have an emulation module, the trigger out behavior is always set to monhigh for compatibility with intermodule triggering.
  • Page 66: To Configure Restriction To Real-Time Runs

    Configuring the Emulation Probe To configure restriction to real-time runs This option enables or disables restriction to real-time runs implemented for all commands other than "rst", "b", "s" and "r". Real-time runs configuration Value Emulation module configured for Built-in command If the processor is running user code, a cf rrt=no request for a register or memory display...
  • Page 67: To Configure The Jtag Clock Speed (Communication Speed)

    Configuring the Emulation Probe To configure the JTAG clock speed (communication speed) The emulation probe needs to be configured to communicate at a rate which is compatible with your target processor. The JTAG clock speed is independent of processor clock speed. Some target systems that have additional loads on the JTAG lines or target systems that do not quite meet the requirements (described in Chapter 5, “Designing a Target System,”...
  • Page 68: To Configure The Voltage Reference

    Configuring the Emulation Probe To configure the voltage reference The emulation probe uses the Target_VDD signal on the JTAG connector to determine logic high and logic low levels when driving the TDI and TCK signals. Voltage Reference Configuration Value Meaning Built-in command external The voltage reference is generated by the...
  • Page 69: To Configure The Voltage Threshold

    Configuring the Emulation Probe To configure the voltage threshold Threshold for voltage reference. Voltages above (vref*thresh) will be considered logic high and voltages below this level will be considered logic low. Voltage Threshold configuration Value Built-in command 1/2 of Target_Vdd (Default) cf thresh=1/2 2/3 of Target_Vdd cf thresh=2/3...
  • Page 70: Configuring The Emulation Probe For Maximum Performance

    Configuring the Emulation Probe Configuring the Emulation Probe for Maximum Performance Configuring the Emulation Probe for Maximum Performance The performance of the emulation probe depends on the speed at which it communicates with the target system. Better performance is obtained with faster communication speeds.
  • Page 71 Configuring the Emulation Probe Configuring the Emulation Probe for Maximum Performance Manufacturer Emulation Probe Emulation Processor Spec. Max TCK Factory Default TCK Probe Max TCK (MHz) (MHz) (MHz) M•CORE 1/2 f Emulation for the Motorola M•CORE...
  • Page 72 Configuring the Emulation Probe Configuring the Emulation Probe for Maximum Performance Emulation for the Motorola M•CORE...
  • Page 73: Using The Emulation Probe

    Using the Emulation Probe...
  • Page 74: To Connect The Emulation Probe To A Power Source

    The emulation probe is shipped from the factory with a power supply and cord appropriate for your country. If the cord you received is not appropriate for your electrical power outlet type, contact your Agilent Technologies sales and service office.
  • Page 75: Connection Sequence

    Using the Emulation Probe To connect the emulation probe to a power source Connection Sequence Disconnect power from the target system, emulation probe, and logic analyzer before you make or break connections. 1 Connect the emulation probe to a LAN (page 25). 2 Connect the emulation probe to your target system (page 57).
  • Page 76: Using The Emulation Control Interface

    Using the Emulation Probe Using the Emulation Control Interface Using the Emulation Control Interface The Emulation Control Interface lets you run, stop, break, and reset the target processor. The Emulation Control Interface can be accessed through a 16700- series logic analysis system. Using the emulation probe with a 16700-series logic analysis system via an emulation module The following instructions explain how to use the emulation probe with a...
  • Page 77: Using The Emulation Probe With A 16700-Series Logic Analysis System Via A Lan Connection

    Using the Emulation Probe Using the Emulation Control Interface Using the emulation probe with a 16700-series logic analysis system via a LAN connection The following instructions explain how to use the emulation probe via a LAN connection to a 16700-series logic analysis system. 1 Select the emulation probe icon in the Workspace window.
  • Page 78 Using the Emulation Probe Using the Emulation Control Interface 4 The emulation Run Control window will appear. Emulation for the Motorola M•CORE...
  • Page 79: Using The Emulation Probe With A Debugger

    Using the Emulation Probe Using the Emulation Probe with a Debugger Using the Emulation Probe with a Debugger Several prominent companies design and sell state-of-the-art source debuggers which work with the Agilent emulation modules and emulation probes. Benefits of using a debugger The debugger will enable you to control the execution of your processor from the familiar environment of your debugger.
  • Page 80: Is Your Debugger Compatible With The Emulation Probe

    If you are using an E5901B emulation module, configure your debugger to use the IP address of the E5900B emulation probe, not the logic analysis system. You may need to tell the debugger which port number to use. The default port number for a debugger connection is 6470.
  • Page 81: Setting Up Debugger Software

    Using the Emulation Probe Setting up Debugger Software Setting up Debugger Software The instructions in this manual assume that your PC or workstation is already connected to the LAN, and that you have already installed the debugger software according to the debugger vendor's documentation. To use your debugger with the emulation probe, follow these general steps: •...
  • Page 82: To Export The Logic Analysis System's Display To A Workstation

    Using the Emulation Probe Setting up Debugger Software To export the logic analysis system’s display to a workstation By exporting the logic analyzer’s display, you can see and use the logic analysis system’s windows on the screen of your workstation. To do this, you must have telnet software and X window installed on your computer.
  • Page 83: To Export The Logic Analysis System's Display To A Pc

    Using the Emulation Probe Setting up Debugger Software To export the logic analysis system’s display to a PC By exporting the logic analyzer’s display, you can see and use the logic analysis system’s windows on the screen of your PC. To do this, you must have telnet software and an X terminal emulator installed on your computer.
  • Page 84 Using the Emulation Probe Setting up Debugger Software Emulation for the Motorola M•CORE...
  • Page 85: Testing Target System Memory

    Testing Target System Memory...
  • Page 86: Two Ways To Run The Memory Tests

    Testing Target System Memory Two ways to run the memory tests Many times when a system under test fails to operate as expected, you will need to determine whether the failure is in the hardware or the software. These tests verify operation of the memory hardware in the system under test. Two ways to run the memory tests There are two methods for accessing and running the emulation probe’s built- in memory tests:...
  • Page 87: Using The Memory Tests With An Agilent 16700 Logic Analysis System

    Testing Target System Memory Two ways to run the memory tests Using the memory tests with an Agilent 16700 logic analysis system 1 Connect to the emulator. See “Using the Emulation Control Interface” on page 76 for step-by-step instructions. 2 From the menu bar select Window, then select the emulator, and select Memory..
  • Page 88: Using The Memory Tests From A Command Line Interface

    Testing Target System Memory Two ways to run the memory tests Using the memory tests from a command line interface You can use the memory tests from a command line interface via a telnet session (see page 40) or via the emulator command window of your debugger. See page 25 for instructions on making a connection to the emulation probe which will allow you to access the emulation probe via a command line interface.
  • Page 89: Memory Tests

    Testing Target System Memory Memory Test Patterns Memory Test Patterns You can use the memory test feature of the emulation probe to perform seven different types of tests. Use these tests to find problems in address lines, data lines, and data storage. Use these tests in combination because no single test can perform a complete evaluation of the target system memory.
  • Page 90: Recommended Test Procedure

    Testing Target System Memory Memory Test Patterns Recommended Test Procedure Two types of tests are offered for testing target memory: oscilloscope tests, and memory functionality tests. Oscilloscope Tests 1. Connect the oscilloscope to view activity on the bits of interest. 2.
  • Page 91: Basic Pattern Test

    Testing Target System Memory Memory Test Patterns Basic Pattern test The Basic Pattern test finds data bits in the specified memory range that are stuck high or low. It also detects data lines that may be tied to power, ground, or not connected at all.
  • Page 92: Interpreting Basic Pattern Test Results

    Testing Target System Memory Memory Test Patterns Interpreting Basic Pattern test results Consistent errors such as a particular bit incorrect every four bytes typically indicate a problem with the data lines. Random or sparse errors may indicate hardware data memory errors—check individual locations with the Walking Ones and Walking Zeros tests.
  • Page 93 Testing Target System Memory Memory Test Patterns Assume the data line bit associated with the error is stuck high. This could happen if the suspected data line bit were soldered to power. For an additional test of suspected memory, perform the Walking Ones (see page 98) and Walking Zeros (see page 99) tests on the problem memory range.
  • Page 94: Address Pattern Test

    Testing Target System Memory Memory Test Patterns Address Pattern test This test verifies that the address lines of the selected memory range are without error. How the Address Pattern test works This test writes the address of each memory location as data to each location. The data is then read back to see if it matches the address.
  • Page 95: Interpreting Address Pattern Test Results

    Testing Target System Memory Memory Test Patterns ? mtest ap. For general instructions on using the command line interface see page 131. Interpreting Address Pattern test results This test does not ensure that the data lines or individual data locations are without error.
  • Page 96: Rotate Pattern Test

    Testing Target System Memory Memory Test Patterns Rotate Pattern test The Rotate Pattern test finds data bits in memory that are stuck high or low. It also detects data lines that may be tied to power ground, or not connected at all.
  • Page 97: Instructions For Using The Rotate Pattern Test

    Testing Target System Memory Memory Test Patterns Example: The following listing is from a Rotate Pattern test which was performed one time with an Access Size of 2 bytes, and an initial pattern of 0001. What you see below is the 32nd set of patterns written to memory during the test.
  • Page 98: Walking Ones Test

    Testing Target System Memory Memory Test Patterns This test will not halt but it will generate an error message if it is run on ROM or on locations with data line or location errors. Walking Ones test How the Walking Ones test works The Walking Ones test finds data bits stuck in logical "0".
  • Page 99: Walking Zeros Test

    Testing Target System Memory Memory Test Patterns series logic analysis system, see page 87. To use the Walking Ones test from the command line interface, enter mtest w1 <parameters>. To see a list of the required parameters, enter ? mtest w1. For general instructions on using the command line interface see page 131.
  • Page 100: Instructions For Using The Walking Zeroes Test

    Testing Target System Memory Memory Test Patterns Instructions for using the Walking Zeroes test For help about performing a specific memory test using the Agilent 16700- series logic analysis system, see page 87. To use the Walking Zeroes test from the command line interface, enter mtest w0 <parameters>.
  • Page 101: Oscilloscope Write Test

    Testing Target System Memory Memory Test Patterns Oscilloscope Write test How the Oscilloscope Write test works This test repetitively writes your selected Pattern to the Memory Range for the number of Repetitions specified, typically continuously until cancelled. If your pattern is larger than the access size, it will be truncated to fit. If your pattern is smaller than the access size, it will be zero-padded to fit.
  • Page 102 Testing Target System Memory Memory Test Patterns Emulation for the Motorola M•CORE...
  • Page 103: Updating Firmware

    Updating Firmware...
  • Page 104 Update the firmware if: • You need to change the personality of the emulation probe for a new processor. • You have an updated version of the firmware from Agilent Technologies. Emulation for the Motorola M•CORE...
  • Page 105: To Display Current Firmware Version Information

    Updating Firmware Updating Firmware When Operating With a Debugger Updating Firmware When Operating With a Debugger To display current firmware version information • Use telnet to access the built-in "terminal interface" and use the ver command to view the version information for firmware currently in the emulation probe.
  • Page 106: Updating Firmware When You Have A Logic Analysis System

    Updating Firmware Updating Firmware With a Logic Analysis System Updating Firmware With a Logic Analysis System Always update firmware by installing a processor support package. This will ensure that the version of the Emulation Control Interface software is compatible with the version of the emulation probe firmware. To display current firmware version information 1 Open the Update Firmware window.
  • Page 107: To Update Firmware Using The Emulation Control Interface

    Updating Firmware Updating Firmware With a Logic Analysis System To update firmware using the Emulation Control Interface 1 End any run control sessions which may be running. 2 Install the processor support package from the CD-ROM, if necessary. 3 Open the Update Firmware window. For an emulation module: In the system window, select the emulation module and select Update Firmware..
  • Page 108: To Update Firmware For An Emulation Probe Using The Setup Assistant

    Updating Firmware Updating Firmware With a Logic Analysis System To update firmware for an emulation probe using the Setup Assistant The Setup Assistant is an online tool for connecting and configuring your logic analysis system for microprocessor and bus analysis. The Setup Assistant is available on Agilent 16700-series logic analysis systems.
  • Page 109: Installing An Agilent E5902B Emulation Migration

    Installing an Agilent E5902B Emulation Migration...
  • Page 110: To Install The Emulation Migration

    The E5902B emulation migration can be used with any E5900B emulation probe. It cannot be used with E5900A emulation probes. Will I need to change the target board adapter? A target board adapter is supplied with the emulation migration.
  • Page 111: Migration

    Installing an Agilent E5902B Emulation Migration To install the emulation migration CAUTION: Electrostatic discharge can damage electronic components. Use grounded wrist straps and mats. The tools necessary for this procedure are supplied with the emulation migration. 1 Turn off power to the emulation probe. 2 Disconnect all cables from the emulation probe, including the power cord, LAN cable, serial cable, module/probe interconnect cable, and target cable.
  • Page 112 Installing an Agilent E5902B Emulation Migration b Remove the front panel. c Grasp the top cover with one hand. With the other hand, pull the plate on the bottom of the emulation probe, so that the top cover slides off. Emulation for the Motorola M•CORE...
  • Page 113 Installing an Agilent E5902B Emulation Migration 4 Remove the 3 nylon screws from the target board adapter. 5 Carefully lift the target board adapter from the main circuit board. Do not turn on power to the emulation probe when no target board adapter is installed.
  • Page 114 Installing an Agilent E5902B Emulation Migration 8 Reinstall the cover on the emulation probe: a Slide the top cover into place. b Assemble the new front panel. c Attach the front panel using the 2 screws and 2 nuts. 9 Connect the LAN cable, module/probe interconnect cable (if you will be using the emulation probe with an emulation module), and the LAN cable to the emulation probe.
  • Page 115: Specifications And Characteristics

    Specifications and Characteristics...
  • Page 116: Emulation Probe Electrical Characteristics

    Specifications and Characteristics The following operating characteristics are not specifications, but are typical operating characteristics for the Agilent Technologies E5900B emulation probe and E5901B emulation module. Operating characteristics The following operating characteristics are not specifications, but are typical operating characteristics.
  • Page 117: Trigger Out Smb Port

    Specifications and Characteristics Input/Output Electrical Characteristics Input/Output Electrical Characteristics Trigger Out SMB Port With a 50 load, a logic high is >= 2.0 V, and a low is <= 0.4 V. The output function is selectable (see “To configure Trigger Out” on page 69).
  • Page 118 Emulation Probe Characteristics Motorola M•CORE MMC2107 Microprocessor Compatibility I n p u t C h a r a c t e r i s t i c s 1 / 3 V r e f 1 / 2 V r e f 2 / 3 V r e f S i g n a l S y m b o l...
  • Page 119: Emulation Probe Environmental Characteristics

    Specifications and Characteristics Environmental Characteristics Environmental Characteristics Operating: C to +40 ° ° (+41 F to +104 ° ° Temperature Nonoperating: C to +70 ° ° (-40 F to +158 ° ° Operating/nonoperating 4600 m (15 000 ft) Altitude 15% to 95% @ 40 C for 24 hrs.
  • Page 120 Specifications and Characteristics Environmental Characteristics Emulation for the Motorola M•CORE...
  • Page 121: Troubleshooting The Emulation Probe

    Troubleshooting the Emulation Probe...
  • Page 122 Troubleshooting the Emulation Probe If you have problems with the emulation probe, your first task is to determine the source of the problem. Problems may originate in any of the following places: • The connection between the emulation probe and your debugger •...
  • Page 123: General Troubleshooting

    Troubleshooting the Emulation Probe General Troubleshooting General Troubleshooting If you have trouble using the emulation probe, the following steps may help you identify the problem. This troubleshooting procedure uses the built-in command line interface. For more information on the command line interface, see page 131.
  • Page 124: If A Telnet Connection To The Emulation Probe Displays The Prompt

    Troubleshooting the Emulation Probe General Troubleshooting emulation probe. Try one of the following until you get a different prompt: • Cycle power on the emulation probe. (Turn off your target power first.) • Check that the proper firmware is installed for the target board adapter or the type of emulation probe shown on the front panel of the emulation probe.
  • Page 125: Step 3: Try Some Simple Commands To Control The Target

    Troubleshooting the Emulation Probe General Troubleshooting Step 3: Try some simple commands to control the target Examples of some commands are listed on page 131. If the emulation probe has problems controlling the target The emulation probe might be having problems controlling the target if you see messages such as: "Cannot break"...
  • Page 126 Troubleshooting the Emulation Probe General Troubleshooting Restrict to real time will not allow you to access memory or registers while the target is running. By setting this option to no, you will be able to access the memory and registers while the target is running. •...
  • Page 127: Step 4: Check The Emulation Module

    Troubleshooting the Emulation Probe General Troubleshooting Step 4: Check the emulation module If you are using an E5901B emulation module, select the emulation module icon and start the Emulation Control Interface. If you have problems using the emulation probe as an emulation module in a 16700-series logic analysis system To use the emulation probe as an emulation module in a 16700-series logic analysis system you must have installed an E5901B emulation module and you...
  • Page 128: Step 5: Check Your Debugger Connection

    1 Write down the target processor version, the emulation probe firmware version, and the type of emulation probe (E5900B). See page 106 for instructions on how to display the emulation probe firmware version.
  • Page 129: Status Lights

    Troubleshooting the Emulation Probe Status Lights Status Lights Emulation Probe Target Status Lights The emulation probe uses status lights to communicate various modes and error conditions. The following table gives more information about the meaning of the power and target status lights. ❍...
  • Page 130: Emulation Probe Lan Status Lights

    Troubleshooting the Emulation Probe Status Lights Emulation Probe LAN Status Lights The yellow LED, on the right side of the connector, indicates LAN activity (receive or transmit). The green LED, on the left side of the connector, is lit when the LAN interface is operating in 100Base-Tx mode.
  • Page 131: Using The Emulation Probe Command Line Interface

    Troubleshooting the Emulation Probe Using the Emulation Probe Command Line Interface Using the Emulation Probe Command Line Interface The emulation probe has some built-in commands (also called the “terminal interface”) which you can use for troubleshooting. You can enter the built-in commands using: •...
  • Page 132: To Telnet To The Emulation Probe

    Troubleshooting the Emulation Probe Using the Emulation Probe Command Line Interface 3 The command line window will be displayed and available for use. To telnet to the emulation probe You can establish a telnet connection to the emulation probe if: •...
  • Page 133: To Use The Built-In Commands

    Troubleshooting the Emulation Probe Using the Emulation Probe Command Line Interface To use the built-in commands Here are a few commonly used built-in commands: Overview of Useful built-in commands Break—go into the background monitor state Configuration—read or write configuration options help Help—display online help for built-in commands init...
  • Page 134: Examples Of Built-In Commands

    Troubleshooting the Emulation Probe Using the Emulation Probe Command Line Interface Examples of built-in commands Reset, break and run commands To reset the target To break(stop) the target into debug mode (Background) To run the target r 100 To run the target from an address r rst To run the target from reset Register commands...
  • Page 135: To Write A Nop Loop Into Memory

    Troubleshooting the Emulation Probe Using the Emulation Probe Command Line Interface To write a NOP loop into memory NOTE: This example is specific to ARM little endian mode. Please adapt this example for the processor type you are using. To stop target if not already stopped m -d4 200=0,0,0,0,0,0,eafffff8 To write NOP loop into memory...
  • Page 136: To Set A Hardware Breakpoint (On Processor Breakpoint Registers)

    Troubleshooting the Emulation Probe Using the Emulation Probe Command Line Interface To set a hardware breakpoint (On processor breakpoint registers) (Use this type of breakpoint when debugging ROM) bc -e hwbp Enable Hardware Breakpoints bc -h -p 204 To set a hardware breakpoint at address To run the program and hit the hardware breakpoint !ASYNC_STAT...
  • Page 137: To Display The Emulation Probe Firmware Version

    Note that some of commands listed in the help screens are generic commands for Agilent emulation probes and may not be available for your product. If you are writing your own debugger, contact Agilent Technologies for more information. Emulation probe command line prompts...
  • Page 138: Configuration Commands

    Troubleshooting the Emulation Probe Using the Emulation Probe Command Line Interface Configuration commands The following commands are useful to determine whether your emulation probe is working properly. Read the current processor choice cf proc Show processor types supported by the firmware ? cf proc which has been loaded into the emulation probe Set the processor to type Motorola M•CORE MMC2107...
  • Page 139: Problems With The Target System

    Troubleshooting the Emulation Probe Problems with the Target System Problems with the Target System What to check first • Check that the emulation module firmware matches your processor. To do this, enter: v er M > The emulation probe will respond with the firmware version which is currently loaded.
  • Page 140: To Check The Debug Port Connector Signals

    Troubleshooting the Emulation Probe Problems with the Target System To check the debug port connector signals • Check for the following logic levels on the emulation probe’s target debug port connector. Levels with the emulation probe connected to the target system: Header Level Pin Number...
  • Page 141: To Interpret The Initial Prompt

    Troubleshooting the Emulation Probe Problems with the Target System To interpret the initial prompt The initial prompt can be used to diagnose several common problems. To get the most information from the prompt, follow this procedure: 1 Connect the emulation module to your target system. 2 Set the default configuration settings.
  • Page 142 Troubleshooting the Emulation Probe Problems with the Target System Now enter: M>m -d4 -a4 0=11111111,22222222,33333333,44444444 M>m -d4 -a4 0.. 00000000 11111111 22222222 33333333 44444444 00000010 00000000 00000000 00000000 00000000 00000020 00000000 00000000 00000000 00000000 00000030 00000000 00000000 00000000 00000000 00000040 00000000 00000000 00000000 00000000 00000050 00000000 00000000 00000000 00000000 00000060 00000000 00000000 00000000 00000000 00000070 00000000 00000000 00000000 00000000...
  • Page 143 Troubleshooting the Emulation Probe Problems with the Target System 5 Load a short program into a valid RAM location: start: add r0,1 - 0x2000 - 0x1200 - 0x1200 - 0x1200 br start - 0xf7fb M>reg r0=0 M>mo -a2 -d2 M>m 10000=2000,1200,1200,1200,f7fb Single step the program and note register r0 contents.
  • Page 144: M•Core-Specific Error And Status Messages

    Troubleshooting the Emulation Probe Problems with the Target System M•CORE-specific error and status messages The following is a list of unique error messages that may be encountered for this product. ERROR 143: "All Hardware Instruction Breakpoints In Use" The MMC2107 firmware allows two hardware breakpoints. ERROR 145: "Undefined Breakpoint Attribute"...
  • Page 145: Problems With The Lan Interface

    Troubleshooting the Emulation Probe Problems with the LAN Interface Problems with the LAN Interface If you cannot verify LAN communication If you cannot verify connection using the procedure in "To verify LAN communication", or if commands are not accepted by the emulation probe: ❏...
  • Page 146: If You Have Lan Connection Problems

    Troubleshooting the Emulation Probe Problems with the LAN Interface ❏ Watch the LAN LEDs to see whether the emulation probe is seeing LAN activity. The LEDs are described on page 130. Refer to your LAN documentation for information on testing connectivity. ❏...
  • Page 147: If You Have Problems Setting The Lan Parameters Using A Logic Analysis System

    If you have problems setting the LAN parameters using a logic analysis system ❏ If the E5900B emulation probe is not connected to an E5901B emulation module, then make sure the emulation probe is on the same subnet as the logic analysis system during initial setup;...
  • Page 148: Problems With The Serial Interface

    Troubleshooting the Emulation Probe Problems with the Serial Interface Problems with the Serial Interface If you cannot verify RS-232 communication If the emulation probe prompt does not appear in the terminal emulator window: ❏ Make sure that you have connected the emulation probe to the proper power source and that the power switch is on.
  • Page 149 Troubleshooting the Emulation Probe Problems with the Serial Interface probe is turned off (or is not connected) will hang the PC. The only way to get control back is to reboot the PC. Therefore, we recommend that you always turn on the emulation probe before attempting to connect via RS-232. Emulation for the Motorola M•CORE...
  • Page 150: Problems With The Emulation Module

    Troubleshooting the Emulation Probe Problems with the Emulation Module Problems with the Emulation Module Occasionally you may suspect a hardware problem with the emulation module. The procedure in this section describes how to test the emulation module hardware, and if a problem is found, how to repair or replace the broken component.
  • Page 151: Problems With The Emulation Probe

    Troubleshooting the Emulation Probe Problems with the Emulation Probe Problems with the Emulation Probe To run the emulation probe performance verification tests In addition to the powerup tests, there are several additional performance verification (PV) tests available. These tests can be performed through a 16700-series logic analysis system or via a serial or telnet connection.
  • Page 152: To Run Complete Performance Verification Tests Using A Serial Or Telnet Connection

    Troubleshooting the Emulation Probe Problems with the Emulation Probe CAUTION: Disconnect the emulation probe from your target system before running the Performance Verification tests. Running the Target Board Adapter Feedback Test (which is part of the pv test) with the target system connected can damage components on the target system.
  • Page 153 6: Target Board Adapter Feedback Test (FACTORY ONLY) Not Executed FAILED Number of tests: 1 Number of failures: 0 Copyright (c) Agilent Technologies, Inc. 1999 All Rights Reserved. Reproduction, adaptation, or translation without prior written permission is prohibited, except as allowed under copyright laws.
  • Page 154: If A Performance Verification Test Fails

    ESD preventive practices. Test 5: Break In and Trigger Out SMB Feedback Test Before returning to Agilent Technologies, check to ensure that you have connected a good cable between the two SMB connectors. Emulation for the Motorola M•CORE...
  • Page 155: Test 6: Target Board Adapter Feedback Test

    Test 6: Target Board Adapter Feedback Test Failure of this test indicates a hardware problem with the emulation probe. Contact Agilent Technologies for assistance. This test exercises the I/O circuitry. If the test passes, but the emulation probe seems to have trouble communicating with the target system, the problem is probably with the target system.
  • Page 156: Returning Parts For Service

    The repair strategy for this emulation solution is board replacement. Exchange assemblies are available when a repairable assembly is returned to Agilent Technologies. These assemblies have been set up on the “Exchange Assembly” program. This lets you exchange a faulty assembly with one that has been repaired, calibrated, and performance verified by the factory.
  • Page 157: To Obtain Replacement Parts

    The following table lists some parts that may be replaced if they are damaged or lost. Not all parts are shipped with every product. The part numbers are subject to change. Contact your nearest Agilent Technologies sales office for further information.
  • Page 158: To Clean The Instrument

    Troubleshooting the Emulation Probe To obtain replacement parts To clean the instrument If the instrument requires cleaning: 1 Remove power from the instrument. 2 Clean the instrument using a soft cloth that has been moistened in a mixture of mild detergent and water. 3 Make sure that the instrument is completely dry before reconnecting it to a power source.
  • Page 159: Glossary

    (TIM) or an analysis probe. An the processor running (exit the E5901B emulation module is used Background Debug Monitor). with an E5900B emulation probe and does not use a TIM. Debug Mode See Background Debug Monitor. Emulation Probe An emulation...
  • Page 160 Glossary raise a probe above a target cables. A high-density adapter cable microprocessor to avoid mechanical has a single MICTOR connector that contact with other components is installed into the analysis probe, installed close to the target and two cables that are connected to microprocessor.
  • Page 161 Glossary identify logic analyzer channels. A Monitor, In See Background label consists of a name and an Debug Monitor. associated bit or group of bits. Pod A collection of logic analyzer Link-Level Address The unique channels associated with a single address of the LAN interface.
  • Page 162 A standalone logic analyzer differs from a mainframe Target Board Adapter A daughter logic analyzer in that it does not offer board inside the E5900B emulation card slots for installation of additional probe which customizes the capabilities, and its specifications are...
  • Page 163 Glossary determined by an internal sample rate clock, asynchronous to signals in the target system. Transition Board A board assembly that obtains signals connected to one side and rearranges them in a different order for delivery at the other side of the board. Trigger Specification A set of conditions that must be true before the instrument triggers.
  • Page 164 Glossary Emulation for the Motorola M•CORE...
  • Page 165: Index

    Index clocks specifications address pattern test E8130A product number TCK speed address, IP elastomeric probe adapter command line interface altitude specifications definition logic analysis system analysis probe electrical characteristics commands, built-in definition emulation migration configuration processors supported definition emulation module product numbers See also migration configuration commands...
  • Page 166 Index flexible adapter memory test definition oscilloscope write labels flowchart, setup procedure definition rotate pattern walking ones connection problems walking zeroes interface gateway address messages, error and status lan command definition microprocessors supported LAN parameters general-purpose flexible adapter MICTOR connector, definition debugger definition migration...
  • Page 167 Index preprocessor interface service, how to obtain See analysis probe setup target board adapter problems See configuration definition emulation module setup assistant target control port emulation probe definition target interface module (TIM) LAN interface networking disabled definition serial interface setup flowchart target system processor family slow clock message...
  • Page 168 Index updating firmware versions, firmware emulation module emulation probe voltage reference, configuring Vref signal walking ones test walking zeros test web interface web sites Agilent logic analyzers wizard See setup assistant workstation connecting to Emulation for the Motorola M•CORE...
  • Page 169 89/336/EEC (including 93/68/EEC) and carries the CE marking accordingly (European Union). This product was tested in a typical configuration with Agilent Technologies test systems. Date: 12/30/99 Ken Wyatt / Product Regulations Manager For further information, please contact your local Agilent Technologies sales office, agent or distributor.
  • Page 170 B Pass - Temporary degradation, self recoverable. C Pass - Temporary degradation, operator intervention required. D Fail - Not recoverable, component damage. Note: Use standard ESD preventive practices while handling and connecting the E5900B to its target to avoid component damage. Sound Pressure...
  • Page 171 89/336/EEC (including 93/68/EEC) and carries the CE marking accordingly (European Union). This product was tested in a typical configuration with Agilent Technologies test systems. Date: 12/30/99 Ken Wyatt / Product Regulations Manager For further information, please contact your local Agilent Technologies sales office, agent or distributor.
  • Page 172 Product Regulations IEC 61326-1:1997+A1:1998 / EN 61326-1:1997+A1:1998 Performance Criteria CISPR 11:1990 / EN 55011:1991—Group 1 Class A IEC 61000-4-2:1995+A1:1998 / EN 61000-4-2:1995 (ESD 4kV CD, 8kV AD) IEC 61000-4-3:1995 / EN 61000-4-3:1995 (3 V/m 80% AM) IEC 61000-4-4:1995 / EN 61000-4-4:1995 (EFT 0.5kV line-line, 1kV line-earth) IEC 61000-4-6:1996 / EN 61000-4-6:1996 (3V 80% AM, power line) Australia/New Zealand: AS/NZS 2064.1 Safety...
  • Page 173 Do The Caution sign denotes a not use repaired fuses or short- hazard. It calls attention to an Agilent Technologies shall not be circuited fuseholders. To do so operating procedure, practice, or liable for errors contained herein could cause a shock of fire hazard.
  • Page 174 About this edition UNIX is a registered trademark of expressed or implied. Agilent The Open Group. This Agilent Technologies This is the Agilent Technologies Technologies specifically product has a warranty against E5900B Option 090 Emulation Windows, MS Windows, Windows disclaims the implied defects in material and for the Motorola M•CORE User’s...

Table of Contents