You perform firmware bring up on a new custom PCB (printed circuit board) in stages, verifying each before starting the next: inspect the board and power it from a current limited supply, confirm power rails, reset and clocks, connect a debugger over SWD (Serial Wire Debug) or JTAG (Joint Test Action Group) and run minimal code, then enable the serial console, clock tree, external memory and each peripheral one at a time. Every result is logged, and every hardware issue goes into a board errata list that feeds the next revision.
What do you need before powering the board?
Prepare these inputs before the first board arrives:
- Schematic, layout, BOM (bill of materials) and assembly drawings for the exact revision.
- Datasheets and errata for the MCU (microcontroller unit) or SoC (system on chip), regulators and key peripherals.
- A bring up plan listing expected rail voltages, idle current, clock frequencies and test points.
- A bench supply with adjustable current limit, a multimeter, an oscilloscope and a debug probe supported by the target.
- Minimal test firmware prepared in advance, ideally first proven on the vendor evaluation board.
- A known good reference, such as the evaluation board, to separate design issues from firmware issues.
What is the step by step bring up procedure?
Follow the steps in order; skipping ahead makes faults harder to isolate.
- Step 1: Inspect visually against the assembly drawing: polarised parts, integrated circuit (IC) orientation, solder bridges on fine pitch packages and correct part values in critical positions.
- Step 2: Measure resistance from each rail to ground with the board unpowered and compare with expected values and with other boards; a near zero reading indicates a short.
- Step 3: Apply power from a current limited supply set slightly above the expected idle current, raise the voltage gradually and watch current draw; check for components heating up.
- Step 4: Measure each rail voltage and ripple, and verify power good, sequencing and reset release timing against the datasheets.
- Step 5: Verify the oscillator starts and the reset line is released; on many MCUs a clock output pin can later confirm frequency.
- Step 6: Connect the debugger and read the device ID. If it fails, check target voltage reference, reset level, boot mode pins, debug line continuity and readout protection settings.
- Step 7: Load minimal firmware that toggles a GPIO (general purpose input output) pin and confirm the waveform on the oscilloscope.
- Step 8: Bring up a UART (universal asynchronous receiver transmitter) console at a known baud rate; readable output also confirms the clock configuration.
- Step 9: Switch to the final clock tree with PLL (phase locked loop) settings and verify frequencies through a clock output pin or a timer measurement.
- Step 10: Test external memory: data and address line tests, then pattern tests over the full range for SDRAM (synchronous dynamic random access memory), DDR (double data rate) memory or QSPI (quad serial peripheral interface) flash.
- Step 11: Enable peripherals one at a time with a known expected result: I2C (Inter Integrated Circuit) address scan, SPI (serial peripheral interface) device ID register reads, ADC (analog to digital converter) readings against reference voltages, Ethernet PHY (physical layer transceiver) register reads and link, CAN (Controller Area Network) loopback then bus traffic, USB (Universal Serial Bus) enumeration.
- Step 12: Test power modes, wake sources, brown out reset and watchdog, measuring sleep current against the power budget.
- Step 13: Record results, measured values and errata in the bring up log and release a board support baseline in version control.
How should bring up firmware be structured?
Write bring up firmware as a small set of independent test commands reachable from the UART console, such as reading a sensor ID, running a memory test or toggling a peripheral, rather than one large program that runs everything at boot. A command shell lets the hardware engineer repeat a single test while probing the board, and it keeps a failure in one block from hiding results from the others. Put pin assignments, clock settings and peripheral instances in one board configuration layer, because that layer becomes the starting point of the production BSP (board support package). Print the reset cause, firmware version and board revision at every boot, so each logged result can be traced to an exact hardware and software combination. Keep the test commands after bring up: they become the basis of production test firmware and of later failure analysis on returned units.
How does bring up differ for embedded Linux boards?
On application processors the order is boot mode pins, the boot ROM (read only memory), the first stage loader, DDR initialisation and training, then U Boot, the Linux kernel and the device tree. Most vendors provide a serial download mode in the boot ROM, so the first goal is a U Boot console over UART. DDR problems frequently block this stage, so run the vendor DDR calibration and stress tools before booting Linux. Once the kernel starts, enable early console output and bring up drivers by editing the device tree node by node, as described in our device tree guide.
Which faults commonly appear during bring up?
Use this table as a first triage guide when a stage fails.
| Symptom | Likely causes | First checks |
|---|---|---|
| Supply hits current limit at power on | Short, reversed polarised part, wrong regulator | Rail resistance to ground, thermal check, isolate loads |
| Debugger cannot connect | No target voltage reference, reset held low, wrong boot pins, swapped debug lines, readout protection | Reference voltage, reset level, continuity of debug lines |
| MCU runs then resets repeatedly | Brown out, watchdog enabled by option bytes, unstable clock | Reset cause register, rail ripple under load |
| UART prints unreadable characters | Wrong clock source or frequency assumption, wrong baud | Oscillator frequency, clock output pin, baud settings |
| I2C device does not acknowledge | Missing pull ups, wrong address, voltage level mismatch | Oscilloscope on the SDA and SCL (I2C data and clock) lines, address straps |
| Ethernet has no link | PHY strap pins, missing reference clock, magnetics wiring | PHY registers over MDIO (management data input output), reference clock frequency |
| Linux stops after the bootloader | DDR configuration, device tree mismatch, wrong console settings | Memory test in U Boot, early console output |
Bring up exit checklist
The board is ready for application firmware and validation when:
- All rails, sequencing and reset timing measured and within specification.
- Debugger connection and flash programming reliable across power cycles.
- Final clock tree verified by measurement.
- External memory passes pattern tests over its full range.
- Every peripheral on the schematic exercised with a recorded result.
- Sleep and active currents measured against the power budget.
- Board errata list reviewed with the hardware designer and rework instructions written.
- Bring up firmware and test scripts committed to version control.
Limitations
Bring up proves that the board works on the bench. It does not replace design verification across temperature, EMC (electromagnetic compatibility) pre compliance, RF (radio frequency) tuning, production test development or firmware validation, which belong to the engineering validation test (EVT) and design validation test (DVT) stages that follow. Boards with mains voltage or high voltage battery connections need electrical safety procedures that are outside this guide.
Sources and standards
Standards and specifications referenced in this guide:
- IEEE 1149.1 (JTAG test access port and boundary scan)
- Arm Debug Interface Architecture Specification (ADIv5 and ADIv6, including SWD)
- Devicetree Specification (devicetree.org)
- IPC A 610 (acceptability of electronic assemblies)



