RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Tue Dec 23, 2025 11:07 am

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: New Plugin for Unsupported ECU - Ford EEC-IV
PostPosted: Thu Jul 08, 2021 12:57 pm 
Offline
Newbie

Joined: Thu May 13, 2021 1:19 pm
Posts: 4
Hi, new here, and I am working using RomRaider for Ford EEC-IV chip 8061.
I have 100% decompiled the binary.

Question is, can RomRaider do what I need now(info below), or do I need to create a plugin?

I have created very basic xml definition, with two 3D tables and one 2D table.
I have included a screen shot, as a picture is worth many words.

I have a couple of questions regarding information as to whether or not RomRaider already supports what I need, or if I need to create a plugin, or just add code to RomRaider to get what I need.

FYI, Ford stores X/Y axis values as Function Tables(fox function), that uses interpolation to get values that are not static.
Example, RPM fox function, has a 2 column table, fist column is RPM, second column is Column#, stored as X,Y (RPM, Column#).
Raw code in binary:
Code:
RPM:
b2fe: ff,ff,00,09         (X/4), (Y/256)  16384,  9
b302: 50,46,00,09         (X/4), (Y/256)   4500,  9
b306: b0,36,00,08         (X/4), (Y/256)   3500,  8
b30a: 40,1f,00,05         (X/4), (Y/256)   2000,  5
b30e: a0,0f,00,01         (X/4), (Y/256)   1000,  1
b312: 80,0c,00,00         (X/4), (Y/256)    800,  0
b316: 00,00,00,00         (X/4), (Y/256)      0,  0


In the image below, you will see that by default values are shown in RomRaider as left to right, top to bottom.
What I need is Top to Bottom, then Left to Right to get RPM values.
Then what I need is Top to Bottom, Right to Left to get the Column#.

Finally, to display the missing values, interpolate (I think that is the correct terminology), I need to calculate missing RPM values for the columns 2,3,4 and 6,7.
In this case, missing column values would be (1250, 2), (1500, 3), (1750, 4) and (2500, 6), (3000, 7).

Hopefully your following me. Here is the picture of how it looks:
Attachment:
EEC-IV RomRaider.png


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
 Post subject: Re: New Plugin for Unsupported ECU - Ford EEC-IV
PostPosted: Thu Jul 08, 2021 8:32 pm 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7314
Location: Canada eh!
RomRaider Editor table definitions supports attributes for changing direction:
  1. swapxy - normally data from a 3d table is displayed left to right, top to bottom. swapxy="true" displays from top to bottom, left to right.
  2. flipx, flipy (default = "false") - flips the axis values - ex. instead of low to high, it displays high to low
Examples can be seen in some Mitsubishi EVO definitions.

I'm going to have to ponder your function question a bit more before I can answer definitively, but in short functions are not supported, where data is derived or interpolated we typically use a "static" axis definition hard coded with the values from the function.
Code:
   <table type="Static Y Axis" name="Engine Speed (RPM)" sizey="15" logparam="P8">
    <data>400</data>
    <data>800</data>
    <data>1200</data>
    <data>1600</data>
    <data>2000</data>
    <data>2400</data>
    <data>2800</data>
    <data>3200</data>
    <data>3600</data>
    <data>4000</data>
    <data>4400</data>
    <data>4800</data>
    <data>5200</data>
    <data>5600</data>
    <data>6000</data>
   </table>

You cannot edit this in the Editor window just as you wouldn't be able to edit the function that creates the axis.


Top
 Profile  
 
 Post subject: Re: New Plugin for Unsupported ECU - Ford EEC-IV
PostPosted: Fri Jul 09, 2021 4:32 am 
Offline
Newbie

Joined: Thu May 13, 2021 1:19 pm
Posts: 4
dschultz wrote:
RomRaider Editor table definitions supports attributes for changing direction:
  1. swapxy - normally data from a 3d table is displayed left to right, top to bottom. swapxy="true" displays from top to bottom, left to right.
  2. flipx, flipy (default = "false") - flips the axis values - ex. instead of low to high, it displays high to low

You cannot edit this in the Editor window just as you wouldn't be able to edit the function that creates the axis.


OK, and swapxy and flipx/flipy, are only for table data values, not the AXIS values?
To change axis values, I would have to statically order them in the xml data tags?

So, if I want to dynamically populate axis values using functions, is there a plugin architecture to follow, or simply extend the Table class?


Top
 Profile  
 
 Post subject: Re: New Plugin for Unsupported ECU - Ford EEC-IV
PostPosted: Fri Jul 09, 2021 9:05 am 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7314
Location: Canada eh!
swapxy for 3D tables, flipx(y) for axis.
If you use the static axis definition, populate the values in the order required

It's a lot more than extending a single class.


Top
 Profile  
 
 Post subject: Re: New Plugin for Unsupported ECU - Ford EEC-IV
PostPosted: Fri Jul 09, 2021 8:00 pm 
Offline
Newbie

Joined: Thu May 13, 2021 1:19 pm
Posts: 4
dschultz wrote:
It's a lot more than extending a single class.

It always is.

I'll see if I can contribute to some issues on github, so I can learn more about the codebase.

Is the Trac tasks site outdated?

Would you recommend working on git issues: bugs or enhancements?


Top
 Profile  
 
 Post subject: Re: New Plugin for Unsupported ECU - Ford EEC-IV
PostPosted: Fri Jul 09, 2021 8:16 pm 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7314
Location: Canada eh!
Stick to Github.

Work on whatever is your please. Some items require hardware to test against.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 5 hours [ DST ]


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

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