Flex Fuel and Lean Cruise Patches for OS 12587603

They go by many names, P01, P59, VPW, '0411 etc. Also covering E38 and newer here.
User avatar
Phoenix
Posts: 112
Joined: Sat Aug 22, 2020 5:02 am
cars: 1983 Chevy C10
1993 Ford Mustang LX 5.0
2004 Pontiac GTO
2005 Pontiac GTO
Location: Anna, TX

Flex Fuel and Lean Cruise Patches for OS 12587603

Post by Phoenix »

Edit 06/27/22: Added "EQ Spark Advance Multiplier Vs. MAP" to the XDF. This table multiples the added spark when in Lean Cruise and was set too low to make a difference. The patch will change all values to 1.00 so that the timing added in "B5908 - EQ Ratio Spark Advance Correction Vs. EQ Ratio Vs. RPM (Lean Cruise) (12626)" will be a 1:1 ratio. So if one puts 10 degrees in the box, the PCM will add 10 degrees to the base timing regardless of MAP value.

Edit 05/05/22: Fixed the layout of table B7004 (Major order by column) and changed the address in one of the patch items as it was incorrect (0xB7AE, previously left this parameter as 0).

Edit 04/10/22: I'm surprised nobody brought this up, but I had B3634 defined wrong. It's supposed to be 4 bytes long, not 2 as I had it in the previous version. This oversight essentially would cause you to have to wait up to millions of seconds for lean cruise to kick in. I've made the correction to the parameter and the patch. If you have previously downloaded and try the XDF, but were not seeing results, please use the re-defined parameter in the below XDF to change the value to something more reasonable.

Edit 03/14/22: Changed the description for B3639 - Lean Cruise Enleanment AFR and B3639 - Lean Cruise Enleanment Lambda. Now these tables are for reference/sanity check only, should not be edited as this would cause bogus values to show up. Only edit the B3639 - Lean Cruise Enleanment EQ Ratio table.

Also the addresses for the Lean Cruise parameters were offset and now are fixed, so if you have a version previous to Beta 2.4, please update.

Edit 03/07/22: Added two more Flex Fuel parameters to the patch, B3627 - Afterstart Enrichment Decay Delay vs. EXT and B3628 - Afterstart Enrichment Decay Step vs. ECT.

With gas prices going through the roof I thought that posting an XDF that could improve your fuel economy and fuel selection might be helpful. All of this information is already out there, I just compiled it in a single XDF and made two patches so that it would be easy to implement. Make sure you have a copy of your bin file before applying the patches as they cannot be removed, but the two functions can be turned off in the XDF later if so desired.


!!! DISCLAIMER !!!
I'M NOT RESPONSIBLE IF FLEX FUEL OR LEAN CRUISE BLOW UP OR MELT YOUR ENGINE. BE SMART, USE YOUR BRAIN AND ASK QUESTIONS IF YOU ARE NOT SURE ABOUT SOMETHING.


FLEX FUEL PATCH - Applying this patch will turn FF on and populate all the necessary parameters with values taken from a P59 2004 Flex Fuel Silverado L59. There are 30+ parameters that need to change for FF to work as the factory intended and they are automatically populated when applying the patch. Will additional tuning be required? Of course. The patch gives you a good starting point.

YOU WILL NEED TO INSTALL AND WIRE IN A GM FLEX FUEL SENSOR BEFORE APPLYING THIS PATCH!!! There are some notes in the patch parameter summary, but it is not by any means a complete write up.


LEAN CRUISE PATCH - Applying this patch will turn on Lean Cruise like in the Holden vehicles and populate all the necessary parameters with values taken from a 2004 5.7L Holden Commodore M6. There are 9 parameters that need to change for Lean Cruise to work and they are automatically populated when applying the patch. Again be smart, use a wideband and verify that the PCM is applying Lean Cruise correctly.

Make sure you do a full flash (Write Entire) of the bin file after applying the Lean Cruise patch.

If you see multiple tables for the same address those are duplicates with either different units on the rows and columns, different units in the parameter or the rows and columns are transposed to make it easier to copy and paste from other sources. No need to change them all, a change in one will be reflected in the others.

If you see any errors, please comment so that I can make any necessary changes.
Attachments
Flex Fuel and Lean Cruise Patches for GM OS 12587603 Beta V3.0.xdf
(137.17 KiB) Downloaded 340 times
GM-P01-P59-checksum-plugin.dll
(11 KiB) Downloaded 359 times
Last edited by Phoenix on Tue Jun 28, 2022 3:05 am, edited 6 times in total.
User avatar
antus
Site Admin
Posts: 8237
Joined: Sat Feb 28, 2009 8:34 pm
cars: TX Gemini 2L Twincam
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B
Contact:

Re: Flex Fuel and Lean Cruise Patches for OS 12587603

Post by antus »

Thanks! I'll pin this post. As they build up we might need to sort them better later but for now it'll make the good stuff easy to find.
Have you read the FAQ? For lots of information and links to significant threads see here: http://pcmhacking.net/forums/viewtopic.php?f=7&t=1396
persingc
Posts: 58
Joined: Sat Nov 13, 2021 11:21 am
cars: 64 c10
63 impala

Re: Flex Fuel and Lean Cruise Patches for OS 12587603

Post by persingc »

That's pretty sweet!
brandongarnold02
Posts: 12
Joined: Sat Mar 12, 2022 11:47 am
cars: None at the moment. Tuning my daily driver

Re: Flex Fuel and Lean Cruise Patches for OS 12587603

Post by brandongarnold02 »

I loaded it up on my pcm. Seems to work great. Only issue I noticed so far was when setting the enleanment on one table it scews all of them to almost to like a max value. I.E. if I change the AFR enleanment to 17 on one block and hit save and go back to the table and the block is now at -23, the block on the eq ratio table is 64 and the block on the lamda table is -.02
User avatar
Phoenix
Posts: 112
Joined: Sat Aug 22, 2020 5:02 am
cars: 1983 Chevy C10
1993 Ford Mustang LX 5.0
2004 Pontiac GTO
2005 Pontiac GTO
Location: Anna, TX

Re: Flex Fuel and Lean Cruise Patches for OS 12587603

Post by Phoenix »

brandongarnold02 wrote:I loaded it up on my pcm. Seems to work great. Only issue I noticed so far was when setting the enleanment on one table it scews all of them to almost to like a max value. I.E. if I change the AFR enleanment to 17 on one block and hit save and go back to the table and the block is now at -23, the block on the eq ratio table is 64 and the block on the lamda table is -.02
Thanks for picking that up! Looks like the only table we should edit is the one in EQ Ratio and the other two will change correctly. Now if we change the AFR or Lambda table we end up with weird values.

I'm uploading a revised version that still has the AFR and Lambda tables, but have been edited to reflect their status as a reference/sanity check only use.
User avatar
Phoenix
Posts: 112
Joined: Sat Aug 22, 2020 5:02 am
cars: 1983 Chevy C10
1993 Ford Mustang LX 5.0
2004 Pontiac GTO
2005 Pontiac GTO
Location: Anna, TX

Re: Flex Fuel and Lean Cruise Patches for OS 12587603

Post by Phoenix »

New version uploaded, please see first post for details.
User avatar
Phoenix
Posts: 112
Joined: Sat Aug 22, 2020 5:02 am
cars: 1983 Chevy C10
1993 Ford Mustang LX 5.0
2004 Pontiac GTO
2005 Pontiac GTO
Location: Anna, TX

Re: Flex Fuel and Lean Cruise Patches for OS 12587603

Post by Phoenix »

Revised version uploaded to first post.
brandongarnold02
Posts: 12
Joined: Sat Mar 12, 2022 11:47 am
cars: None at the moment. Tuning my daily driver

Re: Flex Fuel and Lean Cruise Patches for OS 12587603

Post by brandongarnold02 »

I have a 2005 2500hd 6.0 swapped to the 7603os. I’m having an issue with the spark advance. I’ve added 10 degrees to the table at and greater than 16.0:1 and have my lean cruise to lean out at 16.5 but I’m not seeing any advance on my logs. Timing stays pretty close to the octane tables.
User avatar
Phoenix
Posts: 112
Joined: Sat Aug 22, 2020 5:02 am
cars: 1983 Chevy C10
1993 Ford Mustang LX 5.0
2004 Pontiac GTO
2005 Pontiac GTO
Location: Anna, TX

Re: Flex Fuel and Lean Cruise Patches for OS 12587603

Post by Phoenix »

brandongarnold02 wrote:I have a 2005 2500hd 6.0 swapped to the 7603os. I’m having an issue with the spark advance. I’ve added 10 degrees to the table at and greater than 16.0:1 and have my lean cruise to lean out at 16.5 but I’m not seeing any advance on my logs. Timing stays pretty close to the octane tables.
Silly question, do you have a way to log to make sure you are indeed in lean cruise? Post or pm a copy of your tune and I'll be glad to take a look at it and make sure it's not something that I messed up on.
brandongarnold02
Posts: 12
Joined: Sat Mar 12, 2022 11:47 am
cars: None at the moment. Tuning my daily driver

Re: Flex Fuel and Lean Cruise Patches for OS 12587603

Post by brandongarnold02 »

Phoenix wrote:
brandongarnold02 wrote:I have a 2005 2500hd 6.0 swapped to the 7603os. I’m having an issue with the spark advance. I’ve added 10 degrees to the table at and greater than 16.0:1 and have my lean cruise to lean out at 16.5 but I’m not seeing any advance on my logs. Timing stays pretty close to the octane tables.
Silly question, do you have a way to log to make sure you are indeed in lean cruise? Post or pm a copy of your tune and I'll be glad to take a look at it and make sure it's not something that I messed up on.

Here is my tune and log. Thanks for taking a look!
Attachments
20220623_0914_Tuning.csv
(2.66 MiB) Downloaded 193 times
My Truck Stock 12587603 Fans Activated Cooler Temps - Lean Cruise #3 6-22-22.bin
(1 MiB) Downloaded 211 times
Post Reply