Debugging Memory Interfaces using Visual Trigger on Tektronix Oscilloscopes

Similar documents
Memory Interface Electrical Verification and Debug DDRA Datasheet

Memory Interface Electrical Verification and Debug

Memory Interface Electrical Verification and Debug

Memory Interface Electrical Verification and Debug DDRA DDR-LP4 Datasheet

Automated Limit Testing

Analyzing 8b/10b Encoded Signals with a Real-time Oscilloscope Real-time triggering up to 6.25 Gb/s on 8b/10b encoded data streams

Limit and Mask Test Application Module

Identifying Setup and Hold Violations with a Mixed Signal Oscilloscope APPLICATION NOTE

Troubleshooting Analog to Digital Converter Offset using a Mixed Signal Oscilloscope APPLICATION NOTE

Debugging a Mixed Signal Design with a Tektronix Mixed Signal Oscilloscope

Quick Signal Integrity Troubleshooting with Integrated Logic Analyzers & Oscilloscopes

Logic Analyzer Triggering Techniques to Capture Elusive Problems

How-To Guide. LQV (Luminance Qualified Vector) Measurements with the WFM8200/8300

The use of Time Code within a Broadcast Facility

Timesaving Tips for Digital Debugging with a Logic Analyzer

Tektronix Logic Analyzer Probes P6900 Series Datasheet for DDR Memory Applications

5 Series MSO Serial Triggering and Analysis Applications 5-SRAUDIO, 5-SRAUTO, 5-SRCOMP, and 5-SREMBD Datasheet Serial triggering

SignalCorrect Software and TCS70902 Calibration Source Option SC SignalCorrect software

Electrical Sampling Modules Datasheet 80E11 80E11X1 80E10B 80E09B 80E08B 80E07B 80E04 80E03 80E03-NV

The Benefits of External Waveform Monitors in Color Correction for Video. Application Note

Black and Frozen Frame Detection

Spearhead Display. How To Guide

Video Reference Timing with Tektronix Signal Generators

40 Gb/s PatternPro Programmable Pattern Generator PPG4001 Datasheet

Network Line Card Testing using the TDS3000B DPO Application Note. Line Card Testing Example: Throughput = Shippable Dollars

PatternPro Error Detector PED3200 and PED4000 Series Datasheet

40 Gb/s PatternPro Programmable Pattern Generator PPG4001 Datasheet

PAM4 Transmitter Analysis

C-PHY Essentials Transmitter Test Solution TekExpress C-PHY Essentials Tx

46 GBaud Multi-Format Optical Transmitter

Electrical Sampling Modules

Low Cost, High Speed Spectrum Analyzers For RF Manufacturing APPLICATION NOTE

The XYZs of Logic Analyzers

MultiView Zoom Simplifies Navigation of Long Records to Speed Debugging and Analysis

Dual Scope Synchronization

MPEG Solutions. Transition to H.264 Video. Equipment Under Test. Test Domain. Multiplexer. TX/RTX or TS Player TSCA

Video Quality Monitors Sentry Edge II Datasheet

How to Use a Mixed Signal Oscilloscope to Test Digital Circuits APPLICATION NOTE

Automatic Changeover Unit ECO8000 Datasheet

Serial Triggering and Analysis Applications. Bus display. Bus decoding. Key features. Results table. Wave Inspector search

Optical Sampling Modules 80C01 80C02 80C07B 80C08C 80C10 80C11 80C12

Troubleshooting and Analyzing Digital Video Signals with CaptureVu

Using FastFrame Segmented Memory

Artisan Scientific is You~ Source for: Quality New and Certified-Used/Pre:-awned ECJuiflment

Video Quality Monitors

Evaluating Oscilloscope Mask Testing for Six Sigma Quality Standards

Automatic Changeover Unit ECO8020 Datasheet

Arbitrary Waveform Generators AWGSYNC01 Synchronization Hub Datasheet

CAN, LIN and FlexRay Protocol Triggering and Decode for Infiniium 9000A and 9000 H-Series Oscilloscopes

Serial Triggering and Analysis Application Modules

100G and 400G Datacom Transmitter Measurements

Keysight Technologies Using Oscilloscope Segmented Memory for Serial Bus Applications. Application Note

Troubleshooting Your Design with Tektronix MSO and DPO Series Oscilloscopes

Oscilloscope Measurement Tools to Help Debug Automotive Serial Buses Faster

Time-Saving Features in Economy Oscilloscopes Streamline Test

How to Use a Mixed Signal Oscilloscope to Test Digital Circuits

Oscilloscope Display Quality Impacts Ability to View Subtle Signal Details

Keysight Technologies RS-232/UART Triggering and Hardware-Based Decode (N5457A) for InfiniiVision Oscilloscopes

Optical Sampling Modules 80C02 80C07B 80C08C 80C10 80C10B 80C11 80C12

Troubleshooting Your Design with the TDS3000C Series Oscilloscopes

Logic Analysis Fundamentals

Tektronix Video Signal Generators

Memory-Depth Requirements for Serial Data Analysis in a Real-Time Oscilloscope

RS-232/UART Triggering and Hardware-Based Decode (N5457A) for Agilent InfiniiVision Oscilloscopes

Keysight Technologies Decoding Automotive Key Fob Communication based on Manchester-encoded ASK Modulation

Accuracy Delta Time Accuracy Resolution Jitter Noise Floor

Using Triggered Video Capture to Improve Picture Quality

How Do You Get The Most Out Of Your Tektronix Performance Oscilloscope?

Understanding. FFT Overlap Processing. A Tektronix Real-Time Spectrum Analyzer Primer

HCF4054B 4 SEGMENT LIQUID CRYSTAL DISPLAY DRIVER WITH STROBED LATCH FUNCTION

FlexRay Physical Layer Eye-diagram Mask Testing

TLA5000B Series logic analyzers combine debug power with simplicity and affordability

Keysight Technologies Segmented Memory Acquisition for InfiniiVision Series Oscilloscopes. Data Sheet

Keysight Technologies Oscilloscope Display Quality Impacts Ability to View Subtle Signal Details. Application Note

Keysight Technologies Oscilloscope Memory Architectures Why All Acquisition Memory is Not Created Equal. Application Note

Keysight Technologies Achieve High-Quality Compliance Test Results Using A Top-Quality Test Fixture. Application Note

Measuring and Interpreting Picture Quality in MPEG Compressed Video Content

How to Guide. Closed Caption Monitoring. WFM6120/7020/7120 & WVR6020/7020/7120 Version Software

Agilent Technologies N5454A Segmented Memory Acquisition for Agilent InfiniiVision Series Oscilloscopes

Data Pattern Generator

Video Quality Monitors Sentry Edge Datasheet

Data Pattern Generator DG2020A Data Sheet

CAN/LIN Measurements (Option AMS) for Agilent s InfiniiVision Series Oscilloscopes

HCF4027B DUAL J-K MASTER SLAVE FLIP-FLOP

Selecting the Right Oscilloscope for Protocol Analysis Applications

Coherent Lightwave Signal Analyzer

Keysight Technologies Oscilloscope Measurement Tools to Help Debug Automotive Serial Buses Faster. Application Note

Bio-Rad Imaging Systems Family

Keysight Technologies Multi-Channel Audio Test using the Keysight U8903A Audio Analyzer

AN2421 Application note

Mixed Analog and Digital Signal Debug and Analysis Using a Mixed-Signal Oscilloscope Wireless LAN Example Application

Ethernet SFP+ QSFP+ Tx Compliance & Debug Solution SFP-TX, SFP-WDP Datasheet

Agilent Understanding the Agilent 34405A DMM Operation Application Note

HCF40193B PRESETTABLE UP/DOWN COUNTERS (DUAL CLOCK WITH RESET) BINARY TYPE

Serial Data Link Analysis Visualizer (SDLA Visualizer) Option SDLA64, DPOFL-SDLA64

Keysight Technologies Mixed Analog and Digital Signal Debug and Analysis Using a Mixed-Signal Oscilloscope

Video Quality Monitors Sentry Datasheet

BFI RESEARCH AND STATISTICS PUBLISHED AUGUST 2016 THE UK FILM MARKET AS A WHOLE. Image: Mr Holmes courtesy of eone Films

Keysight Technologies ad Integrated RF Test Solution

STEVAL-ICB004V1. Advanced resistive touchscreen controller demonstration board based on the STMPE811. Features. Description

Transcription:

Debugging Memory Interfaces using Visual Trigger on Tektronix Oscilloscopes Application Note What you will learn: This document focuses on how Visual Triggering, Pinpoint Triggering, and Advanced Search & Mark to set up triggers to easily capture events of interest.

Application Note Application Processor Clock Address / CMD Data DRAM Introduction Virtually every electronic device uses some form of memory. As applications become more complex and media-oriented, they drive the need for higher performance along with the need for improved efficiency and reliability at lower cost. JEDEC has evolved technical standards to support these requirements making DDR memory the most widely used memory technology in all electronic devices, i.e., computer systems, consumer electronics, industrial applications or mobile products. JEDEC recently published the fourth generation (DDR4) memory standard, as well as the third generation low power (LPDDR3) memory standard. The DDR interface can be divided into three separate groups of signals: Clock: - All transactions on the bus occur with reference to the clock signal. The clock is provided by the Application Processor. Address/Command Bus: - Signals are uni-directional and are driven by the application processor to the DRAM at the speed of the clock signal. This carries Address as well as Commands to the DRAM. Data Bus: - Signals are bi-directional and are Command bus driven by either the DRAM Chip (READ Command) or the Application processor (WRITE Command) at twice the speed of the clock signal. DDR bus protocol allows signals to go idle, or tri-state when they are not active. When debugging or performing JEDEC conformance measurements on the DDR interface, it is necessary to perform certain measurements only on qualified portions of the signal acquired using an Oscilloscope, such as during Read or Write bursts or on bus transactions to a specific Rank. Capturing and finding the correct sections of the waveform for analysis on the DDR interface is challenging; this requires collecting and sorting through thousands of acquisitions for the event of interest. Defining a trigger that isolates the desired event and shows only asserted signal states; speeds up the debug/characterization of the memory interface. Tektronix Oscilloscope Capabilities for Memory Validation Tektronix Oscilloscopes provide a variety of ways to trigger, isolate and capture events of interest making them an indispensable tool for debug, validation and characterization of memory interfaces. Some of the capabilities that are most useful for memory interface validation are Visual Triggering, Pinpoint Triggering, and Advanced Search & Mark. This document focuses on how the Visual Trigger capabilities on Tektronix Oscilloscopes can be used to setup different types of triggers in order to capture different events on the Memory Interface. 2 www.tektronix.com/memory

Debugging Memory Interfaces using Visual Trigger on Tektronix Oscilloscopes Visual Trigger Visual Trigger feature provides customized qualification of PinPoint hardware trigger events by using user-defined qualification areas drawn on the scope display. By discarding acquired waveforms which do not meet the graphical definition, Visual Trigger extends the oscilloscope s trigger capabilities beyond the traditional hardware trigger system. Pinpoint Triggering Tektronix PinPoint trigger is the industry s highest performance scope trigger system. The PinPoint trigger system encompasses Dual A- and B-Event Triggering, Logic Qualification, Window Triggering, and Reset Triggering apart from the usual range of threshold and timing related triggers. Advanced Search & Mark Advanced Search & Mark (ASM) scans acquired waveform data for multiple occurrences of an event and marks each occurrence. Search and Mark extends across live channels, stored data and math waveforms. The results of ASM can be viewed in a table making it easy to navigate to a particular occurrence of the event in a long record. Advanced Search & Mark and Visual Trigger can be used in combination with PinPoint triggering to trigger and isolate READ and WRITE bursts, detecting patterns as well as building eye diagrams of specific events. This document focuses on how these capabilities on Tektronix Oscilloscopes can be used to setup different types of triggers in order to capture different events on the Memory Interface. Feature Number of areas 8 Area shapes supported Area operations Area Colors Long Record length and zoom Triggers qualification Logic Operators Acquisition Modes Programmable Interface Save/Recall setup Supported Models Table 1. Visual Trigger Capabilities. Feature A-Event Trigger Types B-Event Trigger Types Trigger Sequences Application Specific Triggers Search and Mark Events Supported Models Table 2. Pinpoint Trigger Capabilities. Description Rectangle, Triangle, Trapezoid, Hexagon, User Defined (48 vertices) Move, Resize, Duplicate, Flip, Rotate and add/delete/edit vertices 1 per channel Supported A, B, A+B, B event scan, trigger reset and trigger delay In/Out, AND, OR, XOR Real-time, Equivalent time Yes All settings or only Visual Trigger MSO/DPO/DSA70000C/D, DPO7000C, MSO/DPO5000 Description Edge, Glitch, Runt, Width, Transition Time, Timeout, Pattern, State, Setup/ Hold, Window, Selectable logic qualification up to 20 bits wide on MSO Same as A-Event Trigger Types Main, Delayed by Time, Delayed by Events, Reset by Time, State, Transition Communication, Video, Serial Pattern, 8b/10b, Low Speed Standard Protocol Triggers Search glitches or runts, as well as transition rate, pulse width, setup and hold, timeout, window violations or find any logic or state pattern on any number of channels. Search DDR read or write bursts with Opt. DDRA. MSO/DPO/DSA70000C/D, DPO7000C, MSO/DPO5000 www.tektronix.com/memory 3

Application Note Figure 1. DDR3 READ and WRITE operations. Isolating Read and Write Bursts on the DDR3 Bus DDR READ and WRITE operations are burst oriented. The burst length is programmed during initialization by writing to the appropriate bit fields in the MRS registers. A READ or a WRITE operation begins with a READ or a WRITE command along with the Column Address targeted at the active open Row. After a delay specified by Read/ Write Latency, the Data appears as done but there are several differences in the signaling between the two cycles that can be used to quickly setup trigger conditions to isolate and trigger on bus events of interest. In this white paper, DDR3 will be used as the example to illustrate the different types of Visual Triggering setups. Polarity of the DQS pre-amble - For DDR3 and LPDDR3, negative on READ vs. positive on WRITE - For DDR4, both READ and WRITE positive DQS and DQ phase alignment differences - Edge aligned for READ vs. Center aligned for WRITE CS for Qualification of Bus transactions to a specific rank READ/WRITE commands on the command bus Signal Amplitude vs. scope probe point location 4 www.tektronix.com/memory

Debugging Memory Interfaces using Visual Trigger on Tektronix Oscilloscopes Figure 2. Read Burst. Isolating Bursts Based on Pre-Amble Polarity and DQ/DQS Phase Alignment In Figures 2 and 3, Channel 1 (Yellow) is DQS strobe and Channel 2 (Blue) is DQ data bit. A simple edge trigger is defined for the channel connected to the DQS strobe. Without any qualification, the hardware trigger will capture both Read and Write bursts. The user may configure screen areas to capture either Reads or Writes depending on which is desired. To Trigger on READs (see Figure 2) Areas A1 and A2 are set so that when a signal is captured there is no DQS signal in these regions. This ensures that DQS is captured coming out of tri-state. Area A3 is set to filter out positive pre-amble events (Write), and only show negative polarity pre-amble events (Read). Areas A4 and A5 are set so that DQ signal does not to enter these regions, ensuring that the DQS and DQ are aligned. www.tektronix.com/memory 5

Application Note Figure 3. Write Burst. To Trigger on WRITEs (see Figure 3) Areas A1 and A2 are set so that when a signal is captured there is no DQS signal in these regions. This ensures that DQS is captured coming out of tri-state. Area A3 is set to filter out negative pre-amble events (READ), and only show positive polarity pre-amble events (WRITE). Areas A4 and A5 are set so that DQ signal enters these regions, ensuring that the DQS and DQ are not aligned. 6 www.tektronix.com/memory

Debugging Memory Interfaces using Visual Trigger on Tektronix Oscilloscopes Figure 4. Read Burst based on Amplitude. Isolating Read / Write Bursts Based on Amplitude The application processor drives the DQ/DQS lines during WRITEs, and the DRAM memory drives the DQ/DQS lines during READs. The signals are usually probed as close as possible to the balls of the DRAM device. Due to this probing location, READs will have a higher amplitude compared to the WRITEs in this case. This difference in amplitude can be used to setup a Visual trigger to isolate READ from WRITE. To Trigger on READs (See Figure 4) Areas A1 and A2 are set so that when a signal is captured there is no active DQS signal in these regions. This ensures that DQS is captured coming out of tri-state. Area A3 is set to keep in mode to detect higher DQS swing on the Read burst. Because of higher amplitude on the Reads, DQS signals that do not pass through A3 (Writes) are filtered. www.tektronix.com/memory 7

Application Note Figure 5. Write Burst based on Amplitude. To Trigger on WRITEs (See Figure 5) Areas A1 and A2 is set so that when signal is captured there is no active DQS signal in these regions. This ensures that we capture signal coming out of tri-state. Area A3 is set to keep out mode to detect lower DQS swing on the Write burst. Because of higher amplitude on the Reads, DQS signals that pass through A3 (Reads) are filtered. 8 www.tektronix.com/memory

Debugging Memory Interfaces using Visual Trigger on Tektronix Oscilloscopes Figure 6. Visual Trigger for a Data pattern. Isolating a Burst on a Specific Pattern There are cases when it is necessary to trigger on and isolate a burst with a specific pattern such as debugging the crosstalk due to capacitive coupling on adjacent lines. Figure 6 shows a Visual Trigger setup to isolate a Write burst with a DQ bit pattern of 001001X. The specific data pattern is defined using areas A4-A7 shown in blue. Figure 6 shows a capture based on the definition on the left. www.tektronix.com/memory 9

Application Note Figures 7 and 8 show the Visual Trigger custom shape feature, allowing the user to add additional vertices and move these vertices to make custom shapes. In both cases below, an upper and lower area have been created between which the DQ data signal must stay in order for the capture to be valid and thus shown on the display. Figure 7. Trigger on Data Pattern '11000000'. Figure 8. Trigger on Data Pattern '01000001X'. 10 www.tektronix.com/memory

Debugging Memory Interfaces using Visual Trigger on Tektronix Oscilloscopes Figure 9. Eye Diagram before qualification. Isolating Bursts Using the Digital Channels on the MSO The digitals signals on the MSO can be connected to the command bus on the DDR interface and the digital pattern triggers can be setup to trigger the READ/WRITE commands. The information on the command bus acquired on the digital channels can be used for Isolating, Detecting, and Marking the bursts for further analysis. Isolating and Rendering Eye Diagram Using Visual Trigger for Specific Rank Visual Trigger can be helpful in distinguishing signals from multiple ranks or slots within a DDR memory array. Figure 9 is an eye diagram display of a DDR3 DQS strobe signal (Yellow) and DQ data signal (Blue). Because the DDR3 data and strobe lines are shared by multiple components on the bus, there are two distinct amplitude levels of both the strobe and data eyes. The higher amplitudes correspond to the target rank within the memory array, while the lower amplitudes correspond to another rank. www.tektronix.com/memory 11

Application Note Figure 10. Eye diagram after Visual Trigger qualification. In such a verification test, there is a need to acquire millions of data bits in the eye diagram, but only bits from the desired or target rank. To evaluate the eye diagrams of the target rank only, Visual Trigger is used to capture and display only the signals from the target rank. As shown in Figure 10, square areas A1 and A2 are positioned to exclude the lower-amplitude strobe signals, and hexagonal area A3 is placed at the center of the eye and sized to exclude the lower-amplitude data signals. Using Visual Trigger, eye diagram analysis on the signals from the desired rank can be isolated and better targeted for analysis. 12 www.tektronix.com/memory

Debugging Memory Interfaces using Visual Trigger on Tektronix Oscilloscopes Figure 11. DDR4 mask based receiver testing. For DDR4, JEDEC has specified a minimum mask area for DQ eye diagram specified at the input to the DRAM receiver (See Figure 11). The receiver mask defines the minimum area that the Write DQ signal must not encroach It is assumed that signals meeting the receiver mask will be correctly latched by the DRAM input buffers. The specification defines the mask size for each speed grade in the DDR4 Specification. Once the persistence diagram is drawn for DQ with respect DQS, using the built-in mask measurement capability to measure PASS/FAIL results as well as margin can be obtained (see Figure 12). Figure 12. Built-in mask measurement capability. www.tektronix.com/memory 13

Conclusion The Visual Trigger capability on Tektronix Oscilloscopes take the action of isolating and capturing events of interest in order to root cause the reasons for failure on the memory interface to the next level. Combined with Pinpoint triggering, Advanced Search & Mark and Visual Trigger provides unprecedented level of insight into signal behavior allowing isolation and analysis of hard to capture events of interest, eliminating hours of Oscilloscope setup time, capturing and manually searching through acquisitions thus speeding up debug and analysis of the Memory Interfaces. References 1. Triggering Fundamentals With Pinpoint Triggering and Event Search & Mark for DPO7000 2. Tektronix Visual Triggering Technical Brief 3. Electrical Verification of DDR Memory 4. DDR2 & DDR3 - Proper Verification Approaches 5. Probing solutions for Memory Interfaces 6. Simplifying Waveform Analysis and Debug with Search & Mark for DDR Memory and Other Applications: Tektronix Application Note Contact Tektronix: ASEAN / Australia (65) 6356 3900 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 and the 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 Ireland* 00800 2255 4835 India +91-80-30792600 Italy* 00800 2255 4835 Japan 0120-441-046 Luxembourg +41 52 675 3777 Macau 400-820-5835 Mongolia 400-820-5835 Mexico, Central/South America & Caribbean 52 (55) 56 04 50 90 Middle East, Asia and North Africa +41 52 675 3777 The Netherlands* 00800 2255 4835 Norway 800 16098 People s Republic of China 400-820-5835 Poland +41 52 675 3777 Portugal 80 08 12370 Puerto Rico 1 (800) 833-9200 Republic of Korea +822-6917-5000 Russia +7 (495) 7484900 Singapore +65 6356-3900 South Africa +27 11 206 8360 Spain* 00800 2255 4835 Sweden* 00800 2255 4835 Switzerland* 00800 2255 4835 Taiwan 886-2-2656-6688 United Kingdom* 00800 2255 4835 USA 1 (800) 833-9200 * If the European phone number above is not accessible, please call +41 52 675 3777 Contact List Updated March 2013 For Further Information Tektronix maintains a comprehensive, constantly expanding collection of application notes, technical briefs and other resources to help engineers working on the cutting edge of technology. Please visit www.tektronix.com Copyright 2013, 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/13 EA/WWW 55W-29185-0