fix: move SKUDAK telemetry to 0x211 + add -S1 version suffix #3
Reference in New Issue
Block a user
Delete Branch "fix/skudak-448-move-telemetry-to-0x211"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Two small paired changes for visible verification on bench:
0x210→0x211(7de46b8)-S1version suffix toVERSTR(00f3592)Why move the ID
After PR #2 merged and the OBC was reflashed with the canonical expanded layout, PCAN capture on the green car still showed two frames at
0x210per 100 ms cycle:can pon the OBC terminal confirmed our CanMap has exactly one entry for0x210with the 5 expected fields. So the rogue frame is from a non-Polarity module on the same bus — likely a Tesla OEM DI/inverter still running stock firmware. We don't own that ID and can't make the rogue stop. Stepping out of the way is the pragmatic fix.0x211is adjacent, free in the current map, and same priority class.Why the -S1 suffix
The OpenInverter web UI displays the firmware version from the
versionparameter (entry 2001), which expandsVERSTR. Out of the box that reads4=1.19.R(upstream version, no Skudak indicator). With this change it reads4=1.19.R-S1so we can visually confirm a Skudak fork build is flashed (vs accidentally flashing stock OpenInverter firmware or an old build).Matches the convention already used in stm32-sine (
-sine-S6/-foc-S6) where the-S<N>suffix bumps on each Skudak-side change.Verified:
strings stm32_charger.bin | grep S1shows4=1.19.R-S1in the built artifact.Bump cadence: increment to
-S2on the next material Skudak-side change to this firmware. This PR establishes the convention.Test plan
makebuilds cleanly (only pre-existing pedantic + RWX-segment warnings)4=1.19.R-S1(verified viastrings)1.19.R-S1in the version field — immediate visual confirmation the fork is flashed0x211carries the new DLC=7 layout (state/udc/idc/uaux@5/soc);0x210may still appear (rogue, ignored by VCU)stm32-hal-vcuPR #37 commit161cf0fupdatingCHARGER_CAN_ID_OI_OBC_AUXfrom0x210UL→0x211ULCompatibility
The ID move breaks any downstream consumer reading
0x210. The only known consumer isstm32-hal-vcu; PR #37's matching one-line change must land before reflashing the VCU, otherwise the VCU will see no aux 12V telemetry on the new bus.🤖 Generated with Claude Code
The OpenInverter web UI displays the firmware version from the 'version' parameter (entry 2001), which expands VERSTR. Out of the box this reads '4=1.19.R' (upstream version, no Skudak indicator). With this change it reads '4=1.19.R-S1' so we can visually confirm we're running the Skudak fork and not stock OpenInverter firmware. Matches the convention already used in stm32-sine ('-sine-S6' / '-foc-S6') where the -S<N> suffix bumps on each Skudak-side change. Verified: 'strings stm32_charger.bin | grep S1' shows '4=1.19.R-S1' in the built artifact. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>fix: move SKUDAK telemetry frame from 0x210 → 0x211 (avoid bus contention)to fix: move SKUDAK telemetry to 0x211 + add -S1 version suffix