Simple map extractor

Software used for ECU editing

Simple map extractor

Postby ECUmenic » Mon Apr 26, 2021 10:27 am

Hello all

I'm sure the things I create will seem overly simple and naive, but I'll share them as I go in case they help others on the same journey as me.

This simple map extractor came about because I have three ECUs for the same vehicle (2003-2008 Touran) that I am comparing after finding two of them online from various people :thumbup: :
  • 03G906016AL - ECU for the 2004 AZV 100kW engine extracted from my car that I want to alter
  • 03G906016EH - ECU for later AZV 100kW engines, which has quite different layout to AL
  • 03G906016BQ - ECU for BKD 103kW engine with very similar layout to EH

Because they are exactly the same engine components, turbo, no DPF etc, just different production times and power outputs, I thought comparing the equivalent map for each engine would help me understand what changes are important for the modest power difference of 100kW to 103kW, and help me understand how to map to my (also modest) 115kW target.

Of course while in the whole flash image the maps are buried in lots of other changes so it wasn't so easy to compare them, so I wanted a set of files giving each individual map. By using the same filename for each map in an ECU specific folder it is easy for a comparison tool like Beyond Compare to show me what is the same or different in each folder and quickly steer me to (say) the Torque Limiter for each ECU.

I used the online EDC Master tool to get a list of maps that it could identify with their location and size. That gave me the data that goes on the command line to extract each map, like:
  • mapdump -t 03G906016BQ-BKD.bin TL.txt DDD7A 21 3

For me it's working very well. It helped me understand which maps have:
  • stayed exactly the same across the three generations (and so probably don't need my immediate attention)
  • probably irrelevant differences (adjustment of +/- 1 on ~200 so maybe some rounding effect of the ECU flash build compiler?)
  • some changes that look like "bug fixes" (310 becomes 320, maybe it made later cars a bit smoother to drive?)
  • more meaningful differences that I can see lift the power a little (TL, SoI, boost, etc).

By having these "fragments" I plan to create another utility that will patch a map from one ECU into another once I'm happy that it is compatible. That will let me quite easily experiment with changing one or more areas without having so many flash files I quickly lose track of what is in where.

ECUmenic
New user
 
Posts: 11
Joined: Sat Apr 03, 2021 1:22 pm
Location: United Kingdom

Re: Simple map extractor

Postby ECUmenic » Mon Apr 26, 2021 10:46 am

Ooops, working across 2 PCs and the wrong file got attached. My attempt to edit it seems to have lost it completely, so here it is.

I also meant to add an example of the output. It is just the "raw" 16-bit values of the table. No axes headings, scale modified (like divide by 10). So that TL table look like:

0 0 1850 ... 3020 2880 2810 2720 2150 1440 0
0 0 1850 ... 3140 3000 2930 2840 2270 1440 0
0 0 1850 ... 3200 3060 2990 2900 2330 1440 0
You do not have permissions to view the files yet. You have to be registered and you have to make at least 3 quality / unique posts.

ECUmenic
New user
 
Posts: 11
Joined: Sat Apr 03, 2021 1:22 pm
Location: United Kingdom

Re: Simple map extractor

Postby ECUmenic » Mon Apr 26, 2021 1:50 pm

New version that will show the table axis values if they appear directly before the actual map data (when using the -t output format).

You have to know that the axis values are in the file immediately before the actual data. If they aren't or to omit them anyway then use -v output format to get just the data values with no attempt to show axis values. I've trusted ECU Master's "virtual map" indicator to decide when to use this option.

The axis values are very handy for data that may look different, but is caused by the x- or y-axis points being changed rather than different values for the same x-y point. For example one table might have columns like 1000, 1250, 1500, 1700, 1800 while it's equivalent has 1000, 1300, 1500, 1800, 2000. By aliging the common columns (1000, 1500, 1800) you see that they have the same content, and the other columns match well if interpolated to their relative position.
You do not have permissions to view the files yet. You have to be registered and you have to make at least 3 quality / unique posts.

ECUmenic
New user
 
Posts: 11
Joined: Sat Apr 03, 2021 1:22 pm
Location: United Kingdom

Re: Simple map extractor

Postby ECUmenic » Tue Apr 27, 2021 2:20 pm

My latest addition is the ability to transpose the rows-to-columns when printing the table. I find that very useful when looking at maps that had RPM as the y-axis. By making it the x-axis it is very easy to open tables in Notepad and align a same or similar RPM value to then read down and understand (for example) what Nm or IQ values would be selected from each table for the RPM depending on the relevant row.

The -x option does the transpose.

I've started adding the EXE to the zip for those that don't have a compiler to hand.
You do not have permissions to view the files yet. You have to be registered and you have to make at least 3 quality / unique posts.

ECUmenic
New user
 
Posts: 11
Joined: Sat Apr 03, 2021 1:22 pm
Location: United Kingdom

Re: Simple map extractor

Postby 3rdhonkGo » Wed Jul 28, 2021 7:58 pm

keep up the good work,
Thank You!

3rdhonkGo
New user
 
Posts: 3
Joined: Fri Jul 23, 2021 6:16 am
Location: America


Return to ECU Tuning Software

Who is online

Users browsing this forum: No registered users and 1 guest