2008+ NA Lancer Definition Files

2008+ NA Lancer Definition Files

Postby ofey » Wed Feb 09, 2011 2:03 pm

As some of you might know ClubCJ.net in Australia, has taken the extraordinary effort of releasing the Definition files for the AuDM 2008+ NA Lancers.
With the Turbo variants of this Lancer release already defined so well by both Tephra and Golden, I would like to get the same done for the NA variants.

Under the guidance of Thane from this forum and Golden of Goldenevo fame, I have been able to define the following ECU IDs:
52190007 = MY08 4B11 MT
52200010 = MY08 4B11 CVT
52200013 = MY09 4B11 CVT
53770004 = MY09 4B12 MT
53780004 = MY09 4B12 CVT
54320001 = MY09 4B11 MT
54760002 = MY10 4B11 MT
54770004 = MY10 4B11 CVT

These are now completely listed with the following Tables and Maps:
Authored by: ofey of ClubCJ.net
Supported by: Thane of Openecu.org and Golden of Evolutionm.net
Background: This file is part of a set of definition files for AuDM CJ Mitsubishi Lancers 2008+
released by ClubCJ.net for their Premium Members only use. Of which this is the third iteration. Further details are available from http://clubcj.net/.
To the best of our knowledge, these are the first ever disclosure of defintion files for NA Lancers in
the public domain. Please respect the licensing of these files.
Licensing: These are released under the creative commons licence (CC BY-NC-SA 3.0) -
http://creativecommons.org/licenses/by-nc-sa/3.0
Disclaimer: This file is supplied as is. Use at your own risk.
Revision: 5XXXXXXX Ver 3.0 (4 Feb 2011)


This Ver 3.0 release has the following tables and maps (Additions are shown in Bold):

Misc
ECU ID
Mode 23 -
IF Modes and
DoMode <- Still faulty in : 54760002 and 54770004.

Timing
High Octane Timing Map
Low Octane Timing Map
Unknown Timing Map 1
Unknown Timing Map 2
MIVEC Intake Normal Coolant Temp
MIVEC Intake Low Coolant Temp
MIVEC Intake Map Interpolation
MIVEC Exhaust Normal Coolant Temp
MIVEC Exhaust Low Coolant Temp
MIVEC Exhaust Map Interpolation
Ignition Warmup Retard
EGR Timing Advance
Upper Bound Ignition Timing
Lower Bound Ignition Timing
Timing Reduction vs Load/RPM
IAT Ignition Advance Compensation
Limp Home Table #1
Limp Home Table #2
<-All added in Ver2.0 (unreleased)


Fuel
High Octane Fuel Map
Low Octane Fuel Map
High Octane Fuel Map #2
Low Octane Fuel Map #2
Fuel Injector Scaling
Injector Battery Voltage Latency Compensation
Injector Base Latency
MAF Scaling Part 1
MAF Scaling Part 2
MAF Scaling Part 3
Evap Map #1
Evap Map #2
Open Loop Load Low Octane #1
Open Loop Load High Octane #1
Open Loop Load Low Octane #2
Open Loop Load High Octane #2
Cylinder Fuel Trim #1
Cylinder Fuel Trim #2
Cylinder Fuel Trim #3
Cylinder Fuel Trim #4
Closed Loop - LT Trim Control <- Added in Ver3.0

Intake
Throttle Map #1
Throttle Map #2
Throttle Map #3
Throttle Contditional Switch

Limits
Rev Limiter
Stationary Rev Limiter
Speed Limiter
Airflow Check #1
Airflow Check #2
Airflow Check #3
Torque Limiter #1
Torque Limiter #2
Torque Limiter #3

Idle
Idle RPM #1 vs Coolant Temp
Idle RPM #2 vs Coolant Temp
Idle RPM #3 vs Coolant Temp
Idle RPM #4 vs Coolant Temp
Idle RPM #5 vs Coolant Temp
Idle RPM #6 vs Coolant Temp
Target Idle #1
Target Idle #2
Target Idle #3
Target Idle #4
Target Idle #5
<-Added in Ver3.0


OBD II Inspection
Non-Continuous Monitor Availability Patch - Part 1
Non-Continuous Monitor Availability Patch - Part 2
Non-Continuous Monitor Completion Patch
Monitor Available(1)/Not Available(0) - Read Only, Do NOT Change
Monitor Passed(1)/Failed(0) - Read Only, Do NOT Change
<-Added in Ver3.0

OBD II Codes
OBD II Codes

ECU Options
ECU Options Set #1
ECU Options Set #2
ECU Options Set #3
ECU Options Set #4
ECU Options Set #5
ECU Options Set #6
ECU Options Set #7

MUT
MUT Tables

Eventually, all of these in Ver1.0 will be submitted to Golden himself for free release on the Goldenevo site.
Those who wish to obtain the Ver3.0 and further releases may choose to join ClubCJ.net as a premium member.

-------------------------------------------------------------------------------------------------------------------------------------

What does this mean for you?
In the meantime, should anyone else around the world wish for me to provide a definition file for you, please put up a copy of your ROM file in this thread and I'll get it defined so we can build up a database for the NA Lancers too.
Please give me some details on the ROM like: MY??, MT or CVT, 4B11 or 4B12, which domestic market it's from.
After doing these many definition files, it doesn't take me more than half an hour to do a single def file. Learning curve was steep to begin with though... . :?

*edit*
I have so far begun work on the definition files for the following ROMs I've found on this forum but would appreciate more information if you were the ones that put up these files (* => completed to Ver3.0):

50840023 -No info
51510022-??DM-MY084B11 - No info
51510023-USDM-MY084B11 - No info
51520020-??DM-MY084B11 - No info
51930007-EDM-MY084B11 - No info
52170007*-SADM-MY084B11 - No idea bout transmission type
52180010-??DM-MY??4B11 - No info
52310001-??DM-MY??4B?? - No info
55170006*-??DM-MY??4B?? - No idea about Market, year of manufacture nor engine type though looks like a 4B11

Definition Files Supplied
1.
2. 57370001-MyDM-MY114B10MT-Inspira.xml - edmundturner
3. 54980003-MyDM-MY104B10 MT-Lancer.xml - edmundturner
4. 5500010-EDM-MY094B10MT-Lancer.xml - LiX *DONATED*
Last edited by ofey on Sat Jun 11, 2011 6:01 am, edited 1 time in total.
ofey
 
Posts: 14
Joined: Fri Mar 12, 2010 5:38 pm
Location: Melbourne, Australia

Re: 2008+ NA Lancer Definition Files

Postby donyong » Thu Feb 10, 2011 1:49 am

As ofey has mention, initial learning curve was steep. For all you guys/gals here who wish to know how to write these definition files, here are the following steps: -

1) Get your mitsubushi roms and ECU ID (hex file) downloaded
2) Vehicle type , market, model, tranmission, flashmethod details are important.
3) Download a hex editor (Hex Workshop Hex Editor which is good enough and free).
4) Download a xml definition file from this forum as a start for a particular ROM (hex file). Can be found in the threads like this one started by ofey: -

viewtopic.php?f=55&t=4875

5) Open these hex files with the Hex Workshop Editor
7) Open the xml file or edit using notepad to see the the table being defined with addresses
6) Look at the addresses of the hex (Hex Workshop Hex Editor) in the .hex file and match it to the .xml document at hand.

Also note its corresponding Unicode Pair (xxxx), Unicode character and ASCII character and note it in which series it occurs. This is important since the coding to the ROMs are in a particular sequence. If you know the sequence, and who the unicode pair, you can then build and xml file for your ECU ID eventhough you could not get it from openecu forum.

For example, a 2008, USDM 4B11 CVT model.

High Octane Timing Map has unicode pair = 140A, ASCII = 0A, Hex Series is in the 53xxx region.
Low Octane Timing Map has unicode pair = 140A, ASCII = 0A, Hex Series is in the 53xxx region.
Mivec Intake #1 has unicode pair = 167C, ASCII = 7C, Hex Series in the 59xxx region
..
..
and so on and so fourth.

I took me in total 3 hours or so to figure it all out.

Most important is for you to get hold of an xml document for a particular rom for your car in your region with the same specs and you are game on.
donyong
 
Posts: 2
Joined: Tue Feb 08, 2011 1:43 am

Re: 2008+ NA Lancer Definition Files

Postby ofey » Thu Feb 10, 2011 4:00 am

@donyong has pointed the way forward to reverse code out a def file from an existing def.

I just wanted to add that I pretty much used the Evo X def files to figure out the NA ones.
You can also then use a HEX editor to look for similar pattern chains.

The learning cycle I was referring to for me was the use of IDA Pro, you can also use IDA Pro to decompile your ROM and look for subroutines. That's how we keep adding more and more tables.
Much thanks here goes to @Thane who guided me through the use of IDA.

In the end, I hope to build up a solid database for NA ROMs like what the Turbo RAs and Evos have.

p.s. @donyong: Do you have any defined defs and ROMs from Malaysia you can send through to me for collation? Once all of them are set up, I can send them through to Goldenevo to put up on his site.
ofey
 
Posts: 14
Joined: Fri Mar 12, 2010 5:38 pm
Location: Melbourne, Australia

Re: 2008+ NA Lancer Definition Files

Postby donyong » Thu Feb 10, 2011 8:31 pm

Great piece of software ofey. Reduced the need for hand/eye co-ordination alot.

Well, just started debugging 2 days ago, so still new. Don't even have tactrix at the moment, need to learn this up first before deciding whether to purchase one or not.

How did you know i'm from Bolehland? The only person who has access to ROM at the moment that I know of is Zika, maybe you could contact him on the various ID's for Bolehland Lancers.

Btw, how did you figure out from Evo X? Cos for High Octane Timing Map for example, 4b11 USDM CVT is 14 0A whereas for Evo X USDM/ADM SST is 17 0A. Is there a relationship?

And how do you use to quickly identify it in IDA? I'm on IDA 5.5 at the moment. any quick lessons/tips?
donyong
 
Posts: 2
Joined: Tue Feb 08, 2011 1:43 am

Re: 2008+ NA Lancer Definition Files

Postby ofey » Tue Feb 15, 2011 3:12 am

Sorry I've been away for awhile. Things are getting abit confusing on my own forum where there seems to be a witch hunt on to remove me.

Things have moved on abit in the development of a proper def file for the NA Lancer.
To keep all those interested informed, I've recieved some assistance from the Merlin (author of the Evo Tuning Guides).

The latest version of these files (Ver 4.0) now consist of the tables and maps below. It will take me while to put all the ROMs I have on disc in order.

Mode23
Mode 23 -
IF Modes and
DoMode

Fuel Maps
Hi-Octane Warmup Fuel Map
Hi-Octane Main Fuel Map
Lo-Octane Warmup Fuel Map
Lo-Octane Main Fuel Map

Spark Maps
High Octane Spark Map
Low Octane Spark Map
Acceleration Spark Map - Warmup or Lo-octane
Acceleration Spark Map - Main

MIVEC
MIVEC Intake Normal Coolant Temp
MIVEC Intake Low Coolant Temp
MIVEC Intake Map Interpolation
MIVEC Exhaust Normal Coolant Temp
MIVEC Exhaust Low Coolant Temp
MIVEC Exhaust Map Interpolation

Timing Trims
Ignition Warmup Retard #1
Ignition Warmup Retard #2
EGR Timing Advance
Lower Bound Ignition Timing Adder v CTS
Timing Reduction vs Load/RPM
IAT Ignition Advance Compensation
Upper Bound Ignition Timing
Lower Bound Ignition Timing

Injectors
Fuel Injector Scaling
Injector Battery Voltage Latency Compensation
Injector Base Latency

Fuel
MAF Scaling Part 1
MAF Scaling Part 2
MAF Scaling Part 3
Evap Map #1
Evap Map #2
Open Loop Load Low Octane #1
Open Loop Load High Octane #1
Open Loop Load Low Octane #2
Open Loop Load High Octane #2
Cylinder Fuel Trim #1
Cylinder Fuel Trim #2
Cylinder Fuel Trim #3
Cylinder Fuel Trim #4
Closed Loop - LT Trim Control

Throttle
Throttle Map #1
Throttle Map #2
Throttle Map #3
Throttle Contditional Switch

Limits
Rev Limiter
Stationary Rev Limiter
Speed Limiter
Airflow Check #1
Airflow Check #2
Airflow Check #3
Torque Limiter #1
Torque Limiter #2
Torque Limiter #3

Idle
Idle RPM #1 vs Coolant Temp
Idle RPM #2 vs Coolant Temp
Idle RPM #3 vs Coolant Temp
Idle RPM #4 vs Coolant Temp
Idle RPM #5 vs Coolant Temp
Idle RPM #6 vs Coolant Temp
Target Idle #1
Target Idle #2
Target Idle #3
Target Idle #4
Target Idle #5

Knock Control
Knock Threshold - Load V RPM
Knock Background Noise Multiplier

MUT
MUT Table

ECU Options
ECU Options Set #1
ECU Options Set #2
ECU Options Set #3
ECU Options Set #4
ECU Options Set #5
ECU Options Set #6
ECU Options Set #7

ECU ID
ECU ID

OBD II Inspection
Non-Continuous Monitor Availability Patch - Part 1
Non-Continuous Monitor Availability Patch - Part 2
Non-Continuous Monitor Completion Patch
Monitor Available(1)/Not Available(0) - Read Only, Do NOT Change
Monitor Passed(1)/Failed(0) - Read Only, Do NOT Change

OBD II Codes
OBD II Codes
ofey
 
Posts: 14
Joined: Fri Mar 12, 2010 5:38 pm
Location: Melbourne, Australia

Re: 2008+ NA Lancer Definition Files

Postby fantola » Sat Mar 05, 2011 5:24 pm

Dear Ofey,
I've upload the stock rom of 2010 lancer asia model . Would you please create a definition file for this rom? I'll appreciate your assistance. :D
Attachments
Lancer stock rom asia model MY10 4B10.hex
(1 MiB) Downloaded 1667 times
fantola
 
Posts: 1
Joined: Sat Mar 05, 2011 5:18 pm

Re: 2008+ NA Lancer Definition Files

Postby ofey » Sat Mar 12, 2011 12:25 am

@fantola:

Can you give me a bit more description?

Where in Asia precisely is this from?
Wow a 4B10 !? No typo there?
CVT or MT?

I'm almost done. Should be done within this weekend.
ofey
 
Posts: 14
Joined: Fri Mar 12, 2010 5:38 pm
Location: Melbourne, Australia

Re: 2008+ NA Lancer Definition Files

Postby m@verik » Sat Mar 19, 2011 10:02 pm

That 52170007 is my rom. 4B11, manual, south africa market.
m@verik
 
Posts: 4
Joined: Sat Jul 18, 2009 8:34 am

Re: 2008+ NA Lancer Definition Files

Postby m@verik » Wed Apr 13, 2011 2:17 am

Bump

What is happening with these?
m@verik
 
Posts: 4
Joined: Sat Jul 18, 2009 8:34 am

Re: 2008+ NA Lancer Definition Files

Postby somedood451 » Mon Aug 08, 2011 10:25 pm

I'm going to assume that there are a number of people working on decompiling their NA roms. So far, I've had little success finding people who want to share any information. Maybe everyone is intending to sell the definitions if they're the first to fully define things. I'm sure some company would be willing to pay reasonably well for a full definition. This is a popular car, I see 3-4 per block at times every day. So I am very sure there is or will be a demand for more performance.

I'm making solid progress on mine one day per week; since that's all the time I have to throw at it. If I knew how to use IDA Pro it would help a bunch, but I probably can't read ASM anymore, it's been years. So I won't be spending $500 or whatever for the current version of the program.

Still, the best information out there is under lock & key, subscriptions, or invite only scenarios. Given the amount of work involved, it will probably remain pretty exclusive.
somedood451
 
Posts: 2
Joined: Wed May 04, 2011 5:16 pm

Re: 2008+ NA Lancer Definition Files

Postby And » Mon Aug 08, 2011 11:50 pm

I've decoded one for some one else if you have a rom that you want me to look at then PM it to me and I'll see what I can do

I only ask for a donation of what you think it was worth :) and to keep the other half happy and not giving her any attention while decoding the rom :)

Andy
And
 
Posts: 45
Joined: Mon Oct 06, 2008 8:32 am

Re: 2008+ NA Lancer Definition Files

Postby And » Tue Aug 09, 2011 10:41 pm

here you go this is the xml for the rom posted above as you can seen most of the stuff has been found only the tables set to developer are missing
Attachments
54980003.xml
(27.42 KiB) Downloaded 1737 times
Last edited by And on Wed Aug 10, 2011 11:18 pm, edited 1 time in total.
And
 
Posts: 45
Joined: Mon Oct 06, 2008 8:32 am

Re: 2008+ NA Lancer Definition Files

Postby ZZZ » Wed Aug 10, 2011 4:31 am

ofey,
awesome work!

A while ago I found a half of the tables for my 1.8 MT (52500008). But wondering if it is possible to get one of your full xml for reference to continue digging my ROM?
ZZZ
 
Posts: 3
Joined: Wed Aug 10, 2011 4:11 am

Re: 2008+ NA Lancer Definition Files

Postby And » Wed Aug 10, 2011 11:19 pm

i've modified the xml def so please donload if you already have

Andy
And
 
Posts: 45
Joined: Mon Oct 06, 2008 8:32 am

Re: 2008+ NA Lancer Definition Files

Postby somedood451 » Wed Aug 10, 2011 11:22 pm

@ And: I may take you up on this if I get really stuck. I've been enjoying this blind puzzle far too much for the moment. It reminds me of when I was a kid trying to get more daggers in a video game.

It's great to see that there are some resources out there for the NA scene. I know there have been some hard feelings in places with regards to the NA Lancers. Maybe things can be opened up a bit in the future for the benefit of everyone. It's not like just anybody can tune a FI car these days. Even when I get things fully defined, I still won't know how to tune the thing. 4 screws on a carb I can handle. 20+ sensors, variable everything, etc. is a considerable change.
somedood451
 
Posts: 2
Joined: Wed May 04, 2011 5:16 pm

Next

Return to Mitsubishi (all models)

Who is online

Users browsing this forum: No registered users and 6 guests