Troubleshooting Ethernet Problems with Your Oscilloscope APPLICATION NOTE

Similar documents
Troubleshooting Ethernet Problems with Your Oscilloscope APPLICATION NOTE

Troubleshooting USB 2.0 Problems with Your Oscilloscope APPLICATION NOTE

Power Analyzer Firmware Update Utility Version Software Release Notes

How to Troubleshoot System Problems Using an Oscilloscope with I 2 C and SPI Decoding APPLICATION NOTE

Safety. Introduction

USB 2.0 Application Software

Tektronix Logic Analyzer Probes P5900 Series Datasheet

Debugging CAN, LIN, and FlexRay Automotive Buses with an Oscilloscope

USB 2.0 Application Software

Serial Support Using Oscilloscopes and Optional Software SELECTION GUIDE

Fast 3D EMC/EMI Scan with Detectus Scanning System and Tektronix Real Time Spectrum Analyzers CASE STUDY

RTPA2A. TekConnect probe adapter for real-time spectrum analyzers. Tektronix high-performance probing solutions. Applications. Notice to EU customers

100GBASE-SR4/TDEC Compliance and Characterization Solution

Serial Support Using Oscilloscopes and Optional Software SELECTION GUIDE

High-Performance Differential Probes P7350 P7330 P6330 Datasheet

4 GHz Active Probe P7240 Datasheet

Multi-Site Parallel Testing with the S535 Wafer Acceptance Test System APPLICATION NOTE

Advanced Test Equipment Rentals ATEC (2832)

4 GHz Active Probe P7240 Datasheet

Differential Probes TDP1500 TDP3500 Data Sheet

FB-DIMM Commands/Data and Lane Traffic Verification

TekExpress 10GBASE-T Automated Compliance Software Features & Benefits

Ethernet 10/100/1000BASE-T Application Software TDSET3 SR-ENET DPO4ENET Datasheet

Ethernet 10/100/1000BASE-T Application Software

Keysight Technologies RS232/UART Protocol Triggering and Decode for Infiniium Series Oscilloscopes. Data Sheet

Digital Pre-emphasis Processor BERTScope DPP Series Datasheet

How to Debug USB 3.1 Gen 1 & Gen 2 Electrical Compliance Failures APPLICATION NOTE

Keysight Technologies N8825A/B Infiniium 10BASE-T / 100BASE-TX Ethernet Decoder. Data Sheet

CAN, LIN and FlexRay Protocol Triggering and Decode for Infiniium Series Oscilloscopes

Digital Pre-emphasis Processor BERTScope DPP Series Datasheet

MTS4EA Elementary Stream Analyzer

50GBASE-FR/LR, 100GBASE-DR, 200GBASE-DR4/ LR4/FR4 & 400GBASE-LR8/FR8/DR4 Optical Conformance and Characterization Solution for Sampling Scopes

Application Overview. Preparing. for FB-DIMM and DDR2. Are you ready?

PCI Express Protocol Triggering and Decode for Infiniium 9000 Series Oscilloscopes

Keysight Technologies I 2 C and SPI Protocol Triggering and Decode

Adaptive Bitrate Streaming

I 2 C and SPI Protocol Triggering and Decode for Infiniium 8000 and Series Oscilloscopes

USB 2.0 Application Software USB 2.0 Decoding, Triggering, and Compliance Testing Software

MIPI D-PHY Multilane Protocol Triggering and Decode

Complement Drive Test for UTRAN using a passive Protocol Monitor

Memory Interface Electrical Verification and Debug DDRA and DDR-LP4 Datasheet

CTRL7100A CTRL7100A Instrument Controller

I 2 C and SPI Protocol Triggering and Decode for Infiniium 9000A and 9000 H-Series Oscilloscopes

Electrical Clock Recovery Modules

TriMode Probe Family P7700 Series TriMode Probes

Keysight N8843A I3CSM Protocol Trigger and Decode for Infiniium Oscilloscope. Data Sheet

HDMI Compliance Test Software

Serial Triggering and Analysis Application Modules AERO AUDIO AUTO AUTOMAX COMP EMBD FLEX USB ENET Datasheet

TekVPI Technology Delivers Versatility and Ease-of-Use in a New Probe Interface Architecture

HEVC / AVC Video and Compressed Audio Analyzer MTS4EAV7 Datasheet

Serial Triggering and Analysis Application Modules

TekSmartLab TBX3000A, TSL3000B Datasheet

Serial Triggering and Analysis Application Modules AERO AUDIO AUTO AUTOMAX COMP EMBD FLEX USB ENET Datasheet

Cerify Automated QC of File-based Video

Cross-Bus Analysis Reveals Interactions and Speeds Troubleshooting

Keysight Technologies

I 2 S Triggering and Hardware-based Decode (Option SND) for Agilent InfiniiVision Oscilloscopes

Tektronix Logic Analyzers Breakthrough Real-time Digital Systems Analysis

DisplayPort 1.2 Automated Conformance Test Solutions

PCI Express Application Software

Simplify CAN and LIN In-vehicle Network Testing

Modeling of Gigabit Backplanes from Measurements

BSAPCI3 PCI 3.0 Receiver Test Software Datasheet

Understanding and Performing USB 2.0 Electrical Testing and Debugging APPLICATION NOTE

TekSmartLab TBX3000A, TSL3000B Datasheet

10 THINGS TO KNOW ABOUT PCIe. ebook

Understanding and Performing Precise Jitter Analysis

Traffic Offload. Cisco 7200/Cisco 7500 APPLICATION NOTE

Tektronix PCI Express Logic Protocol Analyzer

Global entertainment and media outlook Explore the content and tools

Keysight Technologies DSOX4USBSQ USB 2.0 Signal Quality Test Option for 4000 X-Series. Data Sheet

E2688A, N5384A High-Speed Serial Data Analysis and Clock Recovery Software for Infiniium Oscilloscopes

TekSmartLab TBX3000A, TSL3000B Datasheet

Tablet Controller for Tektronix USB spectrum analyzers Panasonic FZ-G1 Controller Datasheet (Offered by Tektronix)

Step 1: New Portal User User ID Created Using IdentityIQ (IIQ)

Keysight N8840A USB Power Delivery Electrical and Protocol Compliance Test Software

Cisco Extensible Provisioning and Operations Manager 4.5

GW-WN150M 11b/g/n USB Wireless User Manual

RT-AX95U Wireless-AX11000 Tri Band Gigabit Router

EventBuilder.com. International Audio Conferencing Access Guide. This guide contains: :: International Toll-Free Access Dialing Instructions

Items exceeding one or more of the maximum weight and dimensions of a flat. For maximum dimensions please see the service user guide.

iclass SE multiclass SE 125kHz, 13.56MHz 125kHz, 13.56MHz

Configuring DHCP for ShoreTel IP Phones

Cisco Aironet In-Building Wireless Solutions International Power Compliance Chart

HDMI Compliance Test Software

W2630 Series DDR2 BGA Probes for Logic Analyzers and Oscilloscopes

International Packets

END-OF-SALE AND END-OF-LIFE ANNOUNCEMENT FOR THE CISCO MEDIA CONVERGENCE SERVER 7845H-2400

MHL Advanced Analysis and Compliance Test Software

U85026A Detector 40 to 60 GHz

Agilent Technologies InfiniiVision MSO N5406A FPGA Dynamic Probe for Xilinx

Agilent Technologies Infiniium MSO8000 and MSO9000 Series N5397A FPGA Dynamic Probe for Xilinx

Infiniium MSO8000, MSO9000A and MSO 9000 H-Series N5397A FPGA Dynamic Probe for Xilinx

Patent Portfolio Overview May The data in this presentation is current as of this date.

Purchasing. Operations 3% Marketing 3% HR. Production 1%

Agilent Modern Connectivity Using USB and LAN I/O Converters

ENHANCED INTERIOR GATEWAY ROUTING PROTOCOL STUB ROUTER FUNCTIONALITY

Cisco Voice Services Provisioning Tool 2.6(1)

Cisco 2651XM Gateway - PBX Interoperability: Avaya Definity G3 PBX using Analog FXO Interfaces to an H.323 Gateway

Parallel and Serial Bus Analysis Instructor s Guide

Transcription:

Troubleshooting Ethernet Problems with Your Oscilloscope

Introduction Ethernet is a family of frame-based computer networking technologies for local area networks (LANs), initially developed at Xerox PARC in the early 1970s. The first standard draft was published in 1980 by the Institute of Electrical and Electronics Engineers (IEEE). Approval of IEEE 802.3 CSMA/CD occurred in 1982 and the international ISO/IEEE 802.3 standard was approved in 1984. The popularity of 10BASE-T and 100BASE-TX and decreasing implementation cost have spurred their use in embedded system designs, as well as continuing to be used as a system-level interconnect technology. Analyzing Ethernet traffic, both at the physical and protocol layers, enables verification of communication between connected systems and can provide insight into the operation of subsystems in an embedded design. However, a single differential Ethernet signal includes address, control, data, and clock information, which can make isolating events of interest difficult. Ethernet Serial Triggering and Analysis options transform select Tektronix oscilloscopes (listed in Appendix A) into robust tools for debugging 10BASE-T and 100BASE-TX-based systems with automatic trigger, decode, and search. THIS Gives a brief orientation on the physical layer and packet structure of Ethernet, with a goal of providing just enough detail to help with troubleshooting Explains how to set up decoding on an oscilloscope equipped with Ethernet decoding Explains how to interpret serial bus data on an oscilloscope equipped with Ethernet decoding Explains what triggering and searching options are available on an oscilloscope with Ethernet analysis tools With the optional serial triggering and analysis capability, Tektronix oscilloscopes become power tools for embedded system designers working with Ethernet buses. In this application note, the 5 Series MSO is used to demonstrate Ethernet serial bus decoding and triggering. Support for serial bus standards vary depending on the oscilloscope model. For a table of buses supported by different Tektronix oscilloscopes, please see Appendix A or visit www.tektronix.com. 2 WWW.TEK.COM/5SeriesMSO

HOW IT WORKS Two of the most common versions of Ethernet are 10BASE-T and 100BASE-TX which are found on most personal computers. The leading number represents the data rate in Mb/s. BASE indicates that the signals are baseband signals and there is no RF signal modulation. The T denotes the twisted pair wires that are in the LAN cable that is used between network nodes. Ethernet provides peer-to-peer packet-based communication, enabling direct point-to-point communication. At the physical layer, the 10BASE-T and 100BASE-TX signals transport address, control, data, and clock information. The data is transferred in sequences of data bytes called packets. Ethernet packets can carry other, higher-level protocol packets inside of them. For example, an Ethernet packet may contain an Internet Protocol (IP) packet, which in turn may contain a Transmission Control Protocol (TCP) packet. This signal complexity makes isolating events of interest difficult when analyzing 10BASE-T and 100BASE-TX waveforms. The Ethernet data frame format is defined by the IEEE 802.3 standard and contains seven fields: TYPE PREAMBLE START-OF-FRAME DELIMITER DESTINATION ADDRESS SOURCE ADDRESS LENGTH/TYPE DATA + PAD FRAME CHECK SEQUENCE BYTES 7 1 6 6 2 46-1500 4 The Preamble is seven bytes long consisting of an alternating pattern of ones and zeros for synchronization. The Start-of-frame Delimiter is a single byte with alternating ones and zeros but ending in two ones. The Destination and Source Media Access Control (MAC) Addresses are each six bytes long, transmitted in mostsignificant to least-significant bit order. Each Ethernet node is assigned a unique MAC address which is used to specify both the destination and the source of each data packet. The Length/Type field is a two-byte value. If the decimal value of Length/Type is 1500, it represents the number of data bytes in the data field. If the value of Length/Type is >1536 (0x0600), it is an EtherType value which specifies the protocol that is encapsulated in the payload of the Ethernet frame. (For example, EtherType is set to 0x0800 for IPv4.) The Data packet contains 46 to 1500 bytes. If the data is less than 46 bytes long, the data field is padded to be 46 bytes long. The Frame Check Sequence is a 32-bit cyclic redundancy check (CRC) and provides error checking across the Destination Address, Source Address, Length/Type and Data fields. After each frame has been sent, transmitters are required to transmit a minimum of 12 bytes of idle characters before transmitting the next frame, or they must remain idle for an equal amount of time by de-asserting the transmit enable signal. WWW.TEK.COM/5SeriesMSO 3

SETTING UP 10BASE-T ETHERNET BUS DECODING On Tektronix oscilloscopes, pressing the front panel Bus button enables you to define inputs to the scope as a bus. By simply entering the basic parameters of the Ethernet bus including the speed and type of signal, the input channel, and voltage thresholds, as shown at the left, you enable the oscilloscope to understand the information being transmitted across the bus. The Ethernet bus is a differential signal. Although the oscilloscope can acquire and decode the bus using single-ended probing, the signal fidelity and noise immunity is improved by using differential probing. 4 WWW.TEK.COM/5SeriesMSO

INTERPRETING THE ETHERNET BUS The decoded display provides a higher-level, combined view of the individual signals that make up 10BASE-T and 100BASE-TX, making it easy to identify where packets begin and end as well as sub-packet components. Each packet on the bus is decoded, and the value can be displayed in hex, binary, or ASCII in the bus waveform. In addition to seeing decoded packet data on the bus waveform itself, you can view all captured packets in a tabular view much like you would see in a software listing. Packets are time stamped and listed consecutively with columns for each component (Time, Destination Address, Source Address, Length, Data, FCS/CRC, Errors). On the 5 Series MSO, the Results Table view links back to the waveform displays. You can tap a line in the tabular display and the oscilloscope automatically zooms in on the corresponding bus signals and resulting decoded bus waveform, shown in the lower section of the screen. ETHERNET BUS ELEMENT Start of Frame Preamble and Start-of- Frame Delimiter Destination and Source Media Access Control (MAC) Addresses and EtherType IP information TCP information Frame Check Sequence values Errors INDICATED BY End Of Frame WWW.TEK.COM/5SeriesMSO 5

TRIGGERING ON THE 10BASE-T ETHERNET BUS The automated analysis on the oscilloscope can be configured to isolate, capture and display specific values on the bus. In this example the oscilloscope is set to trigger on a 10BASE-T Ethernet data transfer from IP Address 134.62.71.175 to IP Address 134.62.71.1. The oscilloscope can trigger on the Ethernet packet content shown in the table. TRIGGER ON Start of Frame MAC Addresses MAC Length/Type IP Header TCP Header Client Data End of Packet Idle FCS (CRC) Error DESCRIPTION Start of Frame Delimiter MAC Destination and Source Addresses MAC Length or EtherType (e.g. IPV4) IP Protocol and Destination and Source Addresses TCP Source and Destination Ports, Sequence and Ack Numbers Data Values End of Packet Delimiter Idle State Frame Check Sequence Error 6 WWW.TEK.COM/5SeriesMSO

SEARCHING ON THE ETHERNET BUS Serial triggering is very useful for isolating the event of interest, but once you ve captured it and need to analyze the surrounding data, what do you do? Simply use Wave Inspector to automatically search through the acquired data for user-defined criteria including serial packet content. Search options are the same as the trigger options shown on the previous page. In this example, search is set up to look for data values of 0x00 and it found 31 events. Each occurrence is highlighted by a search mark. Rapid navigation between marks is as simple as pressing the Previous ( ) and Next ( ) buttons on the oscilloscope front panel. WWW.TEK.COM/5SeriesMSO 7

WORKING WITH 100BASE-TX BUSES Setting up a 100BASE-TX bus is similar to setting up a 10BASE-T bus. You define a 100BASE-TX Ethernet bus by entering the basic parameters of the bus including the speed and type of signal, the input channel, and voltage thresholds. Unlike the 10BASE-T signal which has visible bursts of signal activity, the 100BASE-TX signal is almost constantly transitioning because of the scrambling that is used, even in the idle state. So protocol-aware bus triggering is especially important, even for simply viewing the decoded bus information. In this case, the default Trigger On Start of Frame provides a stable display. 8 WWW.TEK.COM/5SeriesMSO

Adding the Results Table view of the decoded information provides a timestamped display of the bus activity that can be easily compared to the software listings. Tapping a line in the Results Table automatically zooms in on the corresponding bus signals and resulting decoded bus waveform, shown in the lower section of the display. WWW.TEK.COM/5SeriesMSO 9

The decoded bus display above shows that three bursts of bus activity were captured. To find specific values in the activity, you can use Wave Inspector automatic search to mark each specified evet. In this example, the automated bus search is configured to find all Frame Check Sequence errors and it shows 3 events, at the end of each burst of bus activity. 10 WWW.TEK.COM/5SeriesMSO

Appendix A TEKTRONIX OFFERS A RANGE OF MODELS TO MEET YOUR NEEDS AND YOUR BUDGET: Bandwidth MSO/DPO70000 SERIES DPO7000C SERIES 5 SERIES MSO 33 GHz, 25 GHz, 23 GHz, 20 GHz, 16 GHz, 12.5 GHz, 8 GHz, 6 GHz, 4 GHz 3.5 GHz, 2.5 GHz, 1 GHz, 500 MHz 2 GHz, 1 GHz, 500 MHz, 350 MHz MSO/DPO5000 SERIES 2 GHz, 1 GHz, 500 MHz, 350 MHz MDO4000C SERIES 1 GHz, 500 MHz, 350 MHz, 200 MHz MDO3000 SERIES 1 GHz, 500 MHz, 350 MHz, 200 MHz, 100 MHz Analog Channels 4 4 4, 6, 8 4 4 2 or 4 2 or 4 MSO/DPO2000 SERIES Digital Channels 16 (MSO) -- 8 to 64 (opt.) 16 (MSO) 16 (opt.) 16 (opt.) 16 (MSO) Spectrum Analyzer Channels Record Length (All Channels) Sample Rate (Analog) -- -- -- -- 1 (opt.) 1 -- Up to 62.5 M (std.) Up to 250 M (opt.) 25 M (std.) Up to 125 M (opt.) 62.5 M (std.) 125 M (opt.) 25 M (std.) Up to 125 M (opt.) 20 M 10 M 1 M Up to 100 GS/s Up to 40 GS/s Up to 6.25 GS/s Up to 10 GS/s Up to 5 GS/s Up to 5 GS/s 1 GS/s 200 MHz, 100 MHz, 70 MHz Color Display 12.1 in. XGA 12.1 in. XGA 15.6 in. HD 10.4 in. XGA 10.4 in. XGA 9 in. WVGA 7 in. WQVGA Serial Bus Triggering and Analysis Number of Simultaneously Displayed Serial Buses FlexRay USB 2.0 10/100BASE-T Ethernet MIL-STD-1553 8b/10b decoding D-PHY MIPI decoding PCI Express decoding FlexRay USB 2.0 10/100BASE-T Ethernet MIL-STD-1553 8b/10b decoding D-PHY MIPI decoding PCI Express decoding FlexRay USB 2.0 10/100BASE-T Ethernet I 2 S/LJ/RJ/TDM 16 16 Essentially unlimited FlexRay USB 2.0 10/100BASE-T Ethernet MIL-STD-1553 8b/10b decoding D-PHY MIPI decoding PCI Express decoding FD FlexRay USB 2.0 I 2 S/LJ/RJ/TDM MIL-STD-1553 FD FlexRay USB 2.0 I2S/LJ/RJ/TDM MIL-STD-1553 16 3 2 2 WWW.TEK.COM/5SeriesMSO 11

Contact Information: Australia* 1 800 709 465 Austria 00800 2255 4835 Balkans, Israel, South Africa and other ISE Countries +41 52 675 3777 Belgium* 00800 2255 4835 Brazil +55 (11) 3759 7627 Canada 1 800 833 9200 Central East Europe / Baltics +41 52 675 3777 Central Europe / Greece +41 52 675 3777 Denmark +45 80 88 1401 Finland +41 52 675 3777 France* 00800 2255 4835 Germany* 00800 2255 4835 Hong Kong 400 820 5835 India 000 800 650 1835 Indonesia 007 803 601 5249 Italy 00800 2255 4835 Japan 81 (3) 6714 3010 Luxembourg +41 52 675 3777 Malaysia 1 800 22 55835 Mexico, Central/South America and Caribbean 52 (55) 56 04 50 90 Middle East, Asia, and North Africa +41 52 675 3777 The Netherlands* 00800 2255 4835 New Zealand 0800 800 238 Norway 800 16098 People s Republic of China 400 820 5835 Philippines 1 800 1601 0077 Poland +41 52 675 3777 Portugal 80 08 12370 Republic of Korea +82 2 6917 5000 Russia / CIS +7 (495) 6647564 Singapore 800 6011 473 South Africa +41 52 675 3777 Spain* 00800 2255 4835 Sweden* 00800 2255 4835 Switzerland* 00800 2255 4835 Taiwan 886 (2) 2656 6688 Thailand 1 800 011 931 United Kingdom / Ireland* 00800 2255 4835 USA 1 800 833 9200 Vietnam 12060128 * European toll-free number. If not accessible, call: +41 52 675 3777 Find more valuable resources at TEK.COM Copyright Tektronix. All rights reserved. Tektronix products are covered by U.S. and foreign patents, issued and pending. Information in this publication supersedes that in all previously published material. Specification and price change privileges reserved. TEKTRONIX and TEK are registered trademarks of Tektronix, Inc. All other trade names referenced are the service marks, trademarks or registered trademarks of their respective companies. 06/17 EA 55W-61093-0