|
RomRaider
Documentation
Community
Developers
|
| Author |
Message |
|
Merp
|
Post subject: Re: Learning View for 32bit SD ROMS Posted: Wed Jan 15, 2014 7:41 pm |
|
 |
| Experienced |
 |
Joined: Thu Jul 23, 2009 1:46 pm Posts: 863
|
This post explains how to get the RR LTV working, of course, substitute the appropriate values for your particular rom: dschultz wrote: OK, as a less complex option you could just paste the <rom... </rom> info from the LTV only def I provided into the official ecu_defs.xml. Just paste this code above the last line of the ecu_defs.xml file: Code: <rom base="A2ZJB11J"> <romid> <xmlid>A2ZJB11J.MeRpMoD.Gratis.Testing.v13.4.29.1236</xmlid> <internalidaddress>E1000</internalidaddress> <internalidstring>A2ZJB11J.MeRpMoD.Gratis.Testing.v13.4.29.1236</internalidstring> <ecuid>134291236F</ecuid> <year>05</year> <market>USDM</market> <make>Subaru</make> <model>Impreza</model> <submodel>STi</submodel> <transmission>MT</transmission> <memmodel>SH7058</memmodel> <flashmethod>sti05</flashmethod> <filesize>1024kb</filesize> </romid> </rom>
Make sure ecu_defs.xml is in the Editor Def manager at the top of the list. Then open the SD ROM and you should see all the tables as if it was a non-SD ROM. This will also enable the Learning Tables View feature in the Logger to work properly.
_________________ Please do not send me support questions via PM, use the forum instead!
|
|
| Top |
|
 |
|
04ssti
|
Post subject: Re: Learning View for 32bit SD ROMS Posted: Wed Jan 15, 2014 10:19 pm |
|
 |
| Newbie |
Joined: Sat Dec 25, 2010 6:16 pm Posts: 71
|
|
So I would replace the bold with my ECU/ car info?
The MerpMod.gratis... is the RR Logger definitions that came with the MOD. So I copy and past this into the official ecu_defs just before the last line? Just making sure I am doing this right. File size should be 512kb, yes? Because I am working with the A2ZJ710J SD rom.
I changed the ROM ID back to what my ECU was before I flashed it so it is not the custom ID that it had after patching. I got learning view to work, but some of the parameters I try to log in RR logger are all out of whack. Such as CL/OL, it counts up to maybe 200 then resets quickly.. No idea what data it is reading.
<rom base="A2ZJB11J"> <romid> <xmlid>A2ZJB11J.MeRpMoD.Gratis.Testing.v13.4.29.1236</xmlid> <internalidaddress>E1000</internalidaddress> <internalidstring>A2ZJB11J.MeRpMoD.Gratis.Testing.v13.4.29.1236</internalidstring> <ecuid>134291236F</ecuid> <year>05</year> <market>USDM</market> <make>Subaru</make> <model>Impreza</model> <submodel>STi</submodel> <transmission>MT</transmission> <memmodel>SH7058</memmodel> <flashmethod>sti05</flashmethod> <filesize>1024kb</filesize> </romid> </rom>
|
|
| Top |
|
 |
|
fuji_production
|
Post subject: Re: Learning View for 32bit SD ROMS Posted: Wed Jan 22, 2014 3:27 pm |
|
 |
| Experienced |
Joined: Thu Jan 14, 2010 2:49 pm Posts: 126
|
|
so is there a useable learning view? I am trying to read DTC's...
_________________ 2005 CGM STI paid off and lovin' it!
|
|
| Top |
|
 |
|
dschultz
|
Post subject: Re: Learning View for 32bit SD ROMS Posted: Wed Jan 22, 2014 7:41 pm |
|
 |
| RomRaider Developer |
Joined: Wed May 20, 2009 9:49 pm Posts: 7314 Location: Canada eh!
|
For DTC reading you either use an OBD scanner, or switch to the latest official logger.xml which contains the DTC info for the RR Logger to read DTCs. You can switch back to your SD logger def after. There's this option too, if you don't have an OBD scanner and your ECU supports CAN logging: viewtopic.php?t=9401, see Note #4. This is still valid for the latest version of RomRaider, you don't have to down grade.
|
|
| Top |
|
 |
|
Merp
|
Post subject: Re: Learning View for 32bit SD ROMS Posted: Wed Jan 22, 2014 9:24 pm |
|
 |
| Experienced |
 |
Joined: Thu Jul 23, 2009 1:46 pm Posts: 863
|
I've added the <dtcodes> to the logger definitions, available @ https://github.com/Merp/SubaruDefs/tree/MerpModI'm not sure if they'll work without adding the customized stub discussed above to ecu_defs though.. Dale? I'll have a go at it tonight in any case. Writing some code to output all current defs to ecu_defs.xml is in the works for interim support and should knock out all of the compatibility issues with LTV/DTC views.
_________________ Please do not send me support questions via PM, use the forum instead!
|
|
| Top |
|
 |
|
fuji_production
|
Post subject: Re: Learning View for 32bit SD ROMS Posted: Thu Jan 23, 2014 1:36 am |
|
 |
| Experienced |
Joined: Thu Jan 14, 2010 2:49 pm Posts: 126
|
|
thanks merp, i know it takes alot of time to rewrite code. It's too easy just to repoint def's to read DTC's though...
_________________ 2005 CGM STI paid off and lovin' it!
|
|
| Top |
|
 |
|
dschultz
|
Post subject: Re: Learning View for 32bit SD ROMS Posted: Thu Jan 23, 2014 12:21 pm |
|
 |
| RomRaider Developer |
Joined: Wed May 20, 2009 9:49 pm Posts: 7314 Location: Canada eh!
|
Merp wrote: I've added the <dtcodes> to the logger definitions, available @ https://github.com/Merp/SubaruDefs/tree/MerpModI'm not sure if they'll work without adding the customized stub discussed above to ecu_defs though.. Dale? Writing some code to output all current defs to ecu_defs.xml is in the works for interim support and should knock out all of the compatibility issues with LTV/DTC views. The DTC feature is not ECU dependent but it does require a version attribute in the logger element or it will nag you to update the logger.xml. I suggest this version syntax for SD logger defs: viewtopic.php?t=10291&start=3Only Learning Tables is ECU dependent as it relies on ECU specific ROM addresses so there has to be a way to look it up per ECU ID. For Learning the dependency paths are as follows: 1) Ecu init -> ECU ID -> logger.xml -> AFR Correction & IAM ECU specific addresses 2) Ecu init -> ECU ID -> ecu_def.xml -> CAL ID -> ecu_def.xml -> FLKC Table Load Columns & RPM Rows
|
|
| Top |
|
 |
|
Merp
|
Post subject: Re: Learning View for 32bit SD ROMS Posted: Thu Jan 23, 2014 3:02 pm |
|
 |
| Experienced |
 |
Joined: Thu Jul 23, 2009 1:46 pm Posts: 863
|
Tested this out and DTC stuff works fine.  I don't like the idea of a version string in the definitions. Well, at least for this purpose. This kind of compatibility check should be handled by the actual content of the file rather than a single attribute that can be fudged.
_________________ Please do not send me support questions via PM, use the forum instead!
|
|
| Top |
|
 |
|
dschultz
|
Post subject: Re: Learning View for 32bit SD ROMS Posted: Thu Jan 23, 2014 6:34 pm |
|
 |
| RomRaider Developer |
Joined: Wed May 20, 2009 9:49 pm Posts: 7314 Location: Canada eh!
|
Merp wrote: I don't like the idea of a version string in the definitions. Well, at least for this purpose. This kind of compatibility check should be handled by the actual content of the file rather than a single attribute that can be fudged. Right now it's a trade-off between compatibility and flexibility. I opted for the flexibility option as the other would have left zero support for SD ROMs. It will be easy to switch to compatibility checking once the definitions catch up to the feature support.
|
|
| Top |
|
 |
|
Merp
|
Post subject: Re: Learning View for 32bit SD ROMS Posted: Thu Jan 23, 2014 11:05 pm |
|
 |
| Experienced |
 |
Joined: Thu Jul 23, 2009 1:46 pm Posts: 863
|
dschultz wrote: the other would have left zero support for SD ROMs. I disagree. That may be the case for an all-or-nothing DTD check (bad idea for this purpose), but for a well thought out check, it's quite the opposite. First load definitions as they are, then check for the dependencies when they are needed. If a dependency isn't met while loading new feature X, throw exception -> warning. In any case, its not a big deal now and I can't say I've never done anything quick & dirty myself  Thanks again for all the hard work!
_________________ Please do not send me support questions via PM, use the forum instead!
|
|
| Top |
|
 |
|
dschultz
|
Post subject: Re: Learning View for 32bit SD ROMS Posted: Thu Jan 23, 2014 11:30 pm |
|
 |
| RomRaider Developer |
Joined: Wed May 20, 2009 9:49 pm Posts: 7314 Location: Canada eh!
|
Merp wrote: First load definitions as they are, then check for the dependencies when they are needed. If a dependency isn't met while loading new feature X, throw exception -> warning. And that's exactly how it is coded. The exception/warning is presented to the user in a way that they can attempt to locate a fix with some tangible information, i.e.: a version number in this case. I agree it's not the best. It can be easily fixed (the message removed) when the defs catch up and become consolidated.
|
|
| Top |
|
 |
|
04ssti
|
Post subject: Re: Learning View for 32bit SD ROMS Posted: Fri Jan 24, 2014 12:31 am |
|
 |
| Newbie |
Joined: Sat Dec 25, 2010 6:16 pm Posts: 71
|
|
I think I missed something, but why is it when I try to use the supplied logger definitions for the merp mod with romraider it says the definition is not configured?
|
|
| Top |
|
 |
|
Merp
|
Post subject: Re: Learning View for 32bit SD ROMS Posted: Fri Jan 24, 2014 1:48 am |
|
 |
| Experienced |
 |
Joined: Thu Jul 23, 2009 1:46 pm Posts: 863
|
|
I'm able to load the latest definition for A2ZJ710J MerpMod without issues on RR 0.5.7 RC2. I still see the warning regarding logger xml version, but I'm not seeing the 'Logger definition not configured' message. Try updating everything if you're not on 0.5.7 RC2 or haven't downloaded the definition today.
_________________ Please do not send me support questions via PM, use the forum instead!
Last edited by Merp on Fri Jan 24, 2014 1:53 am, edited 1 time in total.
|
|
| Top |
|
 |
|
04ssti
|
Post subject: Re: Learning View for 32bit SD ROMS Posted: Fri Jan 24, 2014 1:52 am |
|
 |
| Newbie |
Joined: Sat Dec 25, 2010 6:16 pm Posts: 71
|
|
I will try to uninstall and re install RR. I was confident I had the most recent one.. And the earlier post with the code I would use for the RR ecu editor to load up the SD rom correct?
|
|
| Top |
|
 |
|
Merp
|
Post subject: Re: Learning View for 32bit SD ROMS Posted: Fri Jan 24, 2014 1:57 am |
|
 |
| Experienced |
 |
Joined: Thu Jul 23, 2009 1:46 pm Posts: 863
|
|
The stub might let you open up the OEM tables, but there aren't any definitions for MerpMod tables in the RR editor. The main purpose is to enable learning table view. If you're not sure what to copy over to that xml stub, open the rom in ecuflash and look at the 'ROM info' section. Also filesize should be 512kb.
_________________ Please do not send me support questions via PM, use the forum instead!
|
|
| Top |
|
 |
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
|
|