DBG-3 No LEDs on the board at all: suggest at least one for debug¶
| Severity | Status | Implementation |
|---|---|---|
| suggestion | runs in better_erc | easy, depends on netlist |
Data it needs: graph, part classes.
Looks at. Part classes (LED).
What it catches. A board with an MCU and not a single LED.
Why it matters. An LED is the cheapest output a board has: it shows "alive" before any UART, probe or software on the PC works, it tells a technician on the line whether the firmware booted, and it is the last way to signal a fault when everything else is down. Leaving it out saves a few cents and costs hours at bring-up.
Example. A sensor node whose only interface is a radio: when the radio does not join, there is nothing to say whether the MCU runs at all, so every field return goes to the bench.
How to check. Count parts of the LED class (designator D/LED with an LED symbol or footprint); none on a board with a programmable part is a finding.
Fix. One LED on a free GPIO (DBG-16), 1-2 mA is enough with a modern high-efficiency LED.
References. B153A schematic review §11 (LED_RED on PF0, LED_GREEN on PF1).
Test schematics¶
Each schematic below is in test_schematics/sources. The block under it is what berc check --only DBG-3 reports on it.
dbg-3_no_leds¶
suggestion DBG-3 #6gr no LED on the board of U1: nothing shows that the firmware runs
part U1
fix: one LED on a free GPIO (DBG-16); 1-2 mA is enough
DBG-3 also fires on the test schematics of other checks: ana-12_comparator_hysteresis, ana-3_shunt_filters, ana-4_shunt_kelvin, bom-4_placement, bom-4_resistor_arrays, clk-14_push_pull_reset, clk-15_shared_reset, clk-18_clock_fan_out, clk-3_crystal_case_pads, clk-5_internal_pull, clk-5_reset_pull_ups, clk-6_reset_buttons, clk-7_reset_capacitors, conn-16_floating_shell, conn-17_look_alike_pinouts, conn-2_gpio_protection, dbg-11_uart_spi_resistors, dbg-14_uart_console, dbg-17_swd_without_reset, dbg-18_bus_access, dbg-2_swd_series_resistors, dbg-7_enable_pulls, dec-11_decade_apart, dec-7_caps_per_pin, drv-12_base_resistor, drv-14_inductive_loads, drv-5_inverter_gate_resistor, drv-6_back_to_back, drv-9_relay_flyback, eth-3_mdio_pull_up, hs-15_mipi_lane_parts, hs-4_pair_asymmetry, hs-7_usb_dp_dm_swapped, i2c-10_non_equal_pull_ups, i2c-18_discrete_translator, i2c-18_isolated_segment, i2c-1_no_pull_ups, i2c-2_multiple_pull_ups, i2c-4_gpio_pull_ups, i2c-4_pull_up_to_signal, i2c-4_strap_gated_bus, i2c-7_segments, i2c-9_non_standard_pull_ups, io-11_gate_pulls, io-11_pulled_off, io-15_no_connect_flag, io-15_open_drain_flags, io-16_adc_alternate, io-16_pull_up_and_down, io-16_sense_divider, io-1_drive_sources, io-7_button_pulls, io-8_fet_switched_pull, io-8_internal_pulls, io-8_series_pull, io-8_switched_pull, logic-3_fan_out, logic-7_mcu_open_drain_receiver, logic-7_mcu_switched_resistor, logic-8_polarity, lvl-4_translator_pull_ups, lvl-7_several_rails, lvl-9_gate_reference, mem-10_ddr_reset_cke, mem-1_sd_pull_ups, mem-3_clk_and_detect_pulls, mem-8_ddr_zq, mux-1_swapped_signals, name-10_active_low_unmarked, name-4_uart_names, name-9_io_order, pin-3_unprotected_outputs, rail-19_unfiltered_analog_supply, rail-1_unpowered_pins, short-11_output_conflict, short-12_pair_halves_tied, short-6_io_tied_to_rail, short-6_sense_nets, short-7_shorted_ios, test-5_bring_up_test_points, usb-10_plug_rd, usb-11_one_orientation, usb-16_vbus_gnd_pins, usb-1_no_rd, usb-4_shield, usb-9_cc_tied, wire-13_output_to_nowhere, wire-1_single_pin_nets.