Define the milestone
Tell Embedder the board revision, fitted parts, operating conditions, and the result that counts as success:Prepare project context
- Run
/projectand select the project for this board. Check that its platform matches the board or its MCU. - Run
/peripheraland add the fitted components. - Run
/upload-schematicsand add the board’s complete schematic set, including the power and connector sheets. - Run
/init. Check the build, flash, and monitoring commands it records inEMBEDDER.md.
Check the hardware assumptions
Confirm the supply voltage, reset and boot configuration, clock source, and debug or logging connection. For the first peripheral, check its power sequence, bus pins, pull-ups, chip select or address straps, and any enable signal against the populated board.U4 with the fitted device and its reference designator in your design.
When the work involves architectural choices, run /plan first. Review the plan, then approve it so Embedder implements the smallest working path in Act mode. In VS Code, select Approve & Execute on the plan card.
Establish a startup baseline
Build the smallest suitable application from the project’s existing SDK or board support. Confirm the firmware file and the target before flashing. Then capture a known boot marker over UART, RTT, or another connection the board supports.Build, flash, and observe
Once the board starts reliably, initialize one peripheral. Perform the smallest transaction that proves communication, such as a documented ID or status read, before you enable a larger workload. Ask Embedder to stop if the build fails, to flash only the confirmed board, and to capture output with a timeout:/plot in VS Code or open a Plot tab in the Monitor. See Live plots for the line format the plot reads.
Diagnose before expanding
Start with the observation that can tell the most likely causes apart:
For a missing bus response, first check whether the expected pins toggle. If they do, inspect the address or chip-select timing and the acknowledgment. If they don’t, inspect initialization, clocks, and pin configuration. Repeat the same bounded check after each change.
Preserve a fault before you reset the board. See Monitor and debug.
Make bring-up repeatable
Save the working setup inEMBEDDER.md, and ask Embedder to save the check as a hardware script under .embedder/hardware/. Record the board revision, firmware file, wiring, expected output, and any manual reset or power steps.
Re-run the check from the intended startup condition before you add the next peripheral or feature. Ask Embedder to run it in Act or Debug mode, open the script in VS Code and run Embedder: Run Hardware Script, or run embedder script <name>.py in a terminal at the project root. Each run reports pass or fail with the script’s summary.
When the first transaction works, continue with Driver development to build the full interface, error handling, and regression checks.