Repository navigation
Conversation
…out resurrecting stale or reset clocks
…rst errors; never discard actual EMAC clock lease per packet
…xpires and fails closed after real stop/clock fault
…isolated TX fault without hardcoding smpSynch
…ression PCAP, not per-burst READY flutter
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
…COM, preserve generic bridge fallback
…ified USB reconnect
…OM semantics after smarter candidate ordering
|
Integrated into main through PR #299 — stacked review closed. Exact PR HEAD |
Field regression confirmed from raw PCAP (54,979 SV frames)
2; 9 transitions within 16.37 seconds. The 4 downward2→0transitions at smpCnt=3675 occur 22, 49, 35, 46 microseconds after actual PTP Follow_Up, with the same active GM clock identity and intact 1Hz Announce/Sync/FUP sequence 743–758. Recovery after ~331ms (smpCnt=999). Board flight recorder:REVOKED reason=PTP_LEASE_OR_GM_CHANGE, thenACQUIRED; serial reports PTP SOURCE still running, no alternate GM. CapturedSV STOPPEDat end → physical acceptance false. This is demonstrably a firmware sync gating fault; GUI USB-only code cannot repair it.Root-cause class and minimal firmware change
ptp_lab_task.cppinvalidated both positive PTP core TX timestamps whenever ANY batch TX status failed, including independent peer-delay events.ptp_lab_is_running()maps TX freshness onto the PTP clock lease, so one transient runtime failure revoked a real 4kHz grid even though no GM/timebase changed.USB
Acceptance
Wait for complete PTP Core, ESP-IDF firmware, Qt, Windows native and lifecycle CI at the exact HEAD. Hardware FAT: 120s continuous SV 4k fps, 0 sync transitions and 0 missed samples, repeated SV STOP/START, USB reconnect (including same COM), real PTP message sequences and device failure logs. Do not merge to main or claim certified UTC traceability; simulated GM is not a physical GPS source.
Verified matched M3.H FAT candidate artifacts — head a922e9b
a922e9bdba4e57a4e88406eb83344455dd8ff142.4902e8bf44e78fc55a139ce84a1273f0768ef6fe10000f5d0f85d75d2f6c736e.ca01424e4102aa65e353737024ebf3258b4d2f614fa60d932c95c353ee228d8f.61c508e9bf1357eb964d2b817b260b6a0e985446ddd68de1d45d9467e25c4607, build IDa922e9bdba4e57a4, boot Sim Global GM yes, PTP INTERNAL_GM_ONLY, phase servo yes; physically-proven external GM traceability false.2->0sync transitions and bounded USB reconnect, with no runtime fault. Keep draft and never merge to main until hardware pass.