Skip to content

v5.1.2

Latest

Choose a tag to compare

@STRML STRML released this 17 Nov 23:50
· 3 commits to main since this release
25b4234

5.1.2 fixes 2-1 downshifts that timed out while the compressor ran, on cars whose compressor still grounds through the stock harness. It also adds per-gear shift timing trims, three shift-health alarms for the dash, and a session fuel total that survives a brownout, plus a round of GCU Utility fixes. It is the first release since 5.0.0 on the public download page, so it also carries everything in 5.1.1 and 5.1.0, which were internal development builds (the GCU Utility, shift lockout, the compressor watchdog and the rest). Install it on any GCU Mk3.

Shifting and the gear sensor

  • 2-1 downshifts with the compressor running close on the gear sensor again instead of timing out. On a car whose compressor still grounds through the stock harness, the compressor drags the 1st-gear reading under the sensor-fault line for a few milliseconds at a time, and each dip used to drop the gear mid-shift: one car at COTA on 5.1.0-rc6 timed out 13 of 15 such downshifts. A dip with the compressor on is now ignored until it lasts long enough to be a real fault (100 ms), and it is never read as a gear. The compressor-droop learner also learns in 1st now. Cars whose compressor is grounded straight to the battery and set relay_flyback_installed to 1 are unaffected.
  • New per-gear shift timing trims, one for each up and down pairing (shift_trim_1u2 to shift_trim_5u6, shift_trim_6d5 to shift_trim_2d1), -200 to +200 ms, default 0. Use one to lengthen or shorten a single stubborn gear change without touching the rest. The valve pulse never drops below 50 ms.
  • Auto-downshift: a down paddle shorted to ground no longer escapes the stuck-paddle lockout when the wire also picks up electrical noise.
  • The compressor start hold-off no longer carries one shift's wait into the next when a tank-pressure sample is unreadable, so the next shift gets its own full wait.
  • The legacy neutral shift refuses a direction that is neither up nor down instead of firing the downshift valve.

Dash and CAN

  • Three shift-health alarms for the dash, on CAN and in DUMP_STATUS (SHIFT_HEALTH): a live gear-sensor fault (0x701 byte 5 bit 5), closed-loop shifting lost at any point this session, and a count of back-to-back failed shifts. A gear-sensor dropout mid-shift is now logged as GP_SENSOR_FAULT instead of the shared CAN_ERROR.
  • The session fuel total on Suzuki CAN cars survives a brownout or watchdog reset. It still clears on a normal power-on and on FUEL_RESET.

GCU Utility

  • Flashing no longer freezes the window when bossac hangs instead of answering; it gives up after 1.5 seconds and says why.
  • Pressing Connect a second time no longer shows a live connection as Disconnected.
  • Two dialogs open at once no longer hand each other their answers.
  • Logs: a session's length runs from its first record to its last, so a parked session no longer reads as a few seconds long.
  • Logs: an import, rename, delete or notes save that worked but could not be written to the library's audit log now shows the library's warning beside it, and a delete is no longer reported as refused.
  • Logs: an answer the sessions pages cannot read is refused with a reason instead of being shown as imported or crashing.
  • Logs and Live Data open faster, and long session names are no longer cut short before they have to be.
  • Advanced: starting a bench test can no longer be queued twice, and the "Stop the car, then press Begin Bench Test" hint clears once the car is stopped.

For developers

  • Every release archive now carries gcu-identifiers.json, the list of names this firmware publishes (tunables per build, serial commands, DUMP_STATUS rows, heartbeat fields, shift sources, flash events). Documentation outside this repo pins to it.
  • On a release tag, the Skill Release workflow opens a pull request that refreshes the manual's copy of the log-reading skill.
  • The build stops when a firmware image it means to ship is missing, and the macOS build preflight refuses at once when no Command Line Tools are selected.
  • scripts/feather-flash.sh no longer fails after a good write when macOS brings the board back under a different port name.
  • The bench CAN partner sends the real Suzuki 0x1A1 frame and AiM dash frames from a scripted lap.
  • The Developer Simulator shows tank pressure and shift counts in Live Data, keeps its scroll position, and the Utility no longer dials a stale simulator port.
  • Release and test tooling: the shipped-text copy-site gate, the release-artifact guard (one pass per archive), the tunable-docs check (real C preprocessor), the error-code docs parser, the capture and VM screenshot tools, the duplicate-proc and fixture-version checks, and the journey matrix's scratch cleanup all got fixes and tighter self-tests. Details are in the merged pull requests.
  • The release-artifact guard no longer fails a clean archive because its compressed bytes spell a word it looks for by chance.

And the most exciting news...

        ____________________
   ____/   JUST  ENGAGED    \____
  |  __                    __    |~~~[]~~[]~~[]
  '-(__)------------------(__)---'

   AJ & John, congratulations from all of us at Rush

Install instructions: see the owner's manual — GCU for flashing and setup.