NefMoto

Technical => Reverse Engineering => Topic started by: Bische on March 13, 2013, 01:06:40 PM



Title: Reversing RKTI/FKKVS routine
Post by: Bische on March 13, 2013, 01:06:40 PM
I have been observing some odd things when correcting FKKVS, shown in the attached graph/log. Looking at the diagram in the FR does not explain to me why tevfa_w/ftek_w acts like they do in my log.

RKTI:
(http://img132.imageshack.us/img132/190/rkti.jpg)

Alfa FR RKTI:
(http://img826.imageshack.us/img826/2214/rkti2.jpg)

I have looked for a while at the routine, but I cant find out why this happens. Has anyone seen this happen before?


Title: Re: Reversing RKTI/FKKVS routine
Post by: elRey on March 14, 2013, 10:36:55 AM
Does the English match the German FR for these functions? There are difference between the two. And the German FR is more applicable to your car than the English FR.


Title: Re: Reversing RKTI/FKKVS routine
Post by: Bische on March 14, 2013, 12:32:58 PM
I did solve this today, and as usual it was a real face palm error.

First thing I did was to define tevfa_w/ftek_w as 16bit in my logger definition -> showed sane values. Logged a bit and there was no correction over 2000rpm, which had me realize the axes in my FKKVS definition was swapped.

I defined the FKKVS after the TT damos, which is indeed axis swapped compared to the other damos' I have. I have stared at these routines for over 5hrs, all for nothing...