NefMoto

Technical => Reverse Engineering => Topic started by: _nameless on May 15, 2025, 03:21:31 AM



Title: ME7.5 Combined Flex Fuel, Rotational Idle, Launch Control + Staged Maps
Post by: _nameless on May 15, 2025, 03:21:31 AM
I need to test some new options I just added. Send me a PM if interested, not openly sharing at this point.
System Overview
This patch combines advanced tuning features in ME7.5:
- Flex Fuel system with 5-stage map switching
- Rotational Idle (defroster toggle)
- Adjustable Launch Control (cruise SET/RES)
- Fallback logic for ethanol sensor failure
- Suppression of KR, lambda, and misfire logic during RI/LC
- Staged copies of ignition, fueling, and torque maps for live tuning
How to Use
- Flex Fuel: Connect 0-5V ethanol signal to analog input (0x286A). ECU reads ethanol %, updates
map stage every 60s.
- Fallback: If signal is stuck/missing >5 min, ECU locks to Stage 2 (E40) and sets FLEX_FAIL = 1.
- Rotational Idle: Tap defroster button. Lopey idle activates via fuel/ignition phase modulation.
- Launch Control: Press clutch, throttle. Use cruise SET/RES to change RPM between 2500-6000.
- Live Tuning Ready: Stage maps are in flash, fully editable and can be redirected to RAM for
tuning.
RAM Variables
Flex Fuel:
 ETH_PERC: 0x2B20 (Ethanol %)
 FLEX_STAGE: 0x2B22 (0-4)
 FLEX_FAIL: 0x2B26 (1 = fallback)
 ETH_LAST: 0x2B28 (last ADC value)
 FLEX_STATIC: 0x2B2A (counter for fallback)
Rotational Idle:
 B_HSHE: 0x0100
 B_ROTIDLE: 0x038F (bit 7)
 RI_PHASE: 0x0394
 B_HSHE_prev: 0x0395
Launch Control:
 launch_rpm: 0x03A0
 B_FORSET: 0x0102
 B_FORUN: 0x0103
 clutch: 0x0144
 vfzg: 0x0142
 nmot: 0x0140
Safety Logic:
 B_klr_aktiv: 0x2B30
 B_lambda_aktiv: 0x2B32
 B_mspr_aktiv: 0x2B34
Patched Flash Regions
Flex Fuel Logic:
 0x808200: Ethanol ADC scaling + fallback detection
 0x808240: Stage selector (every 60s)
 0x808280: Map dispatcher
Rotational Idle:
 0xFC100: Toggle and phase logic
Launch Control:
 0xFC200: Cruise button adjustment
Safety Suppression:
 0xFC300: KR, lambda, misfire logic disabled during RI/LC
Staged Map Sets and Addresses
KFZW_STAGE0 @ 0x18000
KFZW_STAGE1 @ 0x18100
KFZW_STAGE2 @ 0x18200
KFZW_STAGE3 @ 0x18300
KFZW_STAGE4 @ 0x18400
LAMFA_STAGE0 @ 0x18200
LAMFA_STAGE1 @ 0x18300
LAMFA_STAGE2 @ 0x18400
LAMFA_STAGE3 @ 0x18500
LAMFA_STAGE4 @ 0x18600
DRL_STAGE0 @ 0x18400
DRL_STAGE1 @ 0x18500
DRL_STAGE2 @ 0x18600
DRL_STAGE3 @ 0x18700
DRL_STAGE4 @ 0x18800
IMX_STAGE0 @ 0x18600
IMX_STAGE1 @ 0x18700
IMX_STAGE2 @ 0x18800
IMX_STAGE3 @ 0x18900
IMX_STAGE4 @ 0x18A00


Title: Re: ME7.5 Combined Flex Fuel, Rotational Idle, Launch Control + Staged Maps
Post by: dal on May 15, 2025, 04:15:06 AM
Awesome work man.
All flex fuel sensors I used so far, were frequency base, not an analog 0-5v output. What sensor does your patch uses?


Title: Re: ME7.5 Combined Flex Fuel, Rotational Idle, Launch Control + Staged Maps
Post by: _nameless on May 15, 2025, 09:25:08 PM
Awesome work man.
All flex fuel sensors I used so far, were frequency base, not an analog 0-5v output. What sensor does your patch uses?
Its uses the standard GM style flex sensors, I'm just using a pwm to analog converter. The plan was to use the pwm signal from the egt sensor input but honestly pwm to analog seemed easier, did it a few years ago on a subaru project I was working on and it worked fine. You can make them with an Arduino, finished sketches are even out there if you look for them. That or buy a legit one.


Title: Re: ME7.5 Combined Flex Fuel, Rotational Idle, Launch Control + Staged Maps
Post by: benni4000 on May 16, 2025, 01:07:09 AM
Take a Look how egt is read. It mostly like copy&paste.


Title: Re: ME7.5 Combined Flex Fuel, Rotational Idle, Launch Control + Staged Maps
Post by: terok on May 16, 2025, 10:45:10 AM
Very nice work, but what is the point of "rotational idle"? Do people really like their their cars idling like shit?


Title: Re: ME7.5 Combined Flex Fuel, Rotational Idle, Launch Control + Staged Maps
Post by: BlackT on May 17, 2025, 04:58:40 PM
Very nice work, but what is the point of "rotational idle"? Do people really like their their cars idling like shit?
It cools cylinders amd lower EGT