13.03.2013 Views

Hacking the Xbox

Hacking the Xbox

Hacking the Xbox

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 2 - Thinking Inside <strong>the</strong> Box 37<br />

What Are All These Resistors and<br />

Capacitors Doing on a Digital<br />

Circuit Board?<br />

A motif you will notice on many circuit boards is a preponderance<br />

of resistors and capacitors. Capacitors are everywhere<br />

because <strong>the</strong>y help keep noise to a minimum and<br />

stabilize <strong>the</strong> power supply voltages. They are required because<br />

<strong>the</strong> copper planes used to distribute power have a<br />

small amount of resistance and inductance. These small<br />

parasitics can cause big problems when a large amount<br />

of current is switched through <strong>the</strong> power supply. The exact<br />

placement and selection of capacitors is considered a bit<br />

of a black art. If you happen to knock off one of <strong>the</strong> tiny,<br />

sand-grain sized capacitors on a circuit board while working<br />

on it, chances are that you’ll be able to get away<br />

without replacing it. However, given a defect of this kind,<br />

<strong>the</strong> most likely problem you will encounter are intermittent<br />

reliability problems.<br />

While capacitors are everywhere to provide local storage<br />

of energy for all <strong>the</strong> components, <strong>the</strong> resistors remove excess<br />

energy. Fast signals on a mo<strong>the</strong>rboard carry a lot of<br />

energy, and if <strong>the</strong> energy is not dissipated at <strong>the</strong> receiver in<br />

a controlled fashion with a resistor, <strong>the</strong> signal energy will<br />

reflect back to <strong>the</strong> transmitter and cause problems. The<br />

phenomenon is similar to that of sound in a gymnasium.<br />

When you speak in an empty gymnasium, <strong>the</strong>re is an echo.<br />

If you speak too fast, people will be unable to understand<br />

you because <strong>the</strong> echo will start interfering with your speech.<br />

However, if you cover <strong>the</strong> gymnasium walls with foam, <strong>the</strong><br />

echo will be absorbed by <strong>the</strong> foam and you can talk without<br />

interference from your echo.<br />

Resistors are like <strong>the</strong> acoustic foam you would put on walls<br />

to damp out echoes, so that circuits can talk to each o<strong>the</strong>r<br />

at high speeds. Unlike most capacitors, if you happen to<br />

knock off one of <strong>the</strong>se resistors while playing around, you will<br />

have to replace it in order for <strong>the</strong> circuit to work properly.<br />

These “termination resistors” are often packaged four or<br />

eight to a package, so <strong>the</strong>y almost look like small integrated<br />

circuits. You can distinguish resistor packs from o<strong>the</strong>r<br />

components because <strong>the</strong>y are shiny, slightly lumpy, have a<br />

white border, and <strong>the</strong>y will have a reference designator<br />

prefix of “RP” near <strong>the</strong>m. When tracing a signal through a<br />

resistor pack, it is fairly safe to assume that signals flow straight<br />

through, so that a connection on one side goes straight<br />

through to <strong>the</strong> pin immediately on <strong>the</strong> o<strong>the</strong>r side.<br />

“body” terminal). The most complicated active components are integrated<br />

circuits, such as CPU and memory chips, with hundreds, sometimes<br />

thousands, of leads. Integrated circuits come in a wide variety of<br />

packages, and sometimes <strong>the</strong> connections are hidden underneath <strong>the</strong><br />

package, as is <strong>the</strong> case in <strong>the</strong> Ball Grid Array (BGA) package. The

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!