PDA

View Full Version : Evo 2/3 Definition files


blackvr
02-02-2009, 01:34 PM
Gidday guys, this is certainly an interesting new forum. I run an Evo 3 gravel rally car in Adelaide, South Australia. I also work a Dyno Dynamics dyno and have recently been having huge success tuning Evo's on E85.

The Evo 3 is a new gravel car for me, and I would like to rewrite the chip program ( especially to suit bigger injectors and E85). I have had much success rewriting my old Galant VR4 ecu with an Ostrich emulator.

What I am chasing is a defintion file for the Evo 2 and or Evo 3 . I didnt have much trouble getting the VR4 file.Can anyone help ? they seem a little hard to get ?

PS anyone over there want to swap weather... It has been 40+Celcius here in Adelaide for 9 days , with one day peaking at 45.7 degrees. It was still 37degrees at midnight. There is no apparent end to this record breaking hot weather. It is pretty hard working in my non air con dyno workshop.... the dyno work has been on hold ! Oh for some colder weather.

Cheers Mike

AndyF
02-02-2009, 02:17 PM
Mike,
There is this one (http://www.geekmapped.com/forums/showthread.php?t=6) that I've put in the downloads section but to run it properly you will need to make some code changes to enable anti-lag on launch control assuming that you want that feature :lol:

Failing that, let me know what you're after in terms of being able to change and I'll make you an appropriate definition file.

BTW, I assume that you're using TunerPro software? If not then it's a free download anyway so the definition files I've written are to go along with that software.

Andy

blackvr
03-02-2009, 10:34 AM
Andy, thanks for the response. Yes, I have been using TunerPro for some time. I have a reasonable idea of modifying code... I am an auto technician turned part time " computer geek", rather than the other way round. I wish I had the time to really learn disassembly.... but I seem so busy trying to do everything !
Could you help advise on code changes. I do have a hex editor.. but I just need a little help. Will your .XDF work ok on an Evo3 not running ALS ( ie road setup). Yes, I do want to run ALS on my competition car.
The changes I want to make include the usual fuel and spark changes, injector resizing ( I now run exclusively on that fantastic fuel E85), octane reset ?( like in the widely available VR4 roms), launch control? and boost control using factory solenoid ?

Cheers Mike

AndyF
03-02-2009, 10:41 AM
Yes the XDF will work for fuelling/ignition tables etc. but things like the rev limit and launch control/ALS settings won't be in the correct places in your ROM file.

I'll put up a simple XDF this evening which has the basics of fuel/ignition, idle map, rev limits etc.. and I'll also put up a post about the code changes that are needed to get the launch control sorted out etc.

Andy

blackvr
03-02-2009, 11:09 AM
Thanks for your help Andy. Mike

AndyF
03-02-2009, 10:57 PM
Hi Mike,
Here is a basic XDF file for you to start with. It gives you control over injector sizing and deadtime values and the usual fuelling/ignition tables.

As for the octane value that you're talking about are you meaning you want to be able to reset it every time you switch on the ECU or are you talking about something else? If you are then this will require a code change along with the launch control. Also, the ALS code at present only gives ALS during the launch but I'm currently trying to find the code to control the idle speed control valve so I can run ALS on throttle lift off using the ISCV as the source of air.

Hope this helps get you started

Andy

blackvr
05-02-2009, 09:29 AM
Andy, very much appreciated!

The octane reset is everytime the ecu is switched on. Yes I had to do a code change for the octane reset, launch control and NLTS programs in the VR4 ecu.

Now I can have a play. Keep me informed on any developments re code. Down the track, maybe you can help me with the code changes to allow these other functions in an EVO 3 ecu ?

Cheers Mike

AndyF
05-02-2009, 09:45 AM
Mike,
If you have a look in the 'How to' section, I put up a few posts last night with the launch control and also launch control / ALS coding changes that you need to make to get them working.

I've also done the code to do other things like flash the CEL on knock detection using the std knock sensor or alternatively I can use the CEL as a shift light if you would prefer.

NLTS is also available but requries installation of a clutch switch to be activated.

And just recently I've also written the code to be able to allow the car to run on switchable fuel and ignition tables so that when the switch is activated, the car runs on it's 'race map' but when it's switched off it runs off it's normal maps etc.

The octane reset I haven't looked at but should be *relatively* easy to do by moving the memory location that the octane flag is stored within to the section of code that is reset on startup of the ECU. If I get chance, I'll have a look at it this weekend.

Andy

blackvr
06-02-2009, 10:56 AM
Andy. Your the man..... thanks again. Mike

AndyF
06-02-2009, 11:30 AM
If you put in the launch / ALS code then you're better off using the definition file in the downloads section as that has all the 'tuneable' parameters for the ALS etc...

Mine can generate around 1.3bar stationary running -5 degrees but the limit on the ECU is a figure closer to -20 degrees!!!!

And as always when I'm talking about ALS/launch control I have yet another excuse to post a link to my youtube video of me doing some testing of mine :lol:

http://www.youtube.com/watch?v=jNwCk...eature=channel

Andy

bes
07-10-2009, 04:28 AM
Mike,
If you have a look in the 'How to' section, I put up a few posts last night with the launch control and also launch control / ALS coding changes that you need to make to get them working.

I've also done the code to do other things like flash the CEL on knock detection using the std knock sensor or alternatively I can use the CEL as a shift light if you would prefer.

NLTSis also available but requries installation of a clutch switch to be activated.

And just recently I've also written the code to be able to allow the car to run on switchable fuel and ignition tables so that when the switch is activated, the car runs on it's 'race map' but when it's switched off it runs off it's normal maps etc.

The octane reset I haven't looked at but should be *relatively* easy to do by moving the memory location that the octane flag is stored within to the section of code that is reset on startup of the ECU. If I get chance, I'll have a look at it this weekend.

Andy

Hi Andy,

Alot of interesting add on functions Andy. How can I to add these functions in term of coding. Can your share the "how to" to enable these function especially the NTLS. Only if u have time Andy.

AllanL
07-10-2009, 09:41 AM
hi Bes, I'm not Andy...

but these might help. these are for the 1G DSM in the US. if you want to try your 'skills' at searching the hex and testing it out...:>

here's the NLTS code for the 1G...the locations are different, but I believe you can add it to the ALS launch code of Andy, where the rev limit section is...

"7279: BD CF50 JSR 4F50; Instead of stock rev limiter CPX, jump to 4F50
Then, at 4F50, you will want to use the following code:
4F50 96 C6 LCAA L00C6 ; load speed sensor into accum. A
4F52 81 75 CMPA $0075 ; test if car is moving
4F54 23 04 BLS ; if car is moving skip next 4
4F56 8C 03 A9 CPX $02EE ; car is stopped launch stutter (5000 rpm)
4F59 39 RTS ; return from subroutine
4F5A 96 06 LDAA L0006 ; load clutch bit into accum. A
4F5C 85 20 BITA $0020 ; accumulate with 0020h
4F5E 27 04 BEQ ; if clutch is in go to NLTS
4F60 8C 01 F4 CPX $01F4 ; clutch is up stock rev limiter
4F63 39 RTS ; return from subroutine
4F64 8C 02 AA CPX $02AA ; NLTS stutter RPM (5500 rpm)
4F67 39 RTS ; return from subroutine
Note that you can change the stutter, NLTS, and rev limiter speeds, using the formula found in the rev limiter code."

Here's the Octane reset, also for the 1G DSM:

"[Octane Map Set & Skip
The stock code contains a feature which has been nicknamed the "octane value." Basically, if the ECU sees a knock sum over 5, it reduces the maximum amount of timing advance you can have. It saves this in long term memory, and it can only go away of you have less than 3 knock sum, in which case it will taper away slowly.
If you use good gas and keep track of what it happening with the car, then there is no reason to keep this feature. It is mainly designed as a protection against something happening to the car (such as using 87 octane fuel, or something breaking) so that the ECU can reduce the timing level to help keep stuff from blowing up.
The octane corrections start at address 5B9D. Starting with this byte, use the following code:
"86 FF 97 52 7E DB F3"
The code works as follows:
5B9D: 86 FF LDAA $00FF; Load 255d (max) to A
5B9F: 97 52 STAA L0052; Store 255d (FFh) to octane (mem address 52)
5BA1: 7E DBF3 JMP DBF3; Jump to DBF3 (skip octane calculations, go to timing start)
Note that this renders the rest of the code between 5BA4 and 5BF3 useless; you can use it for other features if you wish.

UPDATE: Jeff B. on DSM-ECU uses the following simple method to update the octane (to 255, the max) on every start:
"Just change the byte at $D0B5 from $2C to $28. This bumps the
warmboot address back 4 bytes to $D0DE which resets the octane byte
to 255 during a coldboot. now it will reset octane on a cold or warm
boot."
If you don't want to mess around with the timing code, this is a better option."

Hope this helps...

bes
08-10-2009, 02:26 AM
Hi Allan,

Thanks for the help. Are you copy these coding above from hwnd.org, don't know why currently this web site cannot be accessed.
This is a challenging of "how to" instructions for me due to Im still lack of diassembly skill. :lol:
I aggreed with you this NTLS code should can be add to ALS code of Andy, I will try this. But do you know how to make a clutch switch for NTLS and then go to which ecu pin.

AllanL
08-10-2009, 06:29 AM
Bes, I have the complete instruction, but geekmapped doesn't allow .doc attachments so I couldn't attach.
I'm not sure if our Evos have clutch switches.
Try the Octane Reset first....

AndyF
08-10-2009, 08:53 AM
Please don't try using the 1G code on your ECU!!!!!! The memory addresses are completely different and you run the risk of blowing something up.

Also, the octane reset, using the method JeffB says will not reset the octane to a max value, it will actually reset it to 0 which means that the ECU will only work off the low octane fuel map. If you really want to skip the update routine (although I can't imagine why you would want to) then change the value at code location 1E36 from 22 to 20 and this will skip the octane update routine.

As for NLTS then you need a clutch switch to be installed and the pedal and then the signal wire can be run from this to a pin on the ECU (can't remember which pin it is off the top of my head) and you can then do the rev limit based on the clutch switch location rather than on vehicle speed. Again though, the code would be similar to the above but all of the memory locations that are used are different so please don't just try to copy the above code.

With regards to swtichable maps and CEL as a shift light then I'll put the code changes up in the disassembly section later on.

Andy

bes
08-10-2009, 01:48 PM
Andy,

Thank for your advice...dont worry Andy Im still newbie and to able me to alter the codes and addresses it will take long time.:lol: I'm aware about the 1G memory addresses are different with our evos, but in term of the mnemonics NTLS instructions it seem similar to your ALS launch control and only the addresses need to be changed to suit with our ecus right?.

any idea about this clucth switches
http://i580.photobucket.com/albums/ss241/amnbes/TMO-clutchwire.jpg


As for octane reset I read from yahoo dsm said that it benefit if we running with premium gas and the knocksum value stored in the long term memory will be reset at everytime we start the engine.

bes
15-10-2009, 09:50 AM
hi,

todd
15-10-2009, 09:06 PM
ground

AndyF
15-10-2009, 10:53 PM
Yes you can use pin71 but it requires quite a bit of code changing to get it to work because that is the pin that is normally used to tell the ECU if the car is in drive or neutral on automatic gearboxes and the code actually still references that input in various parts.

However it is do-able because I use that pin with a switch as my switchable map toggle.

Andy

bes
16-10-2009, 07:54 AM
hi Andy,

Are you using stack bin method for your switchable map? can we use some ecu circuit modifications or similar with this write up by Jeff Oberholtzer of
DSMChip.
http://www.dsmchips.com/dualimage.php
.

AndyF
16-10-2009, 11:10 AM
Hi again Bes,
No I'm not using a duplicate ROM image for the switchable maps. What I'm doing is just adding another set into the current ROM and then I have written the code to switch between the 2 of them using that switch that I've wired in.

And yes, the NLTS code is more or less identical to the one you have their (with different memory locations though) but there is a lot more changes that are required to avoid the ECU looking at a whole host of different things due to you now using pin71 for something other than what it was originally designed for.

Andy

bes
05-01-2010, 05:18 PM
thk you

merlin
12-01-2010, 05:46 AM
Andy,

back on post #15, you mentioned a data change from 22 to 20 at address 1e36.
Just to clarify, does that reset the octane count to 255 on every start-up, or something else? This is for evo3.

Dave

AndyF
12-01-2010, 07:52 AM
Hi Dave,
From what I can remember, it skips the entire octane update routine and so it will remain at 255 permanently and it won't ever use the low octane maps. It is a very crude way of removing the knock control altogether.

The easiest way of resetting the octane value would probably be to just move the memory location into one of those that is reset on every start of the ECU. I'll have a look over the next week or so at getting the code sorted out for it

Andy

merlin
13-01-2010, 10:34 AM
Thanks Andy, there are some racres out here who would like that tasty treat.