New Chip Features (Code59)

skwayb

NWSTP
First off I want to say Dig and Don (Thirdgen Member) have done an awesome job on the code. These guys are truely amazing what they can get the code to do.

We are currently calling the new code, Code59 for now. The name could change but for right now that is what we are calling it.

To run this code you need to have a WBo2 Controller connected to your ECM on Pin F14 and a 3 Bar Map Sensor installed..You can still run this code on a low boost or naturally aspirated application , you just need to be using a 3 Bar Map sensor and it must be using fuel injectors. We have not tested this on a TBI application so I don't know if it would work on that.

Here are the features of the new code, with more things being added down the road after more testing is completed. This should get everyone excited.

Current Features of Code59:

** UPDATED 8/7/2006 **
V18 NOW INCLUDES ALDL Connection Fix so it is now easier to connect to Code59. The Autoprom will now be able to log and emulate at the same time with V18 or higher.

Flags for these features have to be turned on in the bin using the 59 XDF to use these new features. Please read the Notes in the XDF on each item.

WBo2 Controller selection
- The code expects the WB sensor voltage to be present on pin F14 on the 749ecm (i.e. MAP2).
- Bit 0 : DIY / TechEdge v1.0 Sensor Nonlinear Output - Uses Table
- Bit 1 : FJO Nonlinear Output - Uses Table
- Bit 2 : Generic/AEM Nonlinear Output - Uses Table, Table can be calibrated to be used with sensor not on the list.
- Bit 3 : TechEdge v2.0 Linear Output - Uses Formula [AFR = (Volts * 2) + 9]
- Bit 4 : PLX Linear Output - Uses Formula [AFR = (Volts * 2) + 10]
- Bit 5 : Innovate Linear Output - Uses Formula [AFR = (Volts * 2) + 10]
- Bit 6 : AEM Linear Output - Uses Formula [AFR = (Volts * 2) + 10]
- Bit 7 : Zeitronix (Nonlinear Output - Uses Table)
- Second WBo2 Sensor Setting
- Bit 7 : RAW - Raw output of Voltage, Use formula in TunerPro to display AFR. DO NOT USE WITH WIDE BAND O2 FUELING FLAGS TURNED ON

Closed Loop WBo2 Fueling(Currently Not active when in PE)
- AFR High setting
- AFR Low Setting
- Sensor Ready Delay, amount of time to delay to make sure the wbo2 sensor is ready before WBo2 Closed Loop code is active
- F29_AFR table to calibrate what AFR you want to run. Matches the F29x table in Size You can dial in any AFR you want to run under 100 kPa and it will run it at that AFR, provided you are in CLOSED LOOP.

16x32 VE Table F29x covering (400-6400 RPMs, and 0 - 300 kPa (30psi)) - Replaces F29 and F30 tables with a much wider range of RPMs and kPa's you can controll fueling in. This table is used when in Open Loop, in PE, WOT and when F29_AFR flags are turned off. This is the table that AutoTune will help you tune.

F70_MPH Desired Boost Pressure VS RPM AND MPH - Changed table from TPS% to MPH based. Run Lower Boost for launching when at low MPH. You can scale the boost to come on as you increase MPH and RPM.

F71_MPH Wastegate Duty Cycle -vs- MPH - Changed table from TPS% to MPH based. Helps reduce boost spiking in 3rd/4th gear shifts by allowing you to adjust Wastegate% at the MPH your shifts occur.

Updated ALDL Outputs
- Actual AFR
- Desired AFR
- AE/DE/PE/DFCO/BLM Flags - Know now when you are in AE/PE/DE/DFCO or you BLM is active.
- $3f map variable (Real 3 Bar Map Variable, used by F29x, F29_AFR)
- $3e Filtered Map

F29x Table Only - No longer use F29c (Closed Throttle Table) at idle. Single Table for both Idle and Driving.

Expanded Boost Multipler F77x Table - Covers a wider range of 84 - 292 kPa
Updated BARO LOGIC
V8 EGR Fix


In the Works/Possible Future Features:
  • Alky/NOS pump/fuel control - Cut boost if Fuel Pressure is low.
  • Fuel Pressure Input into ECM and output into ALDL
  • EGT Input into ECM and output into ALDL
  • Security
  • 2 stage rev limiter, launch control
  • Knock output to a Guage (actually see how many Degrees knock you are getting) - In testing
  • Highway Mode (better gas mileage when cruising, configureable)
  • More WBo2 Control (When in PE mode, Open/Closed). Allow Full use of the F29_AFR when in Boost (Above 100 kPa) - We are still hashing out algorithm
  • Expanded NVRAM support (will need it for More Learn cells for the WBo2 Fueling Algorithim)
 
Last edited:

cvcsmkr

Donating Member
Re: New Chip Features (Code59)

i am having to use some of those extra brain cells just trying to TUNE my truck.
let alone right a code for the ecm.
i am GREATLY THANKFUL that you guys have and are doing all this work and sharing it to everybody.
very cool
 

JSM

Active member
Re: New Chip Features (Code59)

I am hoping at the nationals we can let loose the first stable version of where we are at now.

I have a couple trucks running on it so far without issues in code.
 

skwayb

NWSTP
Re: New Chip Features (Code59)

We are also thinking of adding learning boost code once we get some more NVRAM for storage. (BBLM) Boost BLM. There was already a lotus running a gm ecm with this code. We have it and are looking into adding it. But we need more NVRAM for our ecm to be able to use it. There is a solution for the NVRAM coming from someone on Thirdgen but not sure when it will be out. Once it is we will look to see if we can impliment this.
 

ZavzTy547

Senior Member
Re: New Chip Features (Code59)

skwayb said:
We are also thinking of adding learning boost code once we get some more NVRAM for storage. (BBLM) Boost BLM. There was already a lotus running a gm ecm with this code. We have it and are looking into adding it. But we need more NVRAM for our ecm to be able to use it. There is a solution for the NVRAM coming from someone on Thirdgen but not sure when it will be out. Once it is we will look to see if we can impliment this.

That's impressive.
Is Dig doing all the coding? Is this done in C or C++?
Thanks Paul. Please continue to keep us posted.
 

Tooky

Serious about performance
Re: New Chip Features (Code59)

skwayb said:
We are also thinking of adding learning boost code once we get some more NVRAM for storage. (BBLM) Boost BLM. There was already a lotus running a gm ecm with this code. We have it and are looking into adding it. But we need more NVRAM for our ecm to be able to use it. There is a solution for the NVRAM coming from someone on Thirdgen but not sure when it will be out. Once it is we will look to see if we can impliment this.
Now that's hardcore! :eek:
 

JSM

Active member
Re: New Chip Features (Code59)

ZavzTy547 said:
That's impressive.
Is Dig doing all the coding? Is this done in C or C++?
Thanks Paul. Please continue to keep us posted.

For some reason this strikes me funny, not sure really since I don't know C or C++.

But all the gm ecm's are done in machine language. It is a more efficient programming language but harder to read, understand.
 

dgoodhue

BuSTeD 4.3
Re: New Chip Features (Code59)

JS Manufacturing said:
For some reason this strikes me funny, not sure really since I don't know C or C++.

But all the gm ecm's are done in machine language. It is a more efficient programming language but harder to read, understand.

Yes its a much harder language to read & understand. Essentially any progam written in C/C++ is converted to machine language for the microprocessor to run. You could write a program in C and then use a converter but it would never fit on our prom's. Fom my limited experience the C program convert took 6-8 time more commands than writing the code in assembly.
 

BigBadSmoosh

Picking fights on I-65 since 2013
Re: New Chip Features (Code59)

The stock ecm is a modified motorola HC11 microcontroller, it uses Motorola's Assembly language.
 

skwayb

NWSTP
Re: New Chip Features (Code59)

ZavzTy547 said:
That's impressive.
Is Dig doing all the coding? Is this done in C or C++?
Thanks Paul. Please continue to keep us posted.

All done in assembly. Dig and Don(Thirdgen Member) are doing all the code. Dig did the Big VE table, the big table code, all the boost code and Don added all the wideband o2 code. Jeff and I are just helping test and make the tools needed to use it. (Autotune.xls, ADS, XDF, website, etc.)
 

Lynn D. Brown

New member
Re: New Chip Features (Code59)

Fantastic ! Now I guess this new chip will have numerous settings ? Any theft turnoff setting ?

Will it be able to handle big injectors, like PTE 76 #'ers ? Vortec heads, ATR headers, etc., etc.
 

qbnkiller

Conflaguration Specialist
Re: New Chip Features (Code59)

The new chip will be a 'do-it-yourself' type thing. You will tailor it to your truck's liking.
 

skwayb

NWSTP
Re: New Chip Features (Code59)

Lynn D. Brown said:
Fantastic ! Now I guess this new chip will have numerous settings ? Any theft turnoff setting ?

Will it be able to handle big injectors, like PTE 76 #'ers ? Vortec heads, ATR headers, etc., etc.

Lynn,

This will just be the base code for you to do you own tune. Here is a post with what you need to run it. http://www.syty.net/forums/showthread.php?t=39907

I know I have seen a better one but I couldn't find it. Jeff you know the one I am talking about?
 

crazy151drinker

New member
Re: New Chip Features (Code59)

It mentioned adjusting the fuel/air ratio- are there limits on this or can you set it for ratio's that would allow you to run straight alcohol or methonal?
 

JSM

Active member
Re: New Chip Features (Code59)

There is a new desired AFR table that has 512 data points. What is allows you to do is set a desired AFR anywhere you want at each rpm and boost/vacuum level.

So for cruise you can set to 14.7 and then as the boost comes in lower AFR to 12:1, etc. Right now some of the areas are in closed loop. (we are working on more later, even cl under boost)

One nice thing is for example Paul has his cruising desired AFR at 15.5. He is now getting 20 mpg without a lockup TCC. Anything other than cruise it goes back to 14.7 or less under boost.
 

JSM

Active member
Re: New Chip Features (Code59)

Another thing we just fixed this week. For all the autoprom users and tunerpro users in general we figured out how to avoid the silence command issues. Tunerpro now connects first time, everytime, no silence command needed.

I used it on test truck all weekend, worked like a charm. Sat in traffic stopping and starting ALDL just to be sure it was working. No issues ever.

For the autoprom users this well let you emulate and datalog at the same time. Something our ecm couldn't do until now. The if you have an autoprom with blue tooth, well the cables go away also.

So how many aftermarket fuel computers have bluetooth?
 
Top