|
RomRaider
Documentation
Community
Developers
|
| Author |
Message |
|
merchgod
|
Post subject: knock sum 32-bit ECU Posted: Mon Apr 28, 2008 1:23 pm |
|
 |
| RomRaider Donator |
 |
Joined: Thu Mar 30, 2006 2:38 am Posts: 5336
|
|
I've found what appears to be a knock sum for the 32-bit ECU. This variable (1 byte) is incremented by 1 at the start of each knock event as determined by the knock signal. It is only incremented if the knock signal was clear during the previous execution. As an example, it would look something like this:
(KS = knock signal) KS CLEAR ; COUNTER = 0 KS SET; COUNTER = 1 KS SET; COUNTER = 1 KS CLEAR; COUNTER = 1 KS CLEAR; COUNTER = 1 KS SET; COUNTER = 2 KS CLEAR; COUNTER = 2 KS SET; COUNTER = 3
So, basically, the counter is incremented at the first knock event in each continuous pattern of knock (or if only a single knock event occurs). When the counter reaches 35 it resets to zero. Anyway, I'll be adding this to the next logger def update -> maybe it will be useful.
|
|
| Top |
|
 |
|
BoxerFan
|
Post subject: Re: knock sum 32-bit ECU Posted: Mon Apr 28, 2008 1:49 pm |
|
 |
| Newbie |
Joined: Fri Dec 15, 2006 1:06 am Posts: 67 Location: Singapore
|
|
May I request for the address of this variable in the A2ZJC00G 2.0 LGT ROM? I would be keen to observe this.
|
|
| Top |
|
 |
|
merchgod
|
Post subject: Re: knock sum 32-bit ECU Posted: Mon Apr 28, 2008 2:14 pm |
|
 |
| RomRaider Donator |
 |
Joined: Thu Mar 30, 2006 2:38 am Posts: 5336
|
BoxerFan wrote: May I request for the address of this variable in the A2ZJC00G 2.0 LGT ROM? I would be keen to observe this. I'll be adding to the next logger defs for all 32-bit ECUs.
|
|
| Top |
|
 |
|
nsfw
|
Post subject: Re: knock sum 32-bit ECU Posted: Tue Apr 29, 2008 4:09 am |
|
 |
| Moderator |
Joined: Thu Nov 23, 2006 2:23 am Posts: 2565
|
|
Very cool. Does the reset at 35 tie into a change in IAM or something like that?
_________________ 2005 Legacy GT w/ ATP 3076, IWG, MBC, BCS, BC 272, LC, FFS, OMG Please don't send questions via PM. Post a thread and send me a link to it instead. Thanks!
|
|
| Top |
|
 |
|
mickeyd2005
|
Post subject: Re: knock sum 32-bit ECU Posted: Tue Apr 29, 2008 6:53 am |
|
 |
| Administrator |
 |
Joined: Wed Oct 25, 2006 4:32 am Posts: 3040
|
|
The handiest feature about this parameter is that we can use it instead of logging any of the timing and knock parameters. Since we have access to our tables, we could just log total timing and the counter which appears to be 1 byte. If we are very familiar with our ecu and the compensations, we probably don't even need to log total timign.
I checked it against what I thought was knock and it correlates 100% so far so I don't think experienced tuners will see anything different.
It will definitely help noobs though. It's fairly difficult to distinguish knock that causes FLKC to update. In the past, we had to keep track of the FLKC table and check it against when it changed. Now, we no longer have to do that.
|
|
| Top |
|
 |
|
merchgod
|
Post subject: Re: knock sum 32-bit ECU Posted: Tue Apr 29, 2008 11:21 am |
|
 |
| RomRaider Donator |
 |
Joined: Thu Mar 30, 2006 2:38 am Posts: 5336
|
NSFW wrote: Very cool. Does the reset at 35 tie into a change in IAM or something like that? No, it is just an arbitrary limit. The knock sum is not actually used by the ECU as far as I can tell.
|
|
| Top |
|
 |
|
®@©E®
|
Post subject: Re: knock sum 32-bit ECU Posted: Tue Apr 29, 2008 1:29 pm |
|
 |
| Experienced |
Joined: Sat Mar 10, 2007 5:16 pm Posts: 212 Location: Ukraine
|
|
Interesting... What's the counter update rate? It's like crank degree, 1 rev? Or not related to to engine speed, just code execution cycle?
|
|
| Top |
|
 |
|
merchgod
|
Post subject: Re: knock sum 32-bit ECU Posted: Tue Apr 29, 2008 1:41 pm |
|
 |
| RomRaider Donator |
 |
Joined: Thu Mar 30, 2006 2:38 am Posts: 5336
|
|
It would update as often as the block of routines is executed, which includes FBKC/FLKC/IAM determination.
|
|
| Top |
|
 |
|
gabedude
|
Post subject: Re: knock sum 32-bit ECU Posted: Tue Sep 30, 2008 4:55 pm |
|
 |
| RomRaider Developer |
 |
Joined: Tue Jan 23, 2007 9:11 pm Posts: 966 Location: Hillsboro, Oregon
|
|
Knock sum is great. I actually heard knock yesterday and saw the knock sum go up 2 points and then FBKC and FLKC kicked it down. Very nice to see it. Holy crap my car knocks at idle. Prolly should find those bolts I dropped under the intake manifold and fix my exhaust leak. It is probably setting it off. Or it is tip in related.
|
|
| Top |
|
 |
|
williaty
|
Post subject: Re: knock sum 32-bit ECU Posted: Tue Sep 30, 2008 6:58 pm |
|
 |
| Experienced |
Joined: Tue Jul 24, 2007 10:28 pm Posts: 349
|
|
Knock sum is going to be available to all 32bit owners with the next def release, right?
|
|
| Top |
|
 |
|
merchgod
|
Post subject: Re: knock sum 32-bit ECU Posted: Tue Sep 30, 2008 7:36 pm |
|
 |
| RomRaider Donator |
 |
Joined: Thu Mar 30, 2006 2:38 am Posts: 5336
|
williaty wrote: Knock sum is going to be available to all 32bit owners with the next def release, right? It is already in the latest logger defs for all applicable 32-bit ECUs. Not every ECU has the knock sum.
|
|
| Top |
|
 |
|
williaty
|
Post subject: Re: knock sum 32-bit ECU Posted: Tue Sep 30, 2008 7:44 pm |
|
 |
| Experienced |
Joined: Tue Jul 24, 2007 10:28 pm Posts: 349
|
|
I totally missed the fact that you released defs this month.
|
|
| Top |
|
 |
|
Justin 05 STi
|
Post subject: Re: knock sum 32-bit ECU Posted: Wed Oct 01, 2008 12:55 am |
|
 |
| Experienced |
 |
Joined: Thu Mar 02, 2006 2:51 am Posts: 345
|
merchgod wrote: It is already in the latest logger defs for all applicable 32-bit ECUs. Not every ECU has the knock sum. Do you have a list going? I can't seem to find it on my 05 STi (A2ZJB11J).
_________________ - Justin download my ROM
|
|
| Top |
|
 |
|
williaty
|
Post subject: Re: knock sum 32-bit ECU Posted: Wed Oct 01, 2008 1:49 am |
|
 |
| Experienced |
Joined: Tue Jul 24, 2007 10:28 pm Posts: 349
|
|
So what's it mean when I have either 1) a change to Knock Sum (KS) but no change to IAM, FLKC, or FKBC or 2) when I have a change to IAM, FLKC, or FBKC, but no change to KS?
|
|
| Top |
|
 |
|
mickeyd2005
|
Post subject: Re: knock sum 32-bit ECU Posted: Wed Oct 01, 2008 1:51 am |
|
 |
| Administrator |
 |
Joined: Wed Oct 25, 2006 4:32 am Posts: 3040
|
|
For number 1, I'm guessing that it means that your ecu detected knock but it chose to ignore it due to the tuning parameters.
I have not seen #2 occur.
EDIT: Actually, I've seen FLKC change due to moving from one FLKC cell to another.
|
|
| Top |
|
 |
Who is online |
Users browsing this forum: No registered users and 4 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
|
|