RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Thu Jan 08, 2009 10:54 pm

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 384 posts ]  Go to page 1, 2, 3, 4, 5 ... 26  Next
Author Message
 Post subject: Learning View (version 0.4a 10-31-08)
PostPosted: Thu Feb 14, 2008 12:29 pm 
Offline
Administrator
User avatar

Joined: Wed Mar 29, 2006 10:38 pm
Posts: 4224
Learning View is a tool I created to display specific knock and a/f learning parameters stored by the Subaru ECU. This is a standalone Windows application that does not require any other software to run. Running Learning View with a compatible cable (such as the Tactrix OpenPort) along with a supported Subaru, allows for the reading of these learned parameters and displays them in an easy to analyze format.

Attachment:
LV_SS_0.4a.jpg
LV_SS_0.4a.jpg [ 83.06 KB | Viewed 479 times ]

Learning View reads and displays the following:

  • Reads the entire fine learning knock correction (FLKC) table from RAM and displays it as a 3D table. The FLKC table is used by the ECU to make fine corrections to timing across specific load and rpm ranges based on knock events under certain conditions. Details about how the FLKC table fits into Subaru's knock control strategy can be found HERE.

  • Reads and displays the FLKC load and RPM ranges currently flashed to the ECU (modified to show how the range is used/determined). These ranges make up the axes of the FLKC table and determine how the FLKC is applied as well as determined.

  • Reads the four A/F Learning #1 stored corrections (A-D) from RAM (and A/F learning #2 for H6 models) and displays them as a 2D table. These are the long-term fuel trims based on feedback from the front O2 sensor in closed loop and are applied in both closed loop and open loop. Positive values indicate the percentage of fuel added, while negative values indicate the percentage of fuel removed.

  • Reads and displays the A/F airflow ranges currently flashed to the ECU (modified to show how the range is used/determined). These values make up the axis of the A/F Learning #1 (and #2 for H6 models) table and determine at what airflow the long-term fuel trims are applied (in closed loop and open loop) as well as determined (in closed loop only).

  • Displays the current ignition advance multiplier (IAM). The IAM is used by the ECU to determine the amount of advance to add to base timing. Details about how the IAM fits into Subaru's knock control strategy can be found HERE.

  • Displays the ECU ID, ROM ID, transmission and ECU description. NOTE: The ROM ID, transmission and ECU description are determined based on the ECU ID and are not directly read from the ECU.


Additional functions of Learning View:

  • Save Data - Saves all current data as a .csv file in the same directory as the Learning View application. This type of file can be opened by most spreadsheet applications.

  • Copy Data - Copies current Learning View data to clipboard and formats it so it can be posted in a forum. Hit Ctrl-V to paste the data in a forum post or to paste into a text editor such as notepad.

  • Screenshot - Takes a screenshot of Learning View and saves it as a jpeg file in the same directory as the Learning View application.

  • View Log - Allows you to view the connection log (useful if there are issues with the connection or reading).

  • Reset ECU - Sends a request to the ECU to perform a reset. This clears the ECU's RAM and therefore all learned parameters, DTCs, etc.

  • COM Port - This dropdown box allows you to select the correct COM port used by your cable. Hit the refresh icon to refresh the port list if you attach your cable after starting Learning View. Learning View will automatically select the port used during the last successful connection if it is available when starting the application or when hitting the COM port refresh icon. Note: Port selection is not necessary if you are using the OpenPort 2.0 cable.


How to use Learning View:

  • Learning View, which is written in vb.net, is only compatible with Windows operating systems.

  • Make sure you have .net 2.0 installed (download HERE). You can also use Windows update to install .net 2.0.

  • Download the Learning View zip archive from the bottom of this post. Unzip Learning View.exe, which can be placed anywhere on your system.

  • Connect your cable to your laptop's USB port and the car's OBD-II port. Learning View has been designed to work with the Tactrix OpenPort cables (including the latest 2.0 version), although it may also work with some other OBD-II cables (make sure you install the proper drivers). For OpenPort cables, install the latest version of EcuFlash to install the cable's drivers.

  • Run Learning View - you can run it from anywhere. It does NOT require any other software or files to run.

  • Turn your car's ignition to on (just like logging -> engine does NOT have to be running).

  • Select the correct COM port from the drop down box (hit refresh ports if you attached the cable after starting the app). Learning View will remember and select the last COM port used during a successful connection if available when starting the application or refreshing the port list via the com port button. Note: Port selection is not necessary for the OpenPort 2.0.

  • Hit "Connect" (data will only update each time you hit this button, not real-time).


Supported ECUs:

Learning View supports 260 different Subaru ECU revisions including those listed HERE (except for NA ROMs E2ZD508C, E2ZD308E, E2VG212E, and E2TB101Q). In addition, ROMs submitted after the last ECU definition update (October 5th-31st) were added to Learning View. Learning View also has support for all twin-turbo Legacy ROMs submitted by users in the past.


Known issues:

  • Any software which makes use of your cable, such as EcuFlash, RomRaider or other logging software, must be closed before attempting to connect with Learning View.

  • Some early 32-bit ECUs (typically those ROMs 512kb in size) do not allow for reading portions of the ROM via SSM. This impacts the A/F Learning airflow ranges and the FLKC load and RPM ranges in Learning View. When Learning View detects this, it will look for a tune.hex ROM file in the same directory as the application and extract the airflow, RPM and load ranges data from this ROM (as long as the ROM id matches the ECU it's connected to). Therefore, if your ECU is impacted, simply place your latest tuned ROM file (that matches the ROM flashed to the ECU) in the same directory as Learning View and rename it tune.hex. If tune.hex is not found, Learning View will load known factory values for the airflow, load and RPM for your particular ECU. An asterisk at the end of an axis value indicates it was retrieved using one of the above methods and not directly from the ECU (which method is used will appear in the description for each table).


Change List version 0.4a (released Oct. 31st, 2008)

  • Support was added for the new OpenPort 2.0 cable. The OP 2.0 cable will be auto-detected and does NOT require you to select the port. You will need to make sure you install the latest version of EcuFlash and make sure that you update the OP 2.0's firmware to correspond with the EcuFlash install (this will accomplished during the first read with EcuFlash if needed - this is necessary for reading/flashing with Ecuflash anyway). If you have issues with connecting, PM me or post the connection log which is automatically saved in the same directory as Learning View("Learning View_LOG.txt"). The connection log is cleared each time you run Learning View.

  • Support for over 70 additional ROMs (for a total of 260) was added that mirrors the 0.8.1b and 0.8.2b RomRaider definition updates (except for NA ROMs E2ZD508C, E2ZD308E, E2VG212E, and E2TB101Q). This includes the new CANbus ECUs. In addition, support for ROMs submitted after the last ECU definition update (October 5th-31st) were added to this release as well as all twin-turbo Legacy ROMs submitted by users in the past.

  • The last used COM port, based on the last successful connection, is automatically selected if it is available when starting the application or when refreshing the port list via the refresh icon. Note: Not applicable or necessary for the OpenPort 2.0.

  • A/F Learning and FLKC corrections are now displayed in red font if negative, blue font if positive, and black font if zero to more easily spot changes.

  • New screenshot function takes screenshot of Learning View and saves as a jpeg file in the same directory as the application.

  • Learning View form can now be resized smaller than the default size (scrollbars will appear) as requested by carPC users. The form's last size and position will also be retained.

  • Improved error handling and connection logging.

  • Fixed an issue where saving data as a .csv file or copying data to clipboard resulted in incorrect formatting for users with comma(,) decimal separator number formats (regional settings).

  • If the ECU is not supported by Learning View, the capability to read the IAM was added if the ECU supports it as a standard SSM parameter (applicable 07+ models only).

  • Connection log is now automatically saved in the same directory as Learning View("LearningView_LOG.txt"). The log is cleared each time Learning View is run. If you have issues with Learning View, be sure to send me a copy of this log. The ability to copy the log to the clipboard is no longer supported.

  • New application icon replaces the default Windows icon.

  • Added progress bar for connection progress.

  • Eliminated "update" button label which was functionally the same as "connect" but confused some users.

  • Code tags added to clipboard text to make it easier for users to copy and paste their data correctly in a forum post.

  • Users can now perform an ECU reset without having to go through the normal connection process for FLKC/AF data.

  • Users can now view the log if the first connection attempt is unsuccessful.

Please do not host Learning View on your own site. Instead, provide a link to this post only.


Attachments:
Learning View.zip [83.85 KB]
Downloaded 702 times
Top
 Profile  
 
 Post subject: Re: Learning View Tool
PostPosted: Thu Feb 14, 2008 12:32 pm 
Offline
Experienced

Joined: Wed Aug 02, 2006 9:40 pm
Posts: 535
Location: Calgary
Cool. I'll try it out with my older Tactrix cable. How do I tell which version of the cable I have anyways?


Top
 Profile  
 
 Post subject: Re: Learning View Tool
PostPosted: Thu Feb 14, 2008 12:38 pm 
Offline
Newbie

Joined: Tue May 02, 2006 12:02 pm
Posts: 68
Location: NE PA
Airboy wrote:
How do I tell which version of the cable I have anyways?



Same question here....
I'll give it a try with my cable.
Thanks for the program!

dm


Top
 Profile  
 
 Post subject: Re: Learning View Tool
PostPosted: Thu Feb 14, 2008 12:42 pm 
Offline
Administrator
User avatar

Joined: Wed Mar 29, 2006 10:38 pm
Posts: 4224
under ports in device manager


Top
 Profile  
 
 Post subject: Re: Learning View Tool
PostPosted: Thu Feb 14, 2008 1:04 pm 
Offline
Experienced
User avatar

Joined: Sat Dec 16, 2006 1:59 pm
Posts: 143
Cool! Very good idea and very useful tool, Merc. I'll give it a shot and report back.

_________________
aka:

-Nate


Top
 Profile  
 
 Post subject: Re: Learning View Tool
PostPosted: Thu Feb 14, 2008 3:03 pm 
Offline
Experienced

Joined: Wed Jul 26, 2006 3:19 pm
Posts: 644
Location: Connecticut, USA
I'm guessing this needs to be installed in the same directory which contains the RomRaider XML definition files for both the ROM editor and the logger?


Top
 Profile  
 
 Post subject: Re: Learning View Tool
PostPosted: Thu Feb 14, 2008 3:12 pm 
Offline
Administrator
User avatar

Joined: Wed Mar 29, 2006 10:38 pm
Posts: 4224
Jon [in CT] wrote:
I'm guessing this needs to be installed in the same directory which contains the RomRaider XML definition files for both the ROM editor and the logger?

No, this is completely standalone app. Works reqardless of whether you have RomRaider installed or not.


Top
 Profile  
 
 Post subject: Re: Learning View Tool
PostPosted: Thu Feb 14, 2008 3:29 pm 
Offline
Experienced
User avatar

Joined: Tue Aug 15, 2006 7:40 pm
Posts: 133
Location: Calgary
Works great with Tactrix 1.2.

Image


Great work again Merchgod!!

Jeff

*Edit* I have already changed the ranges to be more useful at the top end of each scale ...

_________________
'04 WRX "stage" 2, Meth
"Genius has its limits, but stupidity is boundless"


Top
 Profile  
 
 Post subject: Re: Learning View Tool
PostPosted: Thu Feb 14, 2008 3:45 pm 
Offline
Administrator
User avatar

Joined: Wed Mar 29, 2006 10:38 pm
Posts: 4224
Hurricane123 wrote:
Works great with Tactrix 1.2.

Cool. Thanks.


Top
 Profile  
 
 Post subject: Re: Learning View Tool
PostPosted: Thu Feb 14, 2008 3:49 pm 
Offline
Experienced
User avatar

Joined: Tue Aug 15, 2006 7:40 pm
Posts: 133
Location: Calgary
Airboy wrote:
Cool. I'll try it out with my older Tactrix cable. How do I tell which version of the cable I have anyways?


Beat ya to it Sunny! :twisted:

Jeff

_________________
'04 WRX "stage" 2, Meth
"Genius has its limits, but stupidity is boundless"


Top
 Profile  
 
 Post subject: Re: Learning View Tool
PostPosted: Thu Feb 14, 2008 4:02 pm 
Offline
Moderator
User avatar

Joined: Wed Oct 25, 2006 12:32 am
Posts: 1778
Awesome, I can't wait to try it tonight.


Top
 Profile  
 
 Post subject: Re: Learning View Tool
PostPosted: Thu Feb 14, 2008 6:01 pm 
Offline
Experienced

Joined: Wed Mar 29, 2006 10:04 am
Posts: 314
Location: evansville, in
mickeyd2005 wrote:
Awesome, I can't wait to try it tonight.


+1....well, maybe not tonight but once I get the car back together.

_________________
2005 SWP LGT 5MT Sedan
Magnaflow CBE, Hallman PRO, Self tuned STG1


Top
 Profile  
 
 Post subject: Re: Learning View Tool
PostPosted: Fri Feb 15, 2008 2:51 am 
Offline
Experienced

Joined: Wed May 24, 2006 8:11 pm
Posts: 187
Seems I should remove some timing.. But from where? Seems pretty random.


Attachments:
fbkc.PNG
fbkc.PNG [ 27.42 KB | Viewed 589 times ]

_________________
05 LGT AVO380/TMIC
Top
 Profile  
 
 Post subject: Re: Learning View Tool
PostPosted: Fri Feb 15, 2008 3:25 am 
Offline
Experienced

Joined: Wed Nov 22, 2006 10:23 pm
Posts: 397
Awesome. Downloading now... :)


Top
 Profile  
 
 Post subject: Re: Learning View Tool
PostPosted: Fri Feb 15, 2008 10:29 am 
Offline
Experienced

Joined: Thu Aug 03, 2006 10:40 am
Posts: 564
cool beans! nice work bill. :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 384 posts ]  Go to page 1, 2, 3, 4, 5 ... 26  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
phpBB SEO