Troubleshooting Ethernet Problems with Your Oscilloscope APPLICATION NOTE

Similar documents
Troubleshooting Ethernet Problems with Your Oscilloscope APPLICATION NOTE

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

Power Analyzer Firmware Update Utility Version Software Release Notes

Safety. Introduction

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

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

100GBASE-SR4/TDEC Compliance and Characterization Solution

Tektronix Logic Analyzer Probes P5900 Series Datasheet

Troubleshooting USB 2.0 Problems with Your Oscilloscope APPLICATION NOTE

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

USB 2.0 Application Software

USB 2.0 Application Software

4 GHz Active Probe P7240 Datasheet

4 GHz Active Probe P7240 Datasheet

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

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

Advanced Test Equipment Rentals ATEC (2832)

High-Performance Differential Probes P7350 P7330 P6330 Datasheet

TekExpress 10GBASE-T Automated Compliance Software Features & Benefits

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

Digital Pre-emphasis Processor BERTScope DPP Series Datasheet

FB-DIMM Commands/Data and Lane Traffic Verification

Differential Probes TDP1500 TDP3500 Data Sheet

Adaptive Bitrate Streaming

Digital Pre-emphasis Processor BERTScope DPP Series Datasheet

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

MTS4EA Elementary Stream Analyzer

Serial Support Using Oscilloscopes and Optional Software SELECTION GUIDE

Serial Support Using Oscilloscopes and Optional Software SELECTION GUIDE

PCI Express Protocol Triggering and Decode for Infiniium 9000 Series Oscilloscopes

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

Complement Drive Test for UTRAN using a passive Protocol Monitor

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

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

Keysight Technologies I 2 C and SPI Protocol Triggering and Decode

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

Ethernet 10/100/1000BASE-T Application Software

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

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

MIPI D-PHY Multilane Protocol Triggering and Decode

HEVC / AVC Video and Compressed Audio Analyzer MTS4EAV7 Datasheet

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

TekSmartLab TBX3000A, TSL3000B Datasheet

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

Simplify CAN and LIN In-vehicle Network Testing

Cerify Automated QC of File-based Video

CTRL7100A CTRL7100A Instrument Controller

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

Cross-Bus Analysis Reveals Interactions and Speeds Troubleshooting

Keysight Technologies

HDMI Compliance Test Software

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

Traffic Offload. Cisco 7200/Cisco 7500 APPLICATION NOTE

Modeling of Gigabit Backplanes from Measurements

Global entertainment and media outlook Explore the content and tools

TriMode Probe Family P7700 Series TriMode Probes

Electrical Clock Recovery Modules

DisplayPort 1.2 Automated Conformance Test Solutions

BSAPCI3 PCI 3.0 Receiver Test Software Datasheet

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

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

PCI Express Application Software

TekSmartLab TBX3000A, TSL3000B Datasheet

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

Configuring DHCP for ShoreTel IP Phones

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

Cisco Aironet In-Building Wireless Solutions International Power Compliance Chart

Understanding and Performing USB 2.0 Electrical Testing and Debugging APPLICATION NOTE

Cisco Extensible Provisioning and Operations Manager 4.5

International Packets

10 THINGS TO KNOW ABOUT PCIe. ebook

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

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

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

Tektronix Logic Analyzers Breakthrough Real-time Digital Systems Analysis

RT-AX95U Wireless-AX11000 Tri Band Gigabit Router

Tektronix PCI Express Logic Protocol Analyzer

Understanding and Performing Precise Jitter Analysis

Cisco CallManager 4.0-PBX Interoperability: Lucent/Avaya Definity G3 MV1.3 PBX using 6608-T1 PRI NI2 with MGCP

E-Seminar. Voice over IP. Internet Technical Solution Seminar

ENHANCED INTERIOR GATEWAY ROUTING PROTOCOL STUB ROUTER FUNCTIONALITY

CISCO IP PHONE 7970G NEW! CISCO IP PHONE 7905G AND 7912G XML

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

TekSmartLab TBX3000A, TSL3000B Datasheet

Innovative Fastening Technologies

International Roaming Critical Information Summaries JULY 2017

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

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

U85026A Detector 40 to 60 GHz

Serial Triggering and Analysis Application Modules

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

NEW CISCO IOS SOFTWARE RELEASE 12.2(25)EY FOR CISCO CATALYST 3750 METRO SERIES SWITCHES

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

Cisco 3745 Gateway - PBX Interoperability: Avaya Definity G3 PBX using Q.931 PRI Network Side Interfaces to an H.323 Gateway

Agilent Technologies InfiniiVision MSO N5406A FPGA Dynamic Probe for Xilinx

The Role of SANAS in Support of South African Regulatory Objectives. Mr. Mpho Phaloane South African National Accreditation System

Keysight N8840A USB Power Delivery Electrical and Protocol Compliance Test Software

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

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. Other Tektronix oscilloscopes also support Ethernet triggering and analysis. See Serial Support Using Oscilloscopes and Optional Software for a complete listing. 2 TEK.COM/INNOVATIVE-SCOPES

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. TEK.COM/INNOVATIVE-SCOPES 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 TEK.COM/INNOVATIVE-SCOPES

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 TEK.COM/INNOVATIVE-SCOPES 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 TEK.COM/INNOVATIVE-SCOPES

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. TEK.COM/INNOVATIVE-SCOPES 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 TEK.COM/INNOVATIVE-SCOPES

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. TEK.COM/INNOVATIVE-SCOPES 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 TEK.COM/INNOVATIVE-SCOPES

TEK.COM/INNOVATIVE-SCOPES 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 3086 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 Rev. 090617 Find more valuable resources at TEK.COM Copyright Tektronix. All rights reserved. Tektronix products are coverwed 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/18 EA 55W-61093-1