Opel corsa rev limit and xdf help, basic xdf added

European GM ECUs and PCMs
delboy
Posts: 16
Joined: Mon Jan 11, 2010 7:57 am
cars: 3 Vauxhall Corsas, 1 road 2 track

Opel corsa rev limit and xdf help, basic xdf added

Post by delboy »

Hi all, on my little project Ive managed to find and define all the fuel and spark maps Ive needed so far, I dont use ida just hex editor and existing xdfs with thier bins by recognising the patterns mainly in 2d with winols demo. I am completely stumped on the rev limit though, people have told me on other forums the addresses 01221 and 01223 are it but Ive played with the values and still limits. Ive also learned that the limit is a 16bit value and the rpm = a constant dived by the 16bit value.
Anybody any hints such as the constant? Ive attached the file, its a holden barina/opel corsa 1.2 8v spi x12sz, it has a coil pack ignition and the limit would be around 6250, it is used on track and ethier standard carb or spi must be used in case anyone wonders why I bother with it lol. Thanks in advance.
Attachments
x12sz corsa bwld.bin
(32 KiB) Downloaded 698 times
Last edited by delboy on Fri Jun 18, 2010 10:50 am, edited 1 time in total.
User avatar
VL400
Posts: 4991
Joined: Sun Mar 01, 2009 2:54 pm
cars: VL Calais and Toyota Landcruiser. Plus some toys :)
Location: Perth, WA
Contact:

Re: Opel corsa rev limit help

Post by VL400 »

Welcome along, have attached a disassembly of your bin. It might make it easier to find the rev limit code.

Do you know any of the ALDL stream? Finding the RPM RAM address would be a good starting point.
Attachments
x12sz corsa bwld.zip
(158.35 KiB) Downloaded 698 times
ikarus_nu
Posts: 3
Joined: Thu Jun 10, 2010 10:53 pm
cars: Opel Astra G 1.6 8V Z16SE Delco HSFI 2.1 DJTY

Re: Opel corsa rev limit help

Post by ikarus_nu »

the limit is composed by two values, at least in my car Opel Astra mk4, one value is the maximum rev limit, when the engine arrives this rpm, ECU cuts fuel/spark until rpms fall below a lower rev limit.
delboy
Posts: 16
Joined: Mon Jan 11, 2010 7:57 am
cars: 3 Vauxhall Corsas, 1 road 2 track

Re: Opel corsa rev limit help

Post by delboy »

Thanks everyone, I'm still reading around the forum, I'm a noob to this disassembly, also aldl :oops: I've just used my diagnostics tool without ever looking at how it works and found the maps by hours of staring at hex and xdf text :lol:
Could anyone point me in the direction of some reading to start me off? I've googled and looked briefly at ida tutorials is this a good place to start? It looks scary now.
User avatar
VL400
Posts: 4991
Joined: Sun Mar 01, 2009 2:54 pm
cars: VL Calais and Toyota Landcruiser. Plus some toys :)
Location: Perth, WA
Contact:

Re: Opel corsa rev limit help

Post by VL400 »

If you can post the location of the fuel and spark maps it will make it easier - if you have started an XDF then post that up. From the location you can find the code that does the lookup and from that the RPM and MAP (or MAF?) RAM locations. There is no real tutorial on how to work through the code, its all just hard work and using the small snippets of info thats available for the particular code base or from other disassemblies - an ALDL stream definition is probably the single most useful bit of info to start with as it will define many major RAM locations.
User avatar
charlay86
Posts: 584
Joined: Thu Sep 17, 2009 2:00 pm
cars: VT S1 SS (L67)
Location: Perth, WA

Re: Opel corsa rev limit help

Post by charlay86 »

VL400, how does the aldl stream relate to the ram addresses typically?
User avatar
antus
Site Admin
Posts: 8250
Joined: Sat Feb 28, 2009 8:34 pm
cars: TX Gemini 2L Twincam
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B
Contact:

Re: Opel corsa rev limit help

Post by antus »

you trace the serial rx interrupt, to the aldl hander, to the mode 1 routine, and see where it gathers the data from. since you know what the data is in the aldl stream, there you have your ram locations. Then you look at the code that uses the data in ram, and try to figure it out.
Have you read the FAQ? For lots of information and links to significant threads see here: http://pcmhacking.net/forums/viewtopic.php?f=7&t=1396
delboy
Posts: 16
Joined: Mon Jan 11, 2010 7:57 am
cars: 3 Vauxhall Corsas, 1 road 2 track

Re: Opel corsa rev limit help

Post by delboy »

Wow, more help here than anywhere else, hopefully one day I can contribute something back! I'm not familiar with tunerpro but have got it, now I read theres trace function with it? I'll look at making an xdf and using tunerpro tonight and invest in the moates emulator, I'll get my work laptop on shortly and post all my findings and map locations as well. Thanks :thumbup:
ivanovbg
Posts: 39
Joined: Sat Jun 12, 2010 2:28 am
cars: Opel Astra F C16SE
Location: Bulgaria
Contact:

Re: Opel corsa rev limit help

Post by ivanovbg »

const.calc.break-3932490
V-enginе speed -7000
C/V = rev limit
3932490/7000=561,.... in hex 231
001221 -02
001222 -31
001223 -02
001224 -31


Tell how I can help
My English is bad :oops: translate with google
If knowledge does not help, try a power (hammer)
ivanovbg
Posts: 39
Joined: Sat Jun 12, 2010 2:28 am
cars: Opel Astra F C16SE
Location: Bulgaria
Contact:

Re: Opel corsa rev limit help

Post by ivanovbg »

map locations-
00D1-injection at part throttle 16X11
0AF3-spark advance at close throttle 7X9
do you and other :thumbup:
my skype is -ivanovbg1
then send the result here :punk:
If knowledge does not help, try a power (hammer)
Post Reply