JAY'S FIELD NOTES / EMBEDDED SYSTEMS

Small boards.
Careful experiments.

A personal notebook about Zephyr RTOS, firmware bring-up, and the practical details between an idea and a blinking LED.

01 / LAB CHECKLIST

Start with a quiet, repeatable baseline

Before adding peripherals, record the board revision, power supply, debug probe and toolchain version. Keep the first application small: a serial greeting, then an LED, then a single input.

Save a known-good build and its configuration. When a new driver changes timing or power behavior, that baseline is the quickest way to separate a hardware problem from a software regression.

02 / BUILD NOTES

Two views of the same board

Devicetree describes the hardware arrangement; Kconfig selects software features. While bringing up a peripheral, inspect both the generated devicetree and the resolved configuration instead of relying only on the source fragments.

I keep board-specific changes in overlays and application settings in prj.conf. Small, explicit changes make build failures easier to explain later.

03 / OBSERVATIONS

Measure before changing priorities

A delayed response can come from scheduling, a blocking driver, or an unexpectedly slow logging path. Capture timestamps around the boundary in question, reduce log volume, and reproduce the behavior with one producer and one consumer.

Interrupt handlers should stay brief. Move longer work into a suitable thread or work queue, then measure again under realistic load.