Ecm Pin Addressing in source code
Thread Starter
Joined: Jul 1999
Posts: 12,089
Likes: 125
From: SALEM, NH
Car: '88 Formula
Engine: LC9
Transmission: 4L60E
Axle/Gears: 3.89 9"
Ecm Pin Addressing in source code
Grumpy, RRob, anyone. Are you guys familiar with ECM pin addressing in the code?
Has anyone nested deep enough to know how to re-address what pins do what? For example. Say C1 is temperature, move it to another ECM pin? (that is capable of the same functionality of course).
I'd imagine the way the ECM works the pins are just identified as memory addresses and you read/write to them like that, but I maybe wrong and I havn't dived enough to know. But if someone could save me a _little_ time that would be awesome.
There is a couple of things I want to do to $58 on my car, including import the oil-temp routines from $8D on a '727.
-- Joe
Has anyone nested deep enough to know how to re-address what pins do what? For example. Say C1 is temperature, move it to another ECM pin? (that is capable of the same functionality of course).
I'd imagine the way the ECM works the pins are just identified as memory addresses and you read/write to them like that, but I maybe wrong and I havn't dived enough to know. But if someone could save me a _little_ time that would be awesome.
There is a couple of things I want to do to $58 on my car, including import the oil-temp routines from $8D on a '727.
-- Joe
Supreme Member
Joined: Jun 2000
Posts: 7,554
Likes: 1
From: In reality
Car: An Ol Buick
Engine: Vsick
Transmission: Janis Tranny Yank Converter
If you can find an unused A/D channel the you *can* use it for anything using the same type input.
In the Syclones, they use TPS 2 for the WB input. I'd suggest looking at the WB patch for addition info on how to hook it into the code. They use F14 for the additional input. More then that and you'll have to find the patch. There are two versions of the patch, an early and a late. You want the later.
That's all I can offer on doing that.
In the Syclones, they use TPS 2 for the WB input. I'd suggest looking at the WB patch for addition info on how to hook it into the code. They use F14 for the additional input. More then that and you'll have to find the patch. There are two versions of the patch, an early and a late. You want the later.
That's all I can offer on doing that.
Thread Starter
Joined: Jul 1999
Posts: 12,089
Likes: 125
From: SALEM, NH
Car: '88 Formula
Engine: LC9
Transmission: 4L60E
Axle/Gears: 3.89 9"
I'll check that out.
One of the first things I'd like to do is modify the input/output pins to match a '730 exactly. Then I can switch between $58 and $8d (changing maps of course) quickly..
Plus I think a lot of folks would like it if a modified version of $58 didnt require a repin. Even if its only a few pins.
-- Joe
One of the first things I'd like to do is modify the input/output pins to match a '730 exactly. Then I can switch between $58 and $8d (changing maps of course) quickly..
Plus I think a lot of folks would like it if a modified version of $58 didnt require a repin. Even if its only a few pins.
-- Joe
Thread Starter
Joined: Jul 1999
Posts: 12,089
Likes: 125
From: SALEM, NH
Car: '88 Formula
Engine: LC9
Transmission: 4L60E
Axle/Gears: 3.89 9"
Bruce,
The only patch I found was in binary and used an .exe to patch a bin file. I was hoping for some heavily commented original source code. Any ideas?
-- Joe
The only patch I found was in binary and used an .exe to patch a bin file. I was hoping for some heavily commented original source code. Any ideas?
-- Joe
Supreme Member
Joined: Jun 2000
Posts: 7,554
Likes: 1
From: In reality
Car: An Ol Buick
Engine: Vsick
Transmission: Janis Tranny Yank Converter
Originally posted by anesthes
The only patch I found was in binary and used an .exe to patch a bin file. I was hoping for some heavily commented original source code. Any ideas?
The only patch I found was in binary and used an .exe to patch a bin file. I was hoping for some heavily commented original source code. Any ideas?
Heavily commented Source Code, is just about non existant in the Public domain.
Thread Starter
Joined: Jul 1999
Posts: 12,089
Likes: 125
From: SALEM, NH
Car: '88 Formula
Engine: LC9
Transmission: 4L60E
Axle/Gears: 3.89 9"
Bruce,
I searched and searched. Only one I found was a 98k binary, and used a "patcher.exe" program to patch the bin file. No source, no comment.
-- Joe
I searched and searched. Only one I found was a 98k binary, and used a "patcher.exe" program to patch the bin file. No source, no comment.
-- Joe
Trending Topics
Thread Starter
Joined: Jul 1999
Posts: 12,089
Likes: 125
From: SALEM, NH
Car: '88 Formula
Engine: LC9
Transmission: 4L60E
Axle/Gears: 3.89 9"
Thanks!
I've been looking at the hack. I think I might have an idea of how to change them assuming the "channels" are the same on '730 vs '749, but I still would need a reference to idenfity each pin.
Looks like the code references the channels throughout the code, but if I have an idea of what they are suposed to be I think I can recursively change them around.
I really need an ECM test bench
Anything you can dig up would be appreciated.
-- Joe
I've been looking at the hack. I think I might have an idea of how to change them assuming the "channels" are the same on '730 vs '749, but I still would need a reference to idenfity each pin.
Looks like the code references the channels throughout the code, but if I have an idea of what they are suposed to be I think I can recursively change them around.
I really need an ECM test bench

Anything you can dig up would be appreciated.
-- Joe
There is one other issue. Its not a terriably big one but one to consider none the less. There is almost always a pull up or down from ground or the 5v ref for every sensor. The impedences of each sensor are of course tied to there function on the a/d conbverter channel. IF you look at ludis site you can see that the tps, map and ect all have different pull down values. So while your moving pins around make sure to match those impedences to the correct sensor etc. I think i might have a list of ram adress's ill look around.
Thread Starter
Joined: Jul 1999
Posts: 12,089
Likes: 125
From: SALEM, NH
Car: '88 Formula
Engine: LC9
Transmission: 4L60E
Axle/Gears: 3.89 9"
Hey,
Yeah I can see concerns - however what I'm trying to do first and formost (before getting too deep) is keeping the '730 wiring ON a '730, using $58 code. There is absolutely no reason in my mind why that would cause any hardware issues. Now if I was trying that in a '749 i'd be worried.
Then I'll try and add a sensor or two.
-- Joe
Yeah I can see concerns - however what I'm trying to do first and formost (before getting too deep) is keeping the '730 wiring ON a '730, using $58 code. There is absolutely no reason in my mind why that would cause any hardware issues. Now if I was trying that in a '749 i'd be worried.
Then I'll try and add a sensor or two.

-- Joe
Supreme Member
Joined: Jun 2000
Posts: 7,554
Likes: 1
From: In reality
Car: An Ol Buick
Engine: Vsick
Transmission: Janis Tranny Yank Converter
Thread Starter
Joined: Jul 1999
Posts: 12,089
Likes: 125
From: SALEM, NH
Car: '88 Formula
Engine: LC9
Transmission: 4L60E
Axle/Gears: 3.89 9"
Thanks guys,
I think I have the A/D channel stuff figured out. I've been comparing commented $8D to $58 at the A/D channels that are the same (tps, map, and so on).
However, the pins I _want_ to change I can't seem to find.. I'll keep poking around.
I'm gonna try and import the '727 oil temp routines cuz I wanna toss one of those in my oil pan.
I have a question for <B>Grumpy</B>: Moates datalogger reports 2 mat's, and they both report different temps. Yet, my '730 TPI setup has one MAT sensor. What gives?
I'd like to add a second mat, right before my blower to get a better idea of before after temps, and blower efficiency.
-- Joe
I think I have the A/D channel stuff figured out. I've been comparing commented $8D to $58 at the A/D channels that are the same (tps, map, and so on).
However, the pins I _want_ to change I can't seem to find.. I'll keep poking around.
I'm gonna try and import the '727 oil temp routines cuz I wanna toss one of those in my oil pan.
I have a question for <B>Grumpy</B>: Moates datalogger reports 2 mat's, and they both report different temps. Yet, my '730 TPI setup has one MAT sensor. What gives?
I'd like to add a second mat, right before my blower to get a better idea of before after temps, and blower efficiency.
-- Joe
Supreme Member
Joined: Jun 2000
Posts: 1,612
Likes: 0
From: the garage
Car: 84 SVO
Engine: Volvo headed 2.3T
Transmission: WCT5
Axle/Gears: 8.8" 3.73
Heres a WB patch..
http://www.tragacs.com/wbo2.html
Off same site..
------------------------
"An other quite nice option is hacking the stock ECM to log the output of the wide band controller. Dig developped this, Leroy gave a crystal clear explanation to it and I use it. :-) A bunch of thanks to them! The motorollas assembly was dissasembled and an unused A/D channel (the fuel pump's, EMC F14 connector) was used, filtered and put into the ALDL stream so you can check it under "AFR tgt". This way you can follow you actual AFR in DM. Here comes the code itself."
000152: 20
0007C2: 01,A0
0007DC: 01,84
0014C6: 86,50,BD,FB,39
003B39: bd,f4,b3,36,37,4f,bd
003B40: f4,b3,b7,01,a0,fe,01,a0,f6,c1,52,bd,f5,99,fd,01
003B50: a0,f6,01,a0,c0,46,24,01,5f,c1,46,25,02,c6,46,ce
003B60: fb,70,3a,a6,00,b7,01,84,33,32,39,01,01,01,01,01
003B70: 64,65,65,66,66,67,67,68,68,69,6A,6A,6B,6C,6C,6D
003B80: 6D,6E,6F,70,71,71,72,72,73,74,75,76,77,78,78,79
003B90: 7A,7B,7B,7C,7D,7E,7F,80,81,82,82,83,84,85,86,87
003BA0: 89,8A,8B,8C,8D,8E,8F,90,92,93,95,97,98,9B,9D,9F
003BB0: A2,A5,A7,AA,AD,B0,B3,B9
On the left side are the hex addresses, where you should change the code to the one on the right side. This code has the improvement over the original one that it will display the actual AFR in your "AFR tgt" field. Also note that this code is using the ECM's test mode code area, so you won't be able to put the ECM in test mode any more. Not an issue IMHO.
*
This code will only work with the DIY-WB unit but you can make it work with the TechEdge unit as well. You can check the calibration of your code to compare Vout to the readings in DM. The translation table starts at 003B70s with 0x64, which is decimal 100, which is AFR 10.0. It ends at 003BB0 with 0xB9 which is decimal 185, which is AFR 18.5. Following this logic AFR 14.7 is 0x93. So if your Vout is 2.50V you should see 14.7 in your "AFR tgt" field. If the two values don't mach you can recalibrate the code as you whish.
*
Pls note that license agreement of the above code. This code is for non-commercial purposes only. License granted free of charge to non-commercial users only. No commercial license is offered.
---------------------------------------
BW
http://www.tragacs.com/wbo2.html
Off same site..
------------------------
"An other quite nice option is hacking the stock ECM to log the output of the wide band controller. Dig developped this, Leroy gave a crystal clear explanation to it and I use it. :-) A bunch of thanks to them! The motorollas assembly was dissasembled and an unused A/D channel (the fuel pump's, EMC F14 connector) was used, filtered and put into the ALDL stream so you can check it under "AFR tgt". This way you can follow you actual AFR in DM. Here comes the code itself."
000152: 20
0007C2: 01,A0
0007DC: 01,84
0014C6: 86,50,BD,FB,39
003B39: bd,f4,b3,36,37,4f,bd
003B40: f4,b3,b7,01,a0,fe,01,a0,f6,c1,52,bd,f5,99,fd,01
003B50: a0,f6,01,a0,c0,46,24,01,5f,c1,46,25,02,c6,46,ce
003B60: fb,70,3a,a6,00,b7,01,84,33,32,39,01,01,01,01,01
003B70: 64,65,65,66,66,67,67,68,68,69,6A,6A,6B,6C,6C,6D
003B80: 6D,6E,6F,70,71,71,72,72,73,74,75,76,77,78,78,79
003B90: 7A,7B,7B,7C,7D,7E,7F,80,81,82,82,83,84,85,86,87
003BA0: 89,8A,8B,8C,8D,8E,8F,90,92,93,95,97,98,9B,9D,9F
003BB0: A2,A5,A7,AA,AD,B0,B3,B9
On the left side are the hex addresses, where you should change the code to the one on the right side. This code has the improvement over the original one that it will display the actual AFR in your "AFR tgt" field. Also note that this code is using the ECM's test mode code area, so you won't be able to put the ECM in test mode any more. Not an issue IMHO.
*
This code will only work with the DIY-WB unit but you can make it work with the TechEdge unit as well. You can check the calibration of your code to compare Vout to the readings in DM. The translation table starts at 003B70s with 0x64, which is decimal 100, which is AFR 10.0. It ends at 003BB0 with 0xB9 which is decimal 185, which is AFR 18.5. Following this logic AFR 14.7 is 0x93. So if your Vout is 2.50V you should see 14.7 in your "AFR tgt" field. If the two values don't mach you can recalibrate the code as you whish.
*
Pls note that license agreement of the above code. This code is for non-commercial purposes only. License granted free of charge to non-commercial users only. No commercial license is offered.
---------------------------------------
BW
Thread
Thread Starter
Forum
Replies
Last Post
1Aauto
Sponsored Vendors
10
Apr 9, 2018 03:00 PM
IROCZDAVE (88-L98)
Engine/Drivetrain/Suspension Parts for Sale
1
Nov 19, 2015 07:03 AM
IROCZDAVE (88-L98)
Engine/Drivetrain/Suspension Parts for Sale
0
Sep 2, 2015 08:43 AM





