HardwareMachine translation, not yet reviewed

Don't Forget the Test Points on Your Board

Test points cost almost nothing, and they save the hour you spend probing a silent board.

I just spent a full hour probing a project in the most awkward way, then gave up and clipped on a test harness. As usual, the problems showed themselves as soon as the harness was attached. It confirmed the old rule: once the harness is ready, you will not need it. Carry an umbrella, and it will not rain.

I seem to relearn this lesson every time, or rather, fail to learn it. Even when you are throwing together something temporary, take a moment to make sure every point you might want to probe is within reach. If that means soldering scrap wire onto ground, onto the analog voltage of a microphone input, and leaving a place for a probe on an op-amp, do it first. You may never use it. When you do, you are much closer to the fault. Had I done that earlier tonight, I would have saved the hour.

Test points on a prototype board

On a prototype PCB, scatter them everywhere

If you are ordering a PCB, the corollary is stronger. Even if you think the design is solid, sprinkle test points across the board. They cost almost nothing, take little space, and are genuinely useful later when you need to see what an I2C bus or a battery charger is doing.

Which signals deserve a point

This is partly taste, but I usually regret skipping test points on data buses, important power rails, and every spare GPIO on the microcontroller. You never know when you will want pin-toggle debugging, the high-speed cousin of a printf.

Points at the boundary of a functional block also let you measure one block's output and the next block's input. If the blocks should be separable, a zero-ohm resistor or a jumper between them is a good habit. I like the resistor: it is easy to fit and to remove, and its pads are free test points when you need them.

Like a clear comment in code

Adding test points is like writing a clear comment. It costs a little time now, and it saves much more when you inevitably have to debug the circuit. You say you will not make a mistake, and that the circuit is simple? I said the same thing earlier tonight. Add the test points.

Listed

Comments

0 comments

More in this category

Hardware