ADC Home > Reference Library > Technical Q&As > Hardware & Drivers > USB >

SDRAM Problems With Self-Powered USB Devices


Q: I have heard that there is a specific condition where a USB device plugged into a G4 causes certain SDRAM to freeze and crash. Could you tell me how to identify or avoid this condition?

A: The issue you're speaking about can be found in the TIL article #75016 at the following Apple URL:

http://docs.info.apple.com/article.html?artnum=75016

*This problem is somewhat rare and like a formula; it needs the right mixture of ingredients to occur. Failures can show up as a variety of boot problems. Freezes, crashes, and tones are some of the failures that can occur, but they are not the only symptoms. There are three components that cause the G4 fail in this manner:

  1. The problem can only occur on a G4 started from a power off condition. The problem will not exist from a restart (warm boot).

  2. One or more SDRAM DIMMs in the G4 must have SDRAM ICs that are sensitive to powering up from non-zero voltages. Only certain types of SDRAM ICs have this sensitivity. If the SDRAM IC in the G4 is sensitive to voltages of approximately +0.3V immediately prior to power up, this may be a component of the failure.

  3. The final condition that needs to exist is the real culprit and catalyst of the failure. There are some self-powered USB devices (ones that use an AC adapter) that have inadvertently violated the USB 1.1 electrical specification for self-powered devices.

Section 7.2.1 of the Universal Serial Bus Specification, Revision 1.1, September 23, 1998, states on page 135 of the "Self-Powered Functions" section that, "No device shall supply (source) current on VBUS at its upstream port, a device may only draw (sink) current. They may not provide power to the pull-up resistor on D+/D- unless VBUS is present ...."

Unfortunately, several vendors of popular USB devices have used pull-up resistors to source the USB, D+ line from their own internal power source. This causes a voltage of 3 or more volts to appear at D+ immediately after power is applied to the USB device. When the USB cable from the self-powered device is connected to the G4, even though precautions have been taken, enough of the USB D+ voltage trickles through to provide about a +0.3 volt source to the DIMM sockets.

Note that a pull-up resistor tied to the internal power source of the USB device would cause a problem by sourcing current on either the USB D+ or the D- signal.

As mentioned above, +0.3 volts is not enough voltage to power almost any SDRAM DIMM. However, if the SDRAM is sensitive to very low voltages and the G4 is off, this may be enough to turn the SDRAM, "partially on" prior to power up of the G4, causing problems during the G4's boot-up or power on self tests (POST).

To identify a potential problem with SDRAM you will need to look at the electrical specifications for the particular SDRAM die and IC. Again, this problem only occurs with certain SDRAM and should be evaluated on a case-by-case basis.

To identify a potential problem with a self-powered USB device, you can attach both the AC power adapter and USB cable to the USB device and attach the other end of the AC adapter to power.

Measure the voltage between ground (pin 4 or the black wire) or the shield on the USB connector and the D+ line (pin 3 or the green wire in the USB cable) on the USB connector. If the voltage reading is +3.0 volts or above then the vendor has tied a pull-up resistor to the internal power supply and is violating the USB spec.

Since the D- signal could also be a problem, the same measurement should be made between ground (pin 4 or the black wire) or the shield on the USB connector and the D- line (pin 2 or the white wire in the USB cable) on the USB connector.

To test for the problem, power off the G4, insert the suspected SDRAM DIMM into any of the SDRAM slots, connect the self-powered USB device to the G4 and power on the G4. If the SDRAM is sensitive to this problem, it is likely that the G4 will play the error tones and fail immediately. Other symptoms, such as crashes and freezes shortly after or during boot up, may occur. If the system boots Mac OS and things seem to work normally, one or more of the conditions probably do not exist.

[Aug 21, 2003]


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.