Pages: 1 2 3 [4] 5 6 ... 35
Author Topic: 2step & Antilag Auto Add Script. for ME7.X  (Read 412347 times)
ddillenger
Hero Member
*****

Karma: +641/-21
Offline Offline

Posts: 5640


« Reply #45 on: April 01, 2013, 03:32:11 PM »

I have a 512kb 018Q. I can test it for you.
Logged

Please, ask all questions on the forums! Doing so will ensure the next person with the same issue gets the opportunity to learn from your experience!

Email/Google chat:
DDillenger84(at)gmail(dot)com

Email>PM
maZer.GTi
Full Member
***

Karma: +68/-6
Offline Offline

Posts: 246


« Reply #46 on: April 01, 2013, 03:53:35 PM »

I have a 512kb 018Q. I can test it for you.

Im not sure you have a mod file with setzis code ready.
If not try the file from my attachment Smiley
Logged
pedrosousa
Full Member
***

Karma: +3/-0
Offline Offline

Posts: 75


« Reply #47 on: April 01, 2013, 04:11:55 PM »

Im not sure you have a mod file with setzis code ready.
If not try the file from my attachment Smiley

My big concern are the coil packs...

« Last Edit: April 01, 2013, 04:14:09 PM by pedrosousa » Logged
sn00k
Sr. Member
****

Karma: +59/-2
Offline Offline

Posts: 277


« Reply #48 on: April 01, 2013, 04:15:15 PM »

Im sure its possible, but for this we need help from setzi or someone with many experience with this ecu.
There are a lot of great ideas to do this code better ( like engine temperature threshold ).

quite easy to add conditions to i.e use the BTS function for a set AFR while the launch is active.

care to explain your thought behind engine temp threshold and how you would want it implemented?

im not an ASM-guru, but ive been making quite a few own functions, patches and mods to the code for the last couple of months, so i feel confident in beeing able to modify/improve this.

i would start with retarding ignition quite a bit, and enriching the mixture.. keeping throttle angle at 100% and the rpms steady by cutting ignition and/or fuel..
Logged
sn00k
Sr. Member
****

Karma: +59/-2
Offline Offline

Posts: 277


« Reply #49 on: April 01, 2013, 04:17:35 PM »

My big concern are the coil packs...



you should be more worried about the coil-driver inside the ecu frying.. than the actual coils themself..
Logged
pedrosousa
Full Member
***

Karma: +3/-0
Offline Offline

Posts: 75


« Reply #50 on: April 01, 2013, 04:24:23 PM »

you should be more worried about the coil-driver inside the ecu frying.. than the actual coils themself..

If that happens then it's time for ECU upgrade to 1mb version
Logged
sn00k
Sr. Member
****

Karma: +59/-2
Offline Offline

Posts: 277


« Reply #51 on: April 01, 2013, 04:35:43 PM »

good thinking.. need some wires and sensors too tho.. and not all 1MB ecus are compatible with this "hack" either.. all/most of the 1mb wideband ecus seem to work tho.
Logged
fever
Newbie
*

Karma: +2/-0
Offline Offline

Posts: 23


« Reply #52 on: April 02, 2013, 12:18:42 AM »

quite easy to add conditions to i.e use the BTS function for a set AFR while the launch is active.

care to explain your thought behind engine temp threshold and how you would want it implemented?

im not an ASM-guru, but ive been making quite a few own functions, patches and mods to the code for the last couple of months, so i feel confident in beeing able to modify/improve this.

i would start with retarding ignition quite a bit, and enriching the mixture.. keeping throttle angle at 100% and the rpms steady by cutting ignition and/or fuel..


Sorry, what are you using to compile ASM code ? I've tried uVision4 but gave up  Smiley
Logged
masterj
Hero Member
*****

Karma: +62/-5
Offline Offline

Posts: 1049



WWW
« Reply #53 on: April 02, 2013, 03:15:58 AM »

Sorry, what are you using to compile ASM code ? I've tried uVision4 but gave up  Smiley

Why would you need to compile it? Smiley You can easily check hex code behind asm after correction in ida Wink
Logged

fever
Newbie
*

Karma: +2/-0
Offline Offline

Posts: 23


« Reply #54 on: April 02, 2013, 04:32:32 AM »

Why would you need to compile it? Smiley You can easily check hex code behind asm after correction in ida Wink

I'm doing it right now  Grin, think should be easier way  Smiley
Logged
phila_dot
Hero Member
*****

Karma: +173/-11
Offline Offline

Posts: 1709


« Reply #55 on: April 02, 2013, 06:34:49 AM »

uVision

Reeds C166 allows illegal syntax
« Last Edit: April 02, 2013, 06:36:48 AM by phila_dot » Logged
phila_dot
Hero Member
*****

Karma: +173/-11
Offline Offline

Posts: 1709


« Reply #56 on: April 02, 2013, 06:35:31 AM »

Why would you need to compile it? Smiley You can easily check hex code behind asm after correction in ida Wink

How would you write a function this way?
Logged
sn00k
Sr. Member
****

Karma: +59/-2
Offline Offline

Posts: 277


« Reply #57 on: April 02, 2013, 10:35:25 AM »

well the C166/167 ISM is not so complicated imo.. if you know the basic structure of ASM, you could manage to write functions in pure hex.. the asm - hex codes etc is all available in the instruction set manual.

i use a small c16x dissassembler/one-line assembler when i tinker.. its perfect for this.
a while back i tried the uVision/keil one as reccomended by many here, but its WAY too advanced a software for this simple code-patching imo.
« Last Edit: April 02, 2013, 10:38:26 AM by sn00k » Logged
CorradoGuy
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 2


« Reply #58 on: April 05, 2013, 08:56:18 PM »

Thanks for the great work, this makes this mod very easy.

A buddy was having problems running this script and couldn't figure it out so he asked me to look at it. I code but I don't code in PHP so I installed PHP 5.4 which is the latest release and when I ran this using the required command line 'php launch.php ecu.bin dump.bin' I got an error message 'Fatal Error: Call-time pass-by-reference has been removed in <PATH>\launch.php on line 544'. When I look at line 544 I can see it is the line that writes the code changes to the file and this is where it is crashing. Line 544 calls the function using a pointer instead of the actual variable which is no longer supported in PHP 5.4.

If you use an older release of PHP other than 5.4 this will work but the path for PHP must be in your system path or you will need to run the above command from the root of the PHP folder.

If you use PHP 5.4 then take the reference to the pointer out and it will work properly. If you want to remove the pointer simply open 'launch.php' and go to the third to last line and change it from...

writeResult($targetFilename, &$bin);

to...

writeResult($targetFilename, $bin);

and it will appear to make the changes properly. The new bin has not had the check sums tested nor flashed to the ECM but it should work. If nothing else use an older version of PHP than 5.4 and it will work.

Thanks again for the great work.
« Last Edit: April 05, 2013, 08:58:06 PM by CorradoGuy » Logged
pedrosousa
Full Member
***

Karma: +3/-0
Offline Offline

Posts: 75


« Reply #59 on: April 06, 2013, 09:25:31 AM »

When I hit the clutch the engines shuts down and the EPC and MIL light start to blink.
What's the problem???
« Last Edit: April 06, 2013, 10:29:25 AM by pedrosousa » Logged
Pages: 1 2 3 [4] 5 6 ... 35
  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Page created in 0.039 seconds with 17 queries. (Pretty URLs adds 0s, 0q)