NefMoto

ECU Files => ECU Definition Files => Topic started by: vwnut8392 on November 16, 2012, 02:09:01 AM



Title: Audi C4 S4/S6 and RS2 4A0907551X and 8D0907551X
Post by: vwnut8392 on November 16, 2012, 02:09:01 AM
These are some different tuner pro definitons i started for the C4 URS4/URS6 and the RS2 binaries i found floating online to create the XDF files. i used a 95 URS6 avant and my AAN swapped 4000 quattro and my moates ostrich 2 to attempt to verify some of the maps. in no way are these in any way accurate as to which map is which. if you know which map is which or would like to add to them please feel free, after all sites like these are what open source tuning is all about. some of these have both the timing/fuel XDF's along with the boost file and its XDF and some may not. the one file that is labeled with MTM is actually the MTM stage 1+ plus file set. please dont hold it against me that these are incomplete or incorrect, im jsut trying to learn and help the community out in any way i can.

the XDF's below are older one's, there's better revisions on the second page of this thread. the files here do contain the BIN files to go along with the XDF files.


Title: Re: Audi C4 S4/S6 and RS2 4A0907551X and 8D0907551X
Post by: prj on November 16, 2012, 04:15:23 AM
Looked at RS2 551B, as that's the only one worth working with.

Timing offset/factor is missing.
"Emergency ignition" - this is overrun.
Fuel conversion to meaningful values also missing.

Cold start map you have found one, but there are two, and they are used together...
These are actually "cold start enrichment"... or how much to enrich when the engine has not warmed up yet.
They are not used when cranking the engine - that's a different story.

Use my tool to dump the binary to XDF, and after that move the maps around:
http://www.ecuconnections.com/forum/viewtopic.php?f=25&t=9700 (http://www.ecuconnections.com/forum/viewtopic.php?f=25&t=9700)

For boost chip - you found the lookup table, but you don't have axes or meaning for any of the maps...
The axes are always the same depending on the amount of units. There is a map lookup routine... it is very different from the main Motronic fuel/ign processor however.
There is actually a file floating around that has the boost chip defined quite well. Or you can disassemble the rats nest.


Title: Re: Audi C4 S4/S6 and RS2 4A0907551X and 8D0907551X
Post by: bbernd on November 16, 2012, 06:29:55 AM
"You do not have the required permissions to view the files attached to this post."

 :(


Title: Re: Audi C4 S4/S6 and RS2 4A0907551X and 8D0907551X
Post by: vwnut8392 on November 16, 2012, 10:54:25 AM
PRJ, i tried to use your little program and it says it cannot find any of my bianries i try to input into it. strange. followed the command line to the T just like in your post and no lo

I input java -jar mapfinder.jar bin.bin bin.xdf and i get bin.bin found and its in the same directory.


Title: Re: Audi C4 S4/S6 and RS2 4A0907551X and 8D0907551X
Post by: prj on November 16, 2012, 10:59:23 AM
Yea, because you are running it wrong.
It says bin.bin > bin.xdf, and not space.
And the second parameter IF you want to use it is actually the axis descriptor.

I still use the program quite often, never had issues.


Title: Re: Audi C4 S4/S6 and RS2 4A0907551X and 8D0907551X
Post by: bbernd on November 16, 2012, 11:04:27 AM
@prj  do you have another source for the program please  ???


Title: Re: Audi C4 S4/S6 and RS2 4A0907551X and 8D0907551X
Post by: prj on November 16, 2012, 12:33:27 PM
Attached.


Title: Re: Audi C4 S4/S6 and RS2 4A0907551X and 8D0907551X
Post by: bbernd on November 16, 2012, 01:09:32 PM
Attached.

thx a lot  ;)

Oh dear - i got a lot of java errors and the XDF is empty...  :(


Title: Re: Audi C4 S4/S6 and RS2 4A0907551X and 8D0907551X
Post by: vwnut8392 on November 17, 2012, 12:43:07 AM
Yea, because you are running it wrong.
It says bin.bin > bin.xdf, and not space.
And the second parameter IF you want to use it is actually the axis descriptor.

I still use the program quite often, never had issues.
Thanks for the program, thats an extremely hand tool. i've been plugging all different kinds of motronic BIN files into it just to see what it will output. any other input you would be willing to share would be great. thanks again.


Title: Re: Audi C4 S4/S6 and RS2 4A0907551X and 8D0907551X
Post by: prj on November 17, 2012, 01:33:27 AM
thx a lot  ;)

Oh dear - i got a lot of java errors and the XDF is empty...  :(

Post the file you used it on.
Also:

Code:
gm_mba:Downloads gm$ java -jar /Users/gm/work/projects/motronic-mapfinder/mapfinder.jar RS2_fuel_ignition.bin

Motronic map finder by prj (http://prj-tuning.com) (c) 2012
Master table at: 0x8800
Found 122 maps.
<?xml version="1.0" encoding="ISO-8859-15" standalone="yes"?>
<XDFFORMAT version="1.30">
    <XDFTABLE uniqueid="0x8BE8">
        <CATEGORYMEM index="0" category="2"/>
        <XDFAXIS id="x">
            <indexcount>1</indexcount>
...


Title: Re: Audi C4 S4/S6 and RS2 4A0907551X and 8D0907551X
Post by: bbernd on November 18, 2012, 08:12:19 AM
Does not work with boost file RS2 B , no probs with ign file

C:\>h:

H:\>cd prj mapfinder

H:\prj mapfinder>java -jar adu_boost_551b.bin>adu551boost.xdf
Error: Invalid or corrupt jarfile adu_boost_551b.bin

H:\prj mapfinder>java -jar mapfinder.jar adu_boost_551b.bin>adu551boost.xdf

Motronic map finder by prj (http://prj-tuning.com) (c) 2012
Master table at: 0x2054
Found 270 maps.
Exception in thread "main" java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.simontuffs.onejar.Boot.run(Boot.java:340)
        at com.simontuffs.onejar.Boot.main(Boot.java:166)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 32907
        at com.prj.tuning.mapfinder.a.c.getTables(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.sun.xml.internal.bind.v2.runtime.reflect.Accessor$GetterSetterRef
lection.get(Unknown Source)
        at com.sun.xml.internal.bind.v2.runtime.property.ArrayERProperty.seriali
zeBody(Unknown Source)
        at com.sun.xml.internal.bind.v2.runtime.ClassBeanInfoImpl.serializeBody(
Unknown Source)
        at com.sun.xml.internal.bind.v2.runtime.XMLSerializer.childAsSoleContent
(Unknown Source)
        at com.sun.xml.internal.bind.v2.runtime.ClassBeanInfoImpl.serializeRoot(
Unknown Source)
        at com.sun.xml.internal.bind.v2.runtime.XMLSerializer.childAsRoot(Unknow
n Source)
        at com.sun.xml.internal.bind.v2.runtime.MarshallerImpl.write(Unknown Sou
rce)
        at com.sun.xml.internal.bind.v2.runtime.MarshallerImpl.marshal(Unknown S
ource)
        at javax.xml.bind.helpers.AbstractMarshallerImpl.marshal(Unknown Source)

        at com.prj.tuning.mapfinder.MapFinder.main(Unknown Source)
        ... 6 more

H:\prj mapfinder>


H:\prj mapfinder>java -jar mapfinder.jar S2RSZD.bin>S2RSZD.xdf

Motronic map finder by prj (http://prj-tuning.com) (c) 2012
Master table at: 0x8800
Found 122 maps.

H:\prj mapfinder>


Title: Re: Audi C4 S4/S6 and RS2 4A0907551X and 8D0907551X
Post by: prj on November 19, 2012, 09:59:27 AM
This will obviously not work on the boost/knock chip as the boost/knock chip is not even Motronic.
And not even written by the same department...

Have fun disassembling it. It's written like a mess.


Title: Re: Audi C4 S4/S6 and RS2 4A0907551X and 8D0907551X
Post by: bbernd on November 20, 2012, 01:17:27 AM
This will obviously not work on the boost/knock chip as the boost/knock chip is not even Motronic.
And not even written by the same department...

Have fun disassembling it. It's written like a mess.

thx... ;)


Title: Re: Audi C4 S4/S6 and RS2 4A0907551X and 8D0907551X
Post by: vwnut8392 on November 25, 2012, 12:52:14 PM
hey PRJ, just out of curiousity why do you tell everyone to disassemble everything? cant you just help us out like im trying to do with the boost chip? i think its sort of selfish how you tell everyone to disassemble code on their own because maybe they dont understand how to do it, want to take the time to learn how to do it etc. maybe a guy just wants to experiment with his car. obviously you know far more about this form of motronic than anyone so why do you help us out and post up some actual XDF files for the chips. you jump on allmy threads about this motronic and act like a god but wont really give anything out about it. yeah the map finder works but you have to know a bit more than the common man to use it. really give us something to work with here or please stop posting in my thread's because its really annoying how you treat people. id prefer some real help from knowledgeable people than someone who repeatedly tells everone to pretty much go figure it out for yourself. if i wanted to do that i wouldnt be posting here trying to find answers and get help now would i or any of the other guys here.


Title: Re: Audi C4 S4/S6 and RS2 4A0907551X and 8D0907551X
Post by: phila_dot on November 25, 2012, 03:06:40 PM
I usually won't get involved with posts like this, but this got under my skin.

What makes you feel so entitled?

Why should anyone be obligated to volunteer hours of their time just because someone doesn't want to spend time of their own?

Do you think anyone here was born with this knowledge?

No, it takes alot of time and energy to learn.

Ask a specific question and I guarantee that if someone has the answer, then you will get it.

This do it for me because I don't want to bother to try myself is bullshit.


Title: Re: Audi C4 S4/S6 and RS2 4A0907551X and 8D0907551X
Post by: prj on November 25, 2012, 04:58:26 PM
@phila_dot
This is not the first time this guy rages at me for not spoon-feeding him the contents of this entire ECU.
You said everything there is to say, I have little to add...
I already told him a long time ago that if he had any specific questions I'd help out, but he never had any.

@vwnut8392
You can call me selfish after you have contributed more than me to this forum.
XDF files - go on, offer me something in return for three years of my work.
Oh you want it all for free? Not going to happen.


Title: Re: Audi C4 S4/S6 and RS2 4A0907551X and 8D0907551X
Post by: LHN86 on November 27, 2012, 03:15:44 PM
Nice work vwnut. I can find many of the maps. But is there a need for checksum correction for this motronic series?


Title: Re: Audi C4 S4/S6 and RS2 4A0907551X and 8D0907551X
Post by: prj on November 27, 2012, 06:31:36 PM
Nice work vwnut. I can find many of the maps. But is there a need for checksum correction for this motronic series?

Yes, in both chips. The car will still run, but you will get fault codes.


Title: Re: Audi C4 S4/S6 and RS2 4A0907551X and 8D0907551X
Post by: LHN86 on November 28, 2012, 02:32:44 PM
I matched the orginal with a modified bin later on, and found the correction area. Thanks prj.


Title: Re: Audi C4 S4/S6 and RS2 4A0907551X and 8D0907551X
Post by: vwnut8392 on November 29, 2012, 03:07:23 AM
@phila_dot
This is not the first time this guy rages at me for not spoon-feeding him the contents of this entire ECU.
You said everything there is to say, I have little to add...
I already told him a long time ago that if he had any specific questions I'd help out, but he never had any.

@vwnut8392
You can call me selfish after you have contributed more than me to this forum.
XDF files - go on, offer me something in return for three years of my work.
Oh you want it all for free? Not going to happen.

i contribute when i can, i do this for a hobby and not my living. i have a normal job and a family to take care of so my last concern is reverse engineering old motronic ECU's and punching out as much as humanly possible. i like doing this and i wish i could devote more time to it honestly but i cant. im putting an AAN into my audi 4000 in my spare time and i would love to be able to do more with the ECU, i really cant afford to just run out and but VEMS having a mortgage, 2 other mouths to feed, 2 car payments, etc. hell it took me 2 years to find an AAN engine in my price range. so im guessing you tune for a living and dont want people stealing your business, well i have a feeling im on the other side of the planet from you and i dont tune for living, i work in a machine shop for 12 hours a day so im no threat to your business.


Title: Re: Audi C4 S4/S6 and RS2 4A0907551X and 8D0907551X
Post by: prj on November 29, 2012, 04:25:15 AM
Bla-bla-bla.

Still not a single specific question. Just "give me all the maps", "give me this", "give me that".

You sound like a broken record.


Title: Re: Audi C4 S4/S6 and RS2 4A0907551X and 8D0907551X
Post by: vwnut8392 on December 02, 2012, 11:35:51 AM
wxactly my point, please stay away from my threads on this forum and any other. i dont need your negativity nor does anyone else. unlike yourself im here to give to the community when i can.

Bla-bla-bla.

Still not a single specific question. Just "give me all the maps", "give me this", "give me that".

You sound like a broken record.


Title: Re: Audi C4 S4/S6 and RS2 4A0907551X and 8D0907551X
Post by: matchew on December 02, 2012, 01:23:19 PM
wxactly my point, please stay away from my threads on this forum and any other. i dont need your negativity nor does anyone else. unlike yourself im here to give to the community when i can.

Have a look back through your posts and see how much you have given compared to what you have taken. It really doesn't balance. You posted an APR file vs posted a whole bunch of questions

Your not really in a position to make demands or tell other users what to do on this forum, especial y PRJ.

There is a couple very knowledgeable people on this forum that have worked hard for their knowledge, they didn't gain it by making demands or asking questions that are easily answered by doing research, or by creating enemies.

Go on shoot me too - All I did was post fact.


Title: Re: Audi C4 S4/S6 and RS2 4A0907551X and 8D0907551X
Post by: vwnut8392 on December 03, 2012, 09:43:09 AM
Have a look back through your posts and see how much you have given compared to what you have taken. It really doesn't balance. You posted an APR file vs posted a whole bunch of questions

Your not really in a position to make demands or tell other users what to do on this forum, especial y PRJ.

There is a couple very knowledgeable people on this forum that have worked hard for their knowledge, they didn't gain it by making demands or asking questions that are easily answered by doing research, or by creating enemies.

Go on shoot me too - All I did was post fact.

like i said, i contribute when i can. like this thread. i dont demand anything, i ask and if someone else answers yay me, if not oh well and its time to go hunting for more answers.


Title: Re: Audi C4 S4/S6 and RS2 4A0907551X and 8D0907551X
Post by: vwnut8392 on January 02, 2013, 07:37:02 PM
i redid the 551B RS2 timing/fuel definition using PRJ's definition generator and added some new stuff to the boost chip definition. im not sure if its a 100% correct or not so use these with caution. if you'd like please make any revisions and repost or message me with the revised version and i'll switch it in the thread. enjoy everyone, lord knows motronic 2.3.2 is bosch's best kept secret and all the tuners that know anything about it act like god's and keep everything to themselves. so i figure its time to let the 23 year old ECU out for the common man to play with.


Title: Re: Audi C4 S4/S6 and RS2 4A0907551X and 8D0907551X
Post by: Acki on January 11, 2013, 09:47:01 AM
Why you don't convert the axles? (why the are empty???)


Title: Re: Audi C4 S4/S6 and RS2 4A0907551X and 8D0907551X
Post by: vwnut8392 on January 11, 2013, 01:08:54 PM
i havnt figured them out yet, no one will help me with this defintion.


Title: Re: Audi C4 S4/S6 and RS2 4A0907551X and 8D0907551X
Post by: Acki on January 16, 2013, 04:52:02 AM
I won't believe you. I read 3days all forums where you are also present and I'm able to fill them out.


Title: Re: Audi C4 S4/S6 and RS2 4A0907551X and 8D0907551X
Post by: vwnut8392 on January 17, 2013, 06:29:32 PM
I won't believe you. I read 3days all forums where you are also present and I'm able to fill them out.

well i cant figure them out. if everyone else is so capable of doing an XDF for this ECU than why am i wasting my time posting all this stuff? i'll just delete this thread in a few days along with all the other motronic 2.3.2 threads and forget about it. im just going to to install lugtronic on my car and call it a day.


Title: Re: Audi C4 S4/S6 and RS2 4A0907551X and 8D0907551X
Post by: ddillenger on January 17, 2013, 06:34:40 PM
Acki-if you used this xdf and improved upon it, why not update it with your findings?



Title: Re: Audi C4 S4/S6 and RS2 4A0907551X and 8D0907551X
Post by: vwnut8392 on January 17, 2013, 06:40:52 PM
Acki-if you used this xdf and improved upon it, why not update it with your findings?



thank you ddillenger, atleast someone thinks like i do instead of just pointing out the faults and telling me to do it myself. has everyone forgot about team work???


Title: Re: Audi C4 S4/S6 and RS2 4A0907551X and 8D0907551X
Post by: Acki on February 07, 2013, 12:30:14 PM
Because to create a XDF with all calcs isn't so easy - at the moment - for me.
In the moment I use a WinOLS Demo and there it's much easier to change axles and to save the values etc.
I would have to do it manual for all tables. This is not the problem, but I won't work on/with a 5cyl.

Do you have maybe some links where I find a easier way "into" the XDF format?
From PRJ the mapfinder works also very well but it need a little bit time to create the labelfile.
Till this I work on OLS and then I will use the findings.

(it's also a lack of time...)


Title: Re: Audi C4 S4/S6 and RS2 4A0907551X and 8D0907551X
Post by: vwnut8392 on February 13, 2013, 12:09:09 PM
the map finder from PRJ is about as good as it gets for us M2.3.2 guys for now. i have actually been adding all scales to the maps i have fully fleshed out now manually with the help of winOLS. i will post them once i have all the conversions done and it all works right. for me this has to be the most confusing version of motronic i've ever worked with, its like bosch just took an N/A ECU for a 4 cylinder and slapped a boost control board in there and just added code for a 5th cylinder, like just slapped it together and said "here ya go audi, have fun with this one". but looking at it more and more this version of motronic seems capable of running anything from a 4 cylinder to a V8 with code modifications. i've been comparing it to the audi 3.6 V8 ECU on a software and hardware level as well too.


Title: Re: Audi C4 S4/S6 and RS2 4A0907551X and 8D0907551X
Post by: LHN86 on February 17, 2013, 09:04:08 AM
Hi!

Nice work. Have you found any rev-limiter in the maps?


Title: Re: Audi C4 S4/S6 and RS2 4A0907551X and 8D0907551X
Post by: IamwhoIam on February 17, 2013, 02:59:44 PM
the map finder from PRJ is about as good as it gets for us M2.3.2 guys for now. i have actually been adding all scales to the maps i have fully fleshed out now manually with the help of winOLS. i will post them once i have all the conversions done and it all works right. for me this has to be the most confusing version of motronic i've ever worked with, its like bosch just took an N/A ECU for a 4 cylinder and slapped a boost control board in there and just added code for a 5th cylinder, like just slapped it together and said "here ya go audi, have fun with this one". but looking at it more and more this version of motronic seems capable of running anything from a 4 cylinder to a V8 with code modifications. i've been comparing it to the audi 3.6 V8 ECU on a software and hardware level as well too.

Not sure how many injector drivers are available on the PCB but I know that the number of cylinders is user-configurable directly in the file.


Title: Re: Audi C4 S4/S6 and RS2 4A0907551X and 8D0907551X
Post by: prj on February 17, 2013, 03:48:13 PM
Not sure how many injector drivers are available on the PCB but I know that the number of cylinders is user-configurable directly in the file.

It's not that simple. You can change that constant if you want, it's only used for two things.
The answer lies in how spark is output in this ECU, which you seem to have no idea about ;)


Title: Re: Audi C4 S4/S6 and RS2 4A0907551X and 8D0907551X
Post by: IamwhoIam on February 18, 2013, 11:59:19 AM
It's not that simple. You can change that constant if you want, it's only used for two things.
The answer lies in how spark is output in this ECU, which you seem to have no idea about ;)
There are many things I have no idea about, but spark output was not being questioned here. Thanks anyway.


Title: Re: Audi C4 S4/S6 and RS2 4A0907551X and 8D0907551X
Post by: prj on February 19, 2013, 03:28:04 AM
There are many things I have no idea about, but spark output was not being questioned here. Thanks anyway.
Well, clearly it was hinted at, because you guys think that changing a single constant which tells the ECU degrees between cylinders somehow will change everything...

As I said, it's not that simple, the ECU is full of code like in the image I attached.
It's all hardcoded. No, it can not run an arbitrary number of cylinders, this is compile time. Especially with the I5 ECU, which has a ton of special code written for it.
Note the 5 paths...


Title: Re: Audi C4 S4/S6 and RS2 4A0907551X and 8D0907551X
Post by: Acki on February 19, 2013, 11:24:44 AM
Anybody tried to take a look with Keil C51 on this stuff?
The assembler is pretty useless because you find no step in and knowledges from other languages (C etc) are not helpful because assembler means every operation has to run via some register and this you must find/know :(

However, the V8 motronics are not able to run I5 because only 2 spark outputs etc.
But with the I5 you can run everything till a V10 (wasted spark configuration) when you know how too modify the code.



Title: Re: Audi C4 S4/S6 and RS2 4A0907551X and 8D0907551X
Post by: prj on February 19, 2013, 11:38:24 AM
But with the I5 you can run everything till a V10 (wasted spark configuration) when you know how too modify the code.
No you can't, you might as well write the ECU from scratch.
The entire ECU is built to run 5 cyl and 5 cyl only. There is a lot more than one chip of the software.

There are 4 main processors on this board, two of which are read-only and one of them has code specific to I5.
Really, just trust me on this, I know a thing or two about all the components in this ECU.

Forget Keil, use IDA Pro to disassemble and ASEM51 to assemble.
Acki, e-mail me, I will help you with logging your Audi V8.


Title: Re: Audi C4 S4/S6 and RS2 4A0907551X and 8D0907551X
Post by: Acki on March 12, 2013, 05:58:59 AM
Ok thanks. But V10 is 2xI5, add extra drivers for injectors and coil (in parallel) and it's running.
Megasquirt for example makes this viseversa. V10 wasted spark setup is used by the I5 COP guys ;)

I worked yesterday a little bit on the I5 XDF, it contains the same "bad" information like some OLS file I found months ago.
Most is not correct...


Title: Re: Audi C4 S4/S6 and RS2 4A0907551X and 8D0907551X
Post by: vwnut8392 on March 15, 2013, 12:00:20 PM
Well i worked with the URS4/URS6 4A0 907 551AA chip set a little bit and came up with these XDF's. I know their not perfect but their a step in the right direction. the category labeled "Differences by comparison" are differences i found between comparing the 551C RS2 binary and an MTM stage 1+ file. those maps are different in some way in comparison to the original 551AA file. i've been trying to figure out the axis's for the boost chip with little luck. also i think i have the XDF for the boost chip setup so it will correct the checksum. Im not sure if it actually works as i havn't tested it. Please use these with caution as they aren't perfect and revisions/input to them is much appreciated.