RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Sat Feb 21, 2026 5:28 pm

All times are UTC




Post new topic Reply to topic  [ 34 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: Knock Sum Per Cylinder
PostPosted: Thu Jun 07, 2012 8:31 pm 
Offline
Moderator

Joined: Thu May 20, 2010 8:01 am
Posts: 3117
Location: Johannesburg, South Africa
I posted this on the AZ1G202G thread, but thought I'd give it wider exposure, and potentially help others track down this parameter in their roms.

For all the wrong reasons, after some testing, I found the Knock Sum Per Cylinder in my Rom - in the later roms, this is not a single value, but one per cylinder (so 4 seperate parameters for the H4's). I did some fairly extensive logging, and I believe this is also the correct sequence, as cylinder's 4 and 2 seemed to pick up the most knock sum.

To find it is fairly straighforward - go to the location of the Fine Correction Load Column. Follow the Xref back from the first value. Above it (at least in the H4's) you will see a sequence of 4 Ram parameter addresses with an Xref to the first parameter - these are the knock sum parameters:

Code:
ROM:0005A50C off_5A50C:      .data.l Ram_Knock_Sum_Per_Cylinder_1
ROM:0005A50C                                         ; DATA XREF: sub_3C0B8+120o
ROM:0005A50C                                         ; sub_3C0B8+152o ...
ROM:0005A510                 .data.l Ram_Knock_Sum_Per_Cylinder_3
ROM:0005A514                 .data.l Ram_Knock_Sum_Per_Cylinder_2
ROM:0005A518                 .data.l Ram_Knock_Sum_Per_Cylinder_4
ROM:0005A51C off_5A51C:      .data.l FineCorrColLoad_1 ; DATA XREF: sub_3D154:loc_3D24Ao
ROM:0005A51C                                         ; sub_3D154:off_3D300o ...
ROM:0005A520                 .data.l FineCorrColLoad_2
ROM:0005A524                 .data.l FineCorrColLoad_3
ROM:0005A528                 .data.l FineCorrColLoad_4


Definitions for AZ1G202G:

Code:
paramname = Knock_Sum_Cyl_1
paramid = 0xFF7BFD
databits = 8
scalingrpn = x

paramname = Knock_Sum_Cyl_2
paramid = 0xFF7BFE
databits = 8
scalingrpn = x

paramname = Knock_Sum_Cyl_3
paramid = 0xFF7BFF
databits = 8
scalingrpn = x

paramname = Knock_Sum_Cyl_4
paramid = 0xFF7C00
databits = 8
scalingrpn = x

_________________
He who dies with the most gadgets wins.

Please do not PM me - use the email option.


Last edited by td-d on Thu Jul 25, 2013 8:08 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Knock Sum Per Cylinder
PostPosted: Sat Jul 14, 2012 11:34 am 
Offline
Experienced
User avatar

Joined: Thu Jul 22, 2010 10:22 am
Posts: 148
Location: Australia
Could someone be so kind as to find the addresses for knock sum in my rom AZ1G400W?

I’m IDA illiterate. :oops:

Thanks

Dave.

_________________
09 ADM WRX/ 3" Exforce Turbo Back, Hyperflow TMIC, AEM CAI, Perrin Turbo Inlet, TGV Delete, Ported VF-52, Walbro Pump, Hybrid boost control (Grimmspeed EBCS/MBC), SI-Drive Mode Selector (3 pos Rocker Sw)/ Self tuned @ 17 Psi, Last dyno run 206Kw.


Top
 Profile  
 
 Post subject: Re: Knock Sum Per Cylinder
PostPosted: Sat Jul 14, 2012 12:26 pm 
Offline
Moderator

Joined: Thu May 20, 2010 8:01 am
Posts: 3117
Location: Johannesburg, South Africa
ROM:00059228 off_59228: .data.l unk_FFFF7C1D ; DATA XREF: sub_3C7F4+120o Cylinder_1
ROM:0005922C .data.l unk_FFFF7C1F ; Cylinder_3
ROM:00059230 .data.l unk_FFFF7C1E ; Cylinder_2
ROM:00059234 .data.l unk_FFFF7C20 ; Cylinder_4

_________________
He who dies with the most gadgets wins.

Please do not PM me - use the email option.


Top
 Profile  
 
 Post subject: Re: Knock Sum Per Cylinder
PostPosted: Sat Jul 14, 2012 1:53 pm 
Offline
RomRaider Donator

Joined: Sun Nov 02, 2008 4:32 pm
Posts: 274
I noticed you have the knock sum referenced as cyls. 1-4 as opposed to A-D used with per cylinder injector offset and ignition timing. If knock sum does indeed indicate each cylinder#, could the tree be traced to verify which # corresponds in the alphabetical sequence? It would clarify the age old debate of 'firing order' vs 'cyl. bank'.


Top
 Profile  
 
 Post subject: Re: Knock Sum Per Cylinder
PostPosted: Sun Jul 15, 2012 1:02 am 
Offline
Experienced
User avatar

Joined: Thu Jul 22, 2010 10:22 am
Posts: 148
Location: Australia
Thanks Heaps td-d,

I haven't tried it yet but I've made my logger deff’s so I hope they work.

I was so confused by my FBKC values last time i tried to adjust my timing i gave up in the end.

I pulled a lot of timing out of my map and still had loads of FBKC I now know it was probably due to pre-emptive FBKC.

Thanks Heaps for all your good work I'll very interested in any further findings.

Dave

_________________
09 ADM WRX/ 3" Exforce Turbo Back, Hyperflow TMIC, AEM CAI, Perrin Turbo Inlet, TGV Delete, Ported VF-52, Walbro Pump, Hybrid boost control (Grimmspeed EBCS/MBC), SI-Drive Mode Selector (3 pos Rocker Sw)/ Self tuned @ 17 Psi, Last dyno run 206Kw.


Top
 Profile  
 
 Post subject: Re: Knock Sum Per Cylinder
PostPosted: Sun Jul 15, 2012 10:04 am 
Offline
Moderator

Joined: Thu May 20, 2010 8:01 am
Posts: 3117
Location: Johannesburg, South Africa
andya wrote:
I noticed you have the knock sum referenced as cyls. 1-4 as opposed to A-D used with per cylinder injector offset and ignition timing. If knock sum does indeed indicate each cylinder#, could the tree be traced to verify which # corresponds in the alphabetical sequence? It would clarify the age old debate of 'firing order' vs 'cyl. bank'.


I guess A-D would probably have been more accurate - but what makes me think it might be 1 to 4 is that on my setup, 2 and 4 showed the highest counts, which would make sense.

To only way to verify would be to trace the logic back and also log to verify - I'm carless at the mo...

_________________
He who dies with the most gadgets wins.

Please do not PM me - use the email option.


Top
 Profile  
 
 Post subject: Re: Knock Sum Per Cylinder
PostPosted: Thu Jul 19, 2012 6:00 pm 
Offline
Experienced

Joined: Sat May 07, 2011 3:22 pm
Posts: 144
Any luck getting these for an AE5I910V? ...I'll get IDA one of these days


Top
 Profile  
 
 Post subject: Re: Knock Sum Per Cylinder
PostPosted: Thu Jul 19, 2012 8:39 pm 
Offline
Moderator

Joined: Thu May 20, 2010 8:01 am
Posts: 3117
Location: Johannesburg, South Africa
Heide264 wrote:
Any luck getting these for an AE5I910V? ...I'll get IDA one of these days


Here you go, in red:

ROM:0006062C .data.l unk_FFFF7D8D ; Cyl_1
ROM:00060630 .data.l unk_FFFF7D8F ; Cyl_3
ROM:00060634 .data.l unk_FFFF7D8E ; Cyl_2
ROM:00060638 .data.l unk_FFFF7D90 ; Cyl_4

_________________
He who dies with the most gadgets wins.

Please do not PM me - use the email option.


Top
 Profile  
 
 Post subject: Re: Knock Sum Per Cylinder
PostPosted: Thu Jul 19, 2012 9:19 pm 
Offline
Experienced

Joined: Sat May 07, 2011 3:22 pm
Posts: 144
td-d wrote:
Heide264 wrote:
Any luck getting these for an AE5I910V? ...I'll get IDA one of these days


Here you go, in red:

ROM:0006062C .data.l unk_FFFF7D8D ; Cyl_1
ROM:00060630 .data.l unk_FFFF7D8F ; Cyl_3
ROM:00060634 .data.l unk_FFFF7D8E ; Cyl_2
ROM:00060638 .data.l unk_FFFF7D90 ; Cyl_4


Thanks. I will add these to my logs when I get back.


Top
 Profile  
 
 Post subject: Re: Knock Sum Per Cylinder
PostPosted: Sun Sep 23, 2012 7:02 pm 
Offline
Moderator

Joined: Thu May 20, 2010 8:01 am
Posts: 3117
Location: Johannesburg, South Africa
andya wrote:
I noticed you have the knock sum referenced as cyls. 1-4 as opposed to A-D used with per cylinder injector offset and ignition timing. If knock sum does indeed indicate each cylinder#, could the tree be traced to verify which # corresponds in the alphabetical sequence? It would clarify the age old debate of 'firing order' vs 'cyl. bank'.


I meant to give some feedback on this, but slipped my mind - I'm pretty certain it's cylinder order - since the 4 parameters are lined up at an offset in the following order:

1-3-2-4

e.g. :

Code:
RAM:FFFF7F29 E_Knock_Sum_Cylinder_1_E165:.res.b 1    ; DATA XREF: ROM:off_60A74o
RAM:FFFF7F2A E_Knock_Sum_Cylinder_2_E167:.res.b 1    ; DATA XREF: ROM:00060A7Co
RAM:FFFF7F2B E_Knock_Sum_Cylinder_3_E166:.res.b 1    ; DATA XREF: ROM:00060A78o
RAM:FFFF7F2C E_Knock_Sum_Cylinder_4_E168:.res.b 1    ; DATA XREF: ROM:00060A80o

Sound familiar? ;)

_________________
He who dies with the most gadgets wins.

Please do not PM me - use the email option.


Last edited by td-d on Thu Jul 25, 2013 8:09 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Knock Sum Per Cylinder
PostPosted: Fri Sep 28, 2012 10:28 am 
Offline
Newbie

Joined: Sat Dec 25, 2010 7:12 am
Posts: 44
:D Hi Oren,

can u please assist in pulling these out for AZ1J500J?

Thanks.


Top
 Profile  
 
 Post subject: Re: Knock Sum Per Cylinder
PostPosted: Fri Sep 28, 2012 12:42 pm 
Offline
Moderator

Joined: Thu May 20, 2010 8:01 am
Posts: 3117
Location: Johannesburg, South Africa
madvally wrote:
:D Hi Oren,

can u please assist in pulling these out for AZ1J500J?

Thanks.


Code:
RAM:FFFF7C25 Ram_Knock_Sum_Per_Cylinder_1:.res.b 1   ; DATA XREF: ROM:off_5E060o
RAM:FFFF7C26 Ram_Knock_Sum_Per_Cylinder_2:.res.b 1   ; DATA XREF: ROM:0005E068o
RAM:FFFF7C27 Ram_Knock_Sum_Per_Cylinder_3:.res.b 1   ; DATA XREF: ROM:0005E064o
RAM:FFFF7C28 Ram_Knock_Sum_Per_Cylinder_4:.res.b 1   ; DATA XREF: ROM:0005E06Co

_________________
He who dies with the most gadgets wins.

Please do not PM me - use the email option.


Top
 Profile  
 
 Post subject: Re: Knock Sum Per Cylinder
PostPosted: Fri Sep 28, 2012 12:49 pm 
Offline
Newbie

Joined: Sat Dec 25, 2010 7:12 am
Posts: 44
:D Thanks Oren.


Top
 Profile  
 
 Post subject: Re: Knock Sum Per Cylinder
PostPosted: Sun Sep 30, 2012 2:38 am 
Offline
Experienced

Joined: Wed Jun 18, 2008 11:46 am
Posts: 106
Hi,

Seems most likely only applicable on 32bit canbus vehicle?
Could it be applicable on A8DH200Y and if yes how is the address?

Thanks,
Sega


Top
 Profile  
 
 Post subject: Re: Knock Sum Per Cylinder
PostPosted: Sun Sep 30, 2012 9:18 am 
Offline
Moderator

Joined: Thu May 20, 2010 8:01 am
Posts: 3117
Location: Johannesburg, South Africa
sega wrote:
Hi,

Seems most likely only applicable on 32bit canbus vehicle?
Could it be applicable on A8DH200Y and if yes how is the address?

Thanks,
Sega


The earlier roms only have a single knock sum value, not per cylinder.

_________________
He who dies with the most gadgets wins.

Please do not PM me - use the email option.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 34 posts ]  Go to page 1, 2, 3  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subsilver by phpBBservice.nl