Skip to content

Downshift blip: B22 ratio and blip defaults - #1

Open
turtlethefranklin wants to merge 1 commit into
raph559:mainfrom
turtlethefranklin:fix/b22-blip-ratios
Open

turtlethefranklin wants to merge 1 commit into
raph559:mainfrom
turtlethefranklin:fix/b22-blip-ratios

Conversation

@turtlethefranklin

Copy link
Copy Markdown

Downshift blip: B22 ratio and blip defaults

This PR adjusts the downshift blip defaults in overlay/src/live_overlay.asm for the M54B22 (E46 320i, final drive 3.38). Only the default data bytes and their comments change. No code paths are modified.

Changes

  • blip_defaults: first byte changed from 000h to 002h. This makes the blip cruise-gated (active only when the cruise LED is lit), matching the B22 build.
  • ratio_defaults: changed from 0E2h, 086h, 059h, 043h to 0F2h, 090h, 05Fh, 048h. At 0.5 rpm per km/h this gives 1st 121.0, 2nd 72.0, 3rd 47.5, 4th 36.0 rpm/(km/h), which corresponds to the M54B22 gear ratios with a 3.38 final drive.

Testing

  • Tested on a real car: an E46 320i with an M54B22 and a Siemens MS43 ECU, flashed with this overlay, with the blip working as described.
  • Tested in the MS43 emulator (raph559/MS43_EMULATOR) with blip drives:
    • blip-braking: pass
    • blip-tap: pass
    • blip-upshift: no blip on upshift, as intended
  • The checksums of the resulting image were corrected with ms43_checksums.py --fix and verified (5 OK).

Notes

  • The ratio defaults are specific to the M54B22 with a 3.38 final drive. Other engines or final drives should keep their own values.
  • The blip stays off in 2nd to 1st downshifts, as before.

Set blip_defaults to cruise-gated (002h) and update ratio_defaults for
the M54B22 with a 3.38 final drive (1st 121.0, 2nd 72.0, 3rd 47.5,
4th 36.0 rpm per km/h).

Tested on an E46 320i M54B22 (MS43) and in the MS43 emulator with the
blip-braking, blip-tap and blip-upshift drives.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Uy6VbUmw2ufbvLPKQ2cTUh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant