A mixed signal approach to debugging DDR DRAM interfaces

Min-Jie Chong

December 14, 2009

Min-Jie Chong

DDR memory technology is the most common choice of memory devices found almost everywhere from computers, transportations, home entertainment systems to medical devices and consumer products. With the wide spread of the DDR usage, the new development and designs are pushing the requirement for higher performance and more power-efficient DDR memory devices.

New DDR technologies such as DDR3 (the third generation of DDR technology) and low-power DDR (LPDDR) technology devices are increasingly being considered in design because they offer these improved attributes.

You may think DDR memory designs are straightforward, but the higher data rates and lower voltage on these memory devices can quickly take away your design margins. Besides that, validating of the DDR interface is rapidly becoming a huge and complicated task.

Keep in mind that DDR interface is one of the most complex high speed interfaces because of the high pin count per memory device, and the high speed data transmission reaching the speed of serial technologies such as the USB 2.0 and PCIe technologies.

While the oscilloscope is widely used for performing physical layer validation on the DDR interface, the complexity of the DDR memory technology is making validation and debugging with a conventional oscilloscopes a challenge.

It probably limits you from further measurement capabilities such as command triggering, state machine decode and protocol debug. This article highlights a few of the challenges and how the use of a mixed-signal oscilloscope (MSO) can overcome these challenges (Figure 1 below).

Figure 1: Analog and logic channels on a mixed signal oscilloscope (MSO), provides complex triggering, state machine decode and protocol measurements to allow power DDR validation and debug, beyond the capability of conventional oscilloscope.

Validation challenges
DDR memory technology is really a complex interface. Not only is the DDR interface made up of parallel, single-ended signals with a data transfer rate that is faster than the speed of a number serial technologies, the DDR interface also consists of a huge number of signal interconnects between the memory controller and the DDR chip.

On a typical DDR device, there are more than 20 signals, which consist of a clock, six control, 12 address, a strobe and eight data signals.

When initiating an operation, the memory controller would issue a command through its control signals to the DDR chip. A conventional oscilloscope, which consists of only four analog input channels, can be challenging to determine the type of commands sent over the DDR interface due to the limited channels.

The limited connection might also limit the triggering capability of the conventional oscilloscope for different commands since you probably need to connect to all six signals at the same time.

Even if you can deduce the command or state machine based on the limited control signals, you might still end up with the hassle of going back to the truth table on the DDR specification to hand decode the current command based on the high or low state of each control signals.

Although possible, this can be very time-consuming and prone to human error. This will become a nightmare when you have a long trace of waveform and having to manually decode hundreds, if not thousands of commands and keeping track of them. Troubleshooting work can be hampered because you do not have the information real-time on the oscilloscope.

Due to the limited oscilloscope channels, you might also end up not able to make any meaningful measurements on the signals of interest. For instance, you might have the oscilloscope channels hook up to a clock and three control signals, and you have already used up all the oscilloscope channels.

This would prevent you from looking at the address signals that the memory controller is trying to access or the data signals that are transmitting on the DDR bus.

< Previous
Page 1 of 3
Next >

Loading comments...

Most Commented

  • Currently no items

Parts Search Datasheets.com

KNOWLEDGE CENTER