← Back to the chapter · Next detail →
Technical detail · Hardware Build Discipline and Debugging
Test points are design features
A test point turns a fault into something a meter or scope can see. Place it near the load so a rail drop at a connector can be distinguished from one at the regulator.
SWD and JTAG are chip debug interfaces. A probe uses them to inspect or program the controller when ordinary firmware logs are not enough.
Boot-mode straps are pin settings read at startup to select how the chip boots, such as from its normal firmware or a programming mode. Keep access to them so a failed build can be recovered.
A bill of materials (BOM) is the build’s parts list. Link each tested part and its revision to that list so the same build can be reconstructed.
A differential probe measures voltage between two points without treating either point as the probe ground. A shunt resistor produces a small voltage drop that can be measured to calculate current. Use the first to inspect a voltage difference and the second to see current during the fault, within the instruments’ ratings.
Electrostatic discharge (ESD) is a sudden transfer of static charge, such as a spark from a person to a connector. Test the handling and protection path that the device will actually encounter.
- Instrumentation: use Saleae-style logic analyzers, oscilloscopes, differential probes, shunt resistors, Joulescope, Otii Arc, or Nordic Power Profiler Kit II when power or timing margins matter.
- Debug paths: preserve UART logs, SWD/JTAG, boot-mode straps, reset control, firmware rollback image, and hardware watchdog visibility.
- Revision linkage: tie schematic revision, PCB revision, BOM line, harness photo, firmware commit, measurement file, and known issue to the same build identifier.
- Failure modes: test connector reversal, low battery, radio burst, actuator stall, ESD-prone handling, clock drift, enclosure close, thermal rise, and field cable movement before pilot handoff.
Good hardware notes let someone else repeat the setup, see the same symptom, and understand why the next revision is justified.
A current jumper separates controller sleep current from sensor leakage. A UART header exposes boot output and reset reasons when a dashboard only shows the device as offline. A debug header can help recover firmware after a failed update.