DIY PROM Do It Yourself PROM chip burning help. No PROM begging. No PROMs for sale. No commercial exchange. Not a referral service.

Editing ECU File

Thread Tools
 
Search this Thread
 
Old Jan 1, 2006 | 01:33 PM
  #1  
91GTABird's Avatar
Thread Starter
Senior Member
 
Joined: Aug 2001
Posts: 972
Likes: 0
From: Memphis, Tn
Car: 92' RS
Engine: 357
Transmission: TH350
Axle/Gears: 4.10
Editing ECU File

In the Super_8DM2.ecu file everything tempurature wise is Celcius. When i make an adjustment i have to use a conversion table to know what i want to chane it to in Farenheit. My question is, using notepad in the table below can i change (*xlabel =Deg. C) to (*xlabel =Deg F.) then change (*Factor =1.350000) leave (*offset =-40.00000) where its at and get a table thats in degrees farenheit?






/* Constant 28: EGR Enable Min. MAT Temp. */
/*|| Deg. C = Deg. F

0 = 32

10 = 50

20 = 68

30 = 86

40 = 104

50 = 122

60 = 140

70 = 158

80 = 176

90 = 194

100 = 212

110 = 230

120 = 248 ||*/
{
/*startAddr =2B0,
/*columns =1,
/*rows =1,
/*elementSize =1,
/*bitMask =0,
/*offset =-40.000000,
/*mulOrDivOrBit =0,
/*factor =0.750000,
/*map_name =EGR Enable Min. MAT Temp.,
/*ylabel =,
/*yaxis = ,
/*xlabel =Deg. C,
/*xaxis =,,
};



Thanks, Brian
Reply
Old Jan 1, 2006 | 05:26 PM
  #2  
91GTABird's Avatar
Thread Starter
Senior Member
 
Joined: Aug 2001
Posts: 972
Likes: 0
From: Memphis, Tn
Car: 92' RS
Engine: 357
Transmission: TH350
Axle/Gears: 4.10
OK, i went ahead and made a copy of the .xdf for my personal editing. I changed what i stated above and i also changed the fan temps. to deg. F also with a few other tempature related constants. When i compare them to the Deg. C settings they all seem to be accurate. Can anyone verify this. I just noticed that on ym second go around of the xdf file that it says "XDF
1.110000

DO NOT HAND EDIT!!!! (Trust me)"

Does that include something as simple as what im doing, even though its appearing to be accurate?
Reply
Old Jan 1, 2006 | 09:26 PM
  #3  
RBob's Avatar
Moderator
iTrader: (1)
 
Joined: Mar 2002
Posts: 18,432
Likes: 233
From: Chasing Electrons
Car: check
Engine: check
Transmission: check
Yes, that will work (changing the factor). When I see things such as the:

"DO NOT HAND EDIT!!!! (Trust me)"

That means the parsing is most likely in a fixed format. So, as you listed in your first post make sure the formatting of the new factor is exact. Right down to the number of decimal places and digits.

Then the locations of the spaces, such as one before the equal sign, and none after it. No space before the comma. The parser is probably very particular about what you can feed it.

RBob.
Reply
Old Jan 2, 2006 | 12:41 AM
  #4  
91GTABird's Avatar
Thread Starter
Senior Member
 
Joined: Aug 2001
Posts: 972
Likes: 0
From: Memphis, Tn
Car: 92' RS
Engine: 357
Transmission: TH350
Axle/Gears: 4.10
Great! Thats exactly the answer i was hoping for. Thanks alot Rbob I still dont know celcius except for 0* and 100*. Anything before and after is foreign to me.
Reply
Old Jan 2, 2006 | 12:43 PM
  #5  
BadDog's Avatar
Member
 
Joined: Dec 2001
Posts: 122
Likes: 0
From: Phoenix
As I said in an earlier post where I did the same thing for a 7747, I just copy/pasted the table for *C, changed the name and ID number, then loaded it in TP/RT and used the "covert C to F" function. Then pointed a new value entry to the new *F table and done... Now that ECU has both *C and *F so anyone can look at it any way they choose.
Reply
Old Jan 2, 2006 | 03:05 PM
  #6  
91GTABird's Avatar
Thread Starter
Senior Member
 
Joined: Aug 2001
Posts: 972
Likes: 0
From: Memphis, Tn
Car: 92' RS
Engine: 357
Transmission: TH350
Axle/Gears: 4.10
I cant find the Convert C* ot F* function in TP. But I found this in the TunerPro help section just now.

The template file

The template file (the XDF file in the case of TunerPro) is a file that tells the editing software how to interpret each byte in the bin file. It basically says, in plain English "the byte at location X in the bin file should be multiplied/divided/offset by W, Y, Z to come up with a real world number." For example, in a made-up bin, lets say the byte at the 215th offset (or said a different way, the 215th byte) in the bin file is F (in hex, which is 15 in decimal). For the ECM that this bin is meant for might use this byte for determining the temperature at which to turn on the engine's cooling fan. Well, 15 by itself isn't a very useful number, so the engineers who designed the computer needed to come up with some numbers with which to do math on it to turn it into a real world number. Lets say they did this:

The value held in the 215th byte should be multiplied by 1.35 and then 40 should be subtracted from it. The final number will be in degrees farenheit.
Reply
Old Jan 2, 2006 | 03:18 PM
  #7  
BadDog's Avatar
Member
 
Joined: Dec 2001
Posts: 122
Likes: 0
From: Phoenix
Open the ALDL Setup, then "Edit ALDL" button. Select a table in the left pane. Notice that on the right side there are the table cells, and below that a "Convert Table" button. The dropdown beside that has C->F and F->C in it...
Reply
Old Jan 2, 2006 | 04:25 PM
  #8  
91GTABird's Avatar
Thread Starter
Senior Member
 
Joined: Aug 2001
Posts: 972
Likes: 0
From: Memphis, Tn
Car: 92' RS
Engine: 357
Transmission: TH350
Axle/Gears: 4.10
Yeah that converts a .ads file for datalogging but does that convert a .xdf/.ecu file for .bin editing? I found some info in the help file and theres a .xdf editor in the program thats real easy to use. I dont understand yet how to edit the cloumns in the the tables section but im completeing that task by just editing "yunit and ylabels" and just manualy converting the C* to F* and inputing that into the .xdf file with notepad. Seem to be accurate.
Reply
Old Jan 2, 2006 | 04:43 PM
  #9  
BadDog's Avatar
Member
 
Joined: Dec 2001
Posts: 122
Likes: 0
From: Phoenix
Oops, sorry. Trying to catch up on posts and didn't read (or think) carefully... Got XDF/ECU and ADS crossed up...

Last edited by BadDog; Jan 2, 2006 at 04:53 PM.
Reply
Old Jan 2, 2006 | 04:50 PM
  #10  
BadDog's Avatar
Member
 
Joined: Dec 2001
Posts: 122
Likes: 0
From: Phoenix
Oh, and to edit the values in the degree column, click on the entry in "tables", then F2 (or context/xdf menu) to edit that entry, then choose the "rows" tab. You can set the row lables in there. And then the conversion tab allows you to enter the fomula. Not sure if that helps.
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
InfernalVortex
Electronics
10
Apr 20, 2021 11:31 AM
Rocket-Doc
TBI
1
Nov 14, 2015 02:08 PM
Jerzyperson
Carburetors
6
Nov 13, 2015 01:07 AM
KO1
Engine/Drivetrain/Suspension Parts for Sale
16
Oct 15, 2015 05:00 PM
Linson
Auto Detailing and Appearance
26
Sep 21, 2015 01:08 PM




All times are GMT -5. The time now is 08:04 AM.