The Subaru SVX World Network

The Subaru SVX World Network (https://www.subaru-svx.net/forum/index.php)
-   Technical Q & A (https://www.subaru-svx.net/forum/forumdisplay.php?f=5)
-   -   Memory dump of ECU (https://www.subaru-svx.net/forum/showthread.php?t=38685)

b3lha 08-18-2008 04:08 AM

Re: Memory dump of ECU
 
Tom,

I have an idea to make a special cable that will allow a laptop and a select monitor to be plugged in at the same time. Then we can see on the laptop screen exactly what commands the select monitor is sending to the car and what replies the ECU is sending back.

If I can build the cable and send it to you, would you be willing to give it a try with your select monitor? I just need to go to the Subaru breaker and get hold of three of the yellow female diagnostic connectors and one radio harness connector, then splice them together in the right way.

Phil.

TomsSVX 08-18-2008 09:21 AM

Re: Memory dump of ECU
 
Quote:

Originally Posted by b3lha (Post 560436)
Tom,

I have an idea to make a special cable that will allow a laptop and a select monitor to be plugged in at the same time. Then we can see on the laptop screen exactly what commands the select monitor is sending to the car and what replies the ECU is sending back.

If I can build the cable and send it to you, would you be willing to give it a try with your select monitor? I just need to go to the Subaru breaker and get hold of three of the yellow female diagnostic connectors and one radio harness connector, then splice them together in the right way.

Phil.

Surely I can and will;)

tom

b3lha 08-19-2008 07:26 AM

Re: Memory dump of ECU
 
1 Attachment(s)
Updated version of the ecu_defs.xml file for RomRaider.

This version works directly on the 32K files download by the Snowmobile software without needing to expand them to 64K. Unzip it and use it instead of the one that comes with RomRaider.

TomsSVX 08-19-2008 07:58 AM

Re: Memory dump of ECU
 
Thanks Phil... I will try dumping another car today if I have time.

Tom (still waiting for my EvoScan cable to show up)

Tim 08-19-2008 08:40 AM

Re: Memory dump of ECU
 
Quote:

Originally Posted by TomsSVX (Post 560612)
Thanks Phil... I will try dumping another car today if I have time.

Tom (still waiting for my EvoScan cable to show up)

Good news is I have my EEPROM eraser.

No writer/reader though :(.

b3lha 08-19-2008 10:18 AM

Re: Memory dump of ECU
 
1 Attachment(s)
Somebody asked me how I produced the excel graph showing the maps in the ECU. Here is the procedure for anyone who wants to try it.

1) Extract your ROM to a file using the Snowmobile software.
2) Download the attached mapex.zip file and unzip it into the directory with the ROM file. There are two files, MAPEX.EXE and MAPEX.XLS

3) Run the MAPEX.EXE program to extract the maps into a CSV (comma separated values) file. You specify the filenames like this:
Code:

MAPEX SVXROM.HEX SVXROM.CSV
4) Then run Excel and open the SVXROM.CSV file and also the MAPEX.XLS. I am using Excel 2000.

5) Go to the CSV page. Highlight the Fuel Map, cells A4 through Q20 and click Copy. Now go to the MAPEX.XLS page, select the "Fuel Map" tab, highlight the cells A4 through Q20 and click Paste. The graph should update automatically.

6) Go to the CSV page. Highlight the Base Timing Map, cells A23 through Q39 and click Copy. Now go to the MAPEX.XLS page, select the "Base Timing Map" tab, highlight the cells A4 through Q20 and click Paste. The graph should update automatically.

7) Go to the CSV page. Highlight the Max Advance Map, cells A42 through Q58 and click Copy. Now go to the MAPEX.XLS page, select the "Max Advance Map" tab, highlight the cells A4 through Q20 and click Paste. The graph should update automatically.

I have set the default values in mapex.xls to the USDM maps that Nomake Wan sent me. If your ROM is from a USDM car, most likely they will be the same. However, if you have modified your maps in Rom Raider then you will be able to plot graphs of them using this method.

I've been thinking about trying the stock UK and USDM maps in my JDM car to see which set of maps gives the best performance. But I am busy at present so it will have to wait for a while.

Phil.

TomsSVX 09-04-2008 10:59 AM

Re: Memory dump of ECU
 
EvoScan is operational... Finally

So hopefully today after I get some work (yea actual work :rolleyes:) done I can take a couple runs while data logging... Only problem is... I REALLY need to monitor my knock correction but it seems to not work correctly... any ideas would be great

Tom

TomsSVX 09-05-2008 01:34 PM

Re: Memory dump of ECU
 
Just a little FYI the Evoscan cable is working and working well on my 92... I want to test it on a totally stock 92 since mine has the ECUtune adaptor and I have next to no idea what year this ECU came out of:rolleyes:

Tom

genzzel 09-09-2008 05:54 PM

Re: Memory dump of ECU
 
Hi All---Through the invaluable help of Phil and Tom the following are the correct addresses and calc's that are working in EvoScan for the SVX. Hamish is still stuck on wrong addresses--probably for legacy or imprezza.

Batt volts 12A2 x*0.08 volts
Veh speed 12A4 x*1.242742384 mph
Eng speed 1290 x*25 rpm
Coolant temp 1185 (9/5)*(x-50)+32 degF
Ign advance 10A2 x deg BTDC
Air flow sensor 1283 x*5/256 volts
Engine load 1282 x units
Throttle position 128C x*5/256 volts
Injector pulse width 1306 x*256/1000 ms
ISU duty valve 1290 x*100/256 %dc
O2 avg right 1291 x*5000/512 mV
O2 avg left 1292 x*5000/512 mV
Knock correction 12A7 x-128 deg
Air/Fuel correction 12AD x-128 %

O2 sensor avg is actually the instantaneous reading.

hope this is of value:D

b3lha 09-10-2008 07:50 AM

Re: Memory dump of ECU
 
Thanks Kevin,

I think the formula for MAF, TPS etc should actually be x*100/255, so that the maximum value of 255 equates to 5.0 volts. But it is as close as makes no real difference.

Have you tried to construct a good Evoscan "dashboard configuration" for the SVX?

b3lha 09-10-2008 08:14 AM

Snowmobile software ECU dumps
 
1 Attachment(s)
It has come to my attention that the Polaris snowmobile software is not 100% perfect for downloading our ECU ROMs. I have seen two dumps that got corrupted.

It was just a single address where the software had got out of sync and picked up part of the address rather than the data from the ECU response. One byte out of 32768 doesn't sound like much but it could cause problems if the download gets used as the basis for a modified ROM and written back to the ECU.

For that reason, I suggest verifying the checksum of the ROM after downloading it. Attached is a utility for Windows and Linux that can be used to verify the ECU checksum.

The ECU and TCU both have checksums in their ROMS and routines to check them. But I can't figure out how to trigger those routines. I think they may be part of some internal self-test mode.

If you modify a ROM, it makes sense to set the checksum correctly before writing it back to the ECU, although it will still work if you don't.

Just to clarify the upgrade procedure:

1) Download ROM to file
2) Verify Checksum of file is correct
3) Modify file as desired
4) Update Checksum in file
5) Burn file to EEPROM and install in ECU.

TomsSVX 09-10-2008 08:28 AM

Re: Snowmobile software ECU dumps
 
thanks Phil, appreciate the input.

On a seperate note, seems my knock correction utylity in EVOScan was working after all. Torture testing with the select monitor showed 0 deg pulled out of the advance even under heavy loads. I have recalculated load in evoscan too to accept the new levels. Now it is just being able to re-write them....

Tom

genzzel 09-10-2008 09:54 AM

Re: Memory dump of ECU
 
LOL--No dash of gauges yet-maybe this weekend:p

genzzel 09-10-2008 07:20 PM

Re: Memory dump of ECU
 
Just thinking--is there an address and calc for the trans temp that we could input????

TomsSVX 09-10-2008 07:36 PM

Re: Memory dump of ECU
 
sure there is... but it is in the TCU... I wonder if you can send/recieve from the TCU and ECU at the same time... Phil... do you know the command to read the TCU addresses??

Tom


All times are GMT -6. The time now is 07:20 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
© 2001-2015 SVX World Network
(208)-906-1122