Repository navigation
P0: restore relay-bench GM global SV sync + bounded STOP/START phase continuity - #294
Conversation
…Studio PTP adoption
…startup transaction
…ent LOCAL adoption
…CAL PTP SOURCE runs
…table PTP and phase
…P/START and faults
…ioning and warm PTP/SV resume
…atory START rejection
|
2026-10-24 P0 observed regression report + root-cause repair — physical complaint from operator: paired M3.D FAT artifact Exact P0 recovery Draft #294, head |
… firmware profile
|
M3.H integration audit (2026-10-24): #294 is a divergent alternative, NOT the source of the released M3.H package. GitHub compare #294 HEAD → final verified |
|
Triage closure (24 Oct 2026) — superseded, NOT merged. This is an alternate M3.D relay-bench patch branch (22 unique commits, NOT an ancestor of shipped M3.H). The selected and PCAP-verified resolution was #295→#298, now integrated into main via #299. Superseded as M3.H implementation route; do not mix untested alternative code into released PTP/SV. Real relay acceptance remains open under #154/#162. Retain branch/history for selective future review. Verified main merge #299 passed 14/14 workflows; release and firmware assets unchanged. Closing this old competing PR is a review-queue cleanup, not a deletion or certification. |
Physical FAT P0 regression after M3.D artifact 3a33575 (2026-10-24)
The operator reports the delivered paired Studio+ESP32-P4 artifact reverted to SV LOCAL and SV START after STOP requalifies from unsynchronized. No new PCAP/log was uploaded with that complaint; this PR fixes independently confirmed source-level causes and must not claim physical acceptance before a new capture.
Root causes:
Start PTP Sourcewas disabled while it already ran, andstartPtpConfiguredaccepted the pre-existing same-role runtime without checkingbenchGlobalGmreadiness. No seeded simulated PTP bench GM was ever commissioned;smpSynch_labcorrectly returned1instead of required simulated bench2.ar_ptp_lab_set_advanced_policyunconditionally erased the SOURCE bench UTC epoch, silently demoting even an operator-configured GM.Fix:
PTP SHOWreports independentPTPGM bench_configured/bench_readyfrom the board. Studio's explicit SOURCE bench Start button stays available even while boot PTP SOURCE runs, distinguishes same-role from actually seeded GM. When boot LOCAL SOURCE is active and SV stopped, execute a single explicit verifiedPTP STOP -> STOPPED readback -> PTPROLE SOURCE -> fresh host UTC CONFIG -> PTP START -> RUNNING readback. No automatic STOP/START on routine SV injection. Never adopt LOCAL as bench global.Quality bars: maintain existing 4I4V PTP/SV encoder, 4000fps sample timing, AUTO live editor and five-file PCAP reporting. This is a bench simulation; internal SOURCE PTP domain plus SV share a hardware clock, not externally GPS-traceable. No assertion of SIPROTEC 5 LOCKED until relay FAT. Do not merge to checkpoint/main or close issue #162 before 100 STOP/START with no smpSynch loss and real relay acceptance.