You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BMS: console skip past BUS_HEALTH; PC1/PC0 gpio readbacks; PC0=!PC1 invariant
The BUS_HEALTH auto-gate (shutdown loop sensed closed) is currently the
only way toward PRECHARGE, which blocks HV-path testing whenever the
loop is unavailable. The console now always allows manual stepping:
LV->BUS_HEALTH, LV->PRECHARGE (skip), BUS_HEALTH->PRECHARGE, and
ENERGIZED->LV teardown, with a matching PRECHARGE entry case in
LVPowerTransition. With a healthy loop this mirrors the automatic path;
with an open loop the per-state Shutdown/AIR- backouts still eject to
LV_POWER on real builds.
Under the bench master macro (FEB_BMS_DISABLE_ADBMS_CHECKS=1) the
loop-dependent enforcement is compiled out so a skipped-in precharge can
run with an unpowered shutdown loop: PRECHARGE/ENERGIZED Shutdown/AIR-
backouts and the contactor-feedback weld check. IVT freshness, the
precharge voltage gate, and the 10s timeout remain enforced.
Diagnostics: BMS|gpio now reads back PC1 (BMS shutdown relay) and PC0
(BMS indicator); fault_begin() raises PC0 so it is the inverse of PC1
in every fault type, not just FAULT_BMS/FAULT_CHARGING.
0 commit comments