RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Tue Dec 23, 2025 5:35 am

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 140 posts ]  Go to page Previous  1 ... 6, 7, 8, 9, 10  Next
Author Message
 Post subject: Re: RomRaider Learning Table Values feature
PostPosted: Sun Apr 19, 2020 10:07 am 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7314
Location: Canada eh!
In reference to LTV supporting SD ROMs.
viewtopic.php?f=14&t=9745&start=90

As of RomRaider release 0.6.0, a customization feature has been added to allow a user to change the tables the LTV feature looks for in the ECU definition.

In the RomRaider program directory you will find a folder named 'customize'.
Attachment:
customize.png
By text editing the file 'ssmlearning.properties', you can add the appropriate SD map names to the list 'af_table_names=', 'flkc_table_column_names=' and 'flkc_table_row_names=' properties.
It is important to note that each map name is : delimited and trailing spaces are important and will be interpreted in the name selection, as you can see in the default list of names.
To add a SD map name, append it to the list ensuring a ':' terminates the line.
If you will never use LTV with a MAF ECU then you can replace the existing names, again, terminated with a ':'.

Ensure that the SD definition file is listed first in the Editor Definition Manager to select the SD definition before any other definition files.

The default list for MAF is:
Code:
# use a : to separate possible table names to match against
af_table_names=A/F Learning #1 Airflow Ranges:A/F Learning #1 Airflow Ranges :A/F Learning Airflow Ranges:
flkc_table_column_names=Fine Correction Columns (Load):Fine Correction Columns (Load) :
flkc_table_row_names=Fine Correction Rows (RPM):Fine Correction Rows (RPM) :


In the case of CarBerry, adding 'A/F Learning #1 MAP Ranges' to af_table_names will cause LTV to select that table to interpret A/F learning.
Code:
af_table_names=A/F Learning #1 Airflow Ranges:A/F Learning #1 Airflow Ranges :A/F Learning Airflow Ranges:A/F Learning #1 MAP Ranges:


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


Top
 Profile  
 
 Post subject: Re: RomRaider Learning Table Values feature
PostPosted: Thu May 07, 2020 9:23 am 
Offline
Newbie

Joined: Fri Apr 24, 2020 9:55 pm
Posts: 9
my car is 13 BRZ ZA1JA02N
when i try to start LTV, the table doesn‘t display.
and i try to use learning view, also failed.
the log is
Code:
[17:14:44.4406924] PassThruOpen returned 0 and DeviceID 2
[17:14:44.4406924] PassThruReadVersion returned 0
[17:14:44.4406924] Device firmware version: 1.17.4877
[17:14:44.4406924] DLL version: 1.02.4798 Jun 13 2016 17:16:24
[17:14:44.4406924] API version: 04.04
[17:14:44.4406924] PassThruConnect returned 0 and ChannelID 4
[17:14:44.4406924] PassThruStartMsgFilter returned 0
[17:14:44.4406924] ECU Init
[17:14:44.4875671] PassThruWriteMsgs returned 0
[17:14:44.4875671] WRITE 6 bytes: 80 10 F0 01 BF 40
[17:14:46.5969286] PassThruReadMsgs returned 16
[17:14:46.5969286] PassThruGetLastError returned 16, Message: no data was read
[17:14:46.5969286] READ ERROR: PassThru Error
[17:14:48.0500443] PassThruDisconnect returned 0
[17:14:48.0656692] PassThruClose returned 0


is there an another method to log knock for my BRZ :P


Top
 Profile  
 
 Post subject: Re: RomRaider Learning Table Values feature
PostPosted: Fri May 08, 2020 8:56 am 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7314
Location: Canada eh!
BRZ is not supported by LTV or LearningView.


Top
 Profile  
 
 Post subject: Re: RomRaider Learning Table Values feature
PostPosted: Sat May 09, 2020 12:53 am 
Offline
Newbie

Joined: Fri Apr 24, 2020 9:55 pm
Posts: 9
dschultz wrote:
BRZ is not supported by LTV or LearningView.


OK ,sincerely thanks, can i use an another app to log knock with open port2.0? except the oft


Top
 Profile  
 
 Post subject: Re: RomRaider Learning Table Values feature
PostPosted: Sun May 10, 2020 5:57 pm 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7314
Location: Canada eh!
The Openport 2.0 built-in logger maybe an option.


Top
 Profile  
 
 Post subject: Re: RomRaider Learning Table Values feature
PostPosted: Mon May 11, 2020 10:00 am 
Offline
Newbie

Joined: Fri Apr 24, 2020 9:55 pm
Posts: 9
dschultz wrote:
The Openport 2.0 built-in logger maybe an option.

built-in logger need resolving ram address of ecu. All can i find is c or g series logcfg.txt
i'm trying to find N series logcfg.txt (Chinese domestic market)


Top
 Profile  
 
 Post subject: Re: RomRaider Learning Table Values feature
PostPosted: Sun Aug 09, 2020 10:42 am 
Offline
Newbie

Joined: Thu Feb 27, 2020 8:38 am
Posts: 8
Hi,
I like to ckeck ltv. I have to do a test drive, whitout notebook. Only need to read ltv after testdrive, right?

I think ltv is stored in the ecu. No need to do livelog with my notebook. Or i am wrong?

Have a nice sunday...


Top
 Profile  
 
 Post subject: Re: RomRaider Learning Table Values feature
PostPosted: Tue May 20, 2025 9:37 am 
Offline
Newbie

Joined: Tue Nov 21, 2023 11:06 pm
Posts: 16
Would someone be able to help me figure out why I'm getting random numbers in the FLKC table of the LTV? I think the logger definition may need editing but I'm not certain. Attached is the rr_system log if that will help. I think the LTV starts somewhere around line 1346.


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


Top
 Profile  
 
 Post subject: Re: RomRaider Learning Table Values feature
PostPosted: Fri Jun 13, 2025 11:57 am 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7314
Location: Canada eh!
Your log does not have any info in it pertaining to the read of the LTV values.
Possibly the RAM location of the FLKC table is wrong.
Make sure the address for extended parameter E31 for ECU ID CD2A904007 is set to 0xFF3384


Top
 Profile  
 
 Post subject: Re: RomRaider Learning Table Values feature
PostPosted: Sun Jun 15, 2025 3:07 pm 
Offline
Newbie

Joined: Tue Nov 21, 2023 11:06 pm
Posts: 16
dschultz wrote:
Your log does not have any info in it pertaining to the read of the LTV values.
Possibly the RAM location of the FLKC table is wrong.
Make sure the address for extended parameter E31 for ECU ID CD2A904007 is set to 0xFF3384


Thanks for the response. Parameter E31 does have the address set to 0xFF3384:

<ecuparam id="E31" name="IAM (4-byte)*" desc="E31-KCA = (KA (max) map value * IAM) + FBKC + FLKC. Total Timing = KCA + base timing + timing compensations" target="1">

and

<ecu id="CD2A904007">
<address length="4">0xFF3384</address>
</ecu>

I noticed parameter E41 has the address set to 0xFF84E0:

<ecuparam id="E41" name="Fine Learning Knock Correction (4-byte)*" desc="E41-Current learned correction that is being applied which is stored and applied across specific load and rpm ranges." target="1">

and

<ecu id="CD2A904007">
<address length="4">0xFF84E0</address>
</ecu>

Do you think this address needs to change or a new parameter created? I noticed in this thread that some people had to create a new parameter E173 or E175?


Top
 Profile  
 
 Post subject: Re: RomRaider Learning Table Values feature
PostPosted: Thu Jun 26, 2025 5:38 pm 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7314
Location: Canada eh!
It shouldn't need an new E17x parameter as calculating the table offset address from the E31 address should be enough.
A more detailed rr_system.log may help isolate the problem while you use the LTV feature.


Top
 Profile  
 
 Post subject: Re: RomRaider Learning Table Values feature
PostPosted: Sat Jun 28, 2025 4:47 pm 
Offline
Newbie

Joined: Tue Nov 21, 2023 11:06 pm
Posts: 16
dschultz wrote:
It shouldn't need an new E17x parameter as calculating the table offset address from the E31 address should be enough.
A more detailed rr_system.log may help isolate the problem while you use the LTV feature.


I deleted the existing rr_system.log file, set the debugging level to TRACE, and generated a new rr_system.log file while sing the LTV. Attached is the resulting rr_system.log.


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


Top
 Profile  
 
 Post subject: Re: RomRaider Learning Table Values feature
PostPosted: Sat Jun 28, 2025 8:40 pm 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7314
Location: Canada eh!
It's using E31 to calculate the offset to the FLKC table location but that's not where it is in RAM.

Try adding these lines to the E173 section of the logger.xml (just use Notepad to edit the XML file):
Quote:
<ecu id="CD2A904007">
<address length="4">0xFF33B0</address>
</ecu>


Top
 Profile  
 
 Post subject: Re: RomRaider Learning Table Values feature
PostPosted: Sun Jun 29, 2025 2:43 pm 
Offline
Newbie

Joined: Tue Nov 21, 2023 11:06 pm
Posts: 16
dschultz wrote:
It's using E31 to calculate the offset to the FLKC table location but that's not where it is in RAM.

Try adding these lines to the E173 section of the logger.xml (just use Notepad to edit the XML file):
Quote:
<ecu id="CD2A904007">
<address length="4">0xFF33B0</address>
</ecu>


I added the lines but I'm still getting random info in the LTV. Here's the image and another log.


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


Top
 Profile  
 
 Post subject: Re: RomRaider Learning Table Values feature
PostPosted: Sun Jun 29, 2025 3:48 pm 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7314
Location: Canada eh!
The ECU def specifies the wrong number of rows for your FLKC table.
It should be 4 rows and 5 columns for a total of 20 cells in the table.
You can change your ECU def, find "Fine Correction Rows (RPM)" including the quotes. The first defines only the address for your ECU, the second occurrence is the table definition.
There are two entries in that section for sizey="6", change both to 3
Then delete the three lines:
Code:
       <data> Max Range 4 / Min Range 5 </data>
        <data> Max Range 5 / Min Range 6 </data>
        <data> Max Range 6 / Min Range 7 </data>
It should look like this after.
Code:
    <table type="2D" name="Fine Correction Rows (RPM)" category="Ignition Timing - Knock Control" storagetype="float" endian="little" sizey="3" userlevel="4">
      <scaling units="Engine Speed (RPM)" expression="x" to_byte="x" format="#" fineincrement="50" coarseincrement="100" />
      <table type="Static Y Axis" name="Fine Correction Stored/Applied RPM Ranges" sizey="3">
        <data> Max Range 1 / Min Range 2 </data>
        <data> Max Range 2 / Min Range 3 </data>
        <data> Max Range 3 / Min Range 4 </data>
      </table>
      <description>These are the engine speed ranges that make up the fine learning correction table stored in RAM. These rpm ranges, as well as the load ranges specified by the 'Fine Correction Columns (Load)' table, determine how each fine correction value is stored as well as applied.</description>
    </table>

Save the file.

This is the raw data from the ROM I have for the rows and columns, did you change yours?
Attachment:
rc.png
Attachment:
rc1.png

If so you need to reset them and reflash the ECU with the updated values.


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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 140 posts ]  Go to page Previous  1 ... 6, 7, 8, 9, 10  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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