REQ-FW-002 — ASCII command interface exposes all board capabilities
draft · Functional
Statement
The firmware shall expose every capability of the R0 board through a human-readable ASCII line protocol over USB serial @921600 (replacing APC — see [[E-005]]): exactly one response line per command (OK [payload] / ERR <code> <msg>), case-insensitive verbs, explicit numeric error codes.
Acceptance Criteria
Each capability is reachable via a documented command: identity/version (IDN?), 8-channel PWM duty read (PWM?/PWM? <ch>), raw ADC for bring-up (PWM:RAW?), global tach (TACH/TACH?), global PWM-load enable (PWMEN), status LED (LED), safe-state (SAFE), comms watchdog (WDT), ADC averaging (ADC:SAMPLES). Malformed or out-of-range input returns ERR with the correct code (01 overflow, 02 channel, 03 illegal, 06 malformed).
Sign-offs
No sign-offs recorded. Approving a requirement records one here.