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

Learning more about the ECM

Thread Tools
 
Search this Thread
 
Old Dec 17, 2003 | 02:42 PM
  #1  
BJM's Avatar
BJM
Thread Starter
Junior Member
 
Joined: Dec 2003
Posts: 46
Likes: 0
Learning more about the ECM

This is my first post here and I have to say this board has a tremendous amount of technical depth, you guys are lucky. I have learned that this is the place to go for GM ECM help.

I actually drive an 87 GN and have recently been learning to make my own PROMs. I have had a lot of success playing with the look-up tables. Basically its a MAF type car similar to many of you guys here.

I want to understand the code. I have been struggling to learn assembler and have a well documented listing of what's in my ECM. I followed the code from power on reset through to an infinite loop. I think it must sit there until some type of interrupt occurs which makes it jump somewhere else. I want to know if there are any good references on how GM implemented the basic operation of the code? I am not a software type but am willing to learn.

I hope GN guys are allowed here.
Reply
Old Dec 17, 2003 | 02:58 PM
  #2  
1bad91Z's Avatar
Supreme Member
iTrader: (1)
 
Joined: Jul 2001
Posts: 4,627
Likes: 5
From: Houston Area
Car: Faster
Engine: Than
Transmission: You!
Welcome to TGO ! There are a couple of GN guys here and ALOT of smart people here (especially on the DIY-PROM board)!

I'm sure you can get any answer you need here.

What program are you using to tune your .bin's with?
Reply
Old Dec 17, 2003 | 04:06 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
Here is a thread that has a blurb on the basic operation of the kernel:

https://www.thirdgen.org/techbb2/sho...+AND+interrupt

I know there is another thread that goes into more detail on the kernel but didn't find it. See the sticky's at the top of this forum for a bunch of good info. Should get you started.

RBob.
Reply
Old Dec 17, 2003 | 08:50 PM
  #4  
BJM's Avatar
BJM
Thread Starter
Junior Member
 
Joined: Dec 2003
Posts: 46
Likes: 0
Thanks for the links, I will study them.

I forgot to mention I normally hang around TurboBuick.com, I think I recognize Grumpy from there.

As far as editing goes, I tried the TunerCat trial version. I found the TunerPro interface better but on my computer its not stable for some reason, it crashes every few minutes. The main reason I got into PROMS was because my MAF tables were rich on the bottom end and lean at the top. I can't figure out how to get the TunerPro ECU file to incorporate the MAF table scalars, I have to hard code the scalar for each table in the ECU file.

Other than editors I have been doing some brute force Hex editing.

My winter task is to understand the ECM code.
Reply
Old Dec 17, 2003 | 09:13 PM
  #5  
Grumpy's Avatar
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 BJM
I forgot to mention I normally hang around TurboBuick.com, I think I recognize Grumpy from there.

As far as editing goes, I tried the TunerCat trial version. I found the TunerPro interface better but on my computer its not stable for some reason, it crashes every few minutes. The main reason I got into PROMS was because my MAF tables were rich on the bottom end and lean at the top. I can't figure out how to get the TunerPro ECU file to incorporate the MAF table scalars, I have to hard code the scalar for each table in the ECU file.

Other than editors I have been doing some brute force Hex editing.

My winter task is to understand the ECM code.
I'd suggest you investigate the 1227749 like the Syclone's use.
Either way an ecm bench is a real time saver.

The 749 has all the code in a memcal is alot easier to work with if you want to modify the code later. Not to mention the faster ALDL, and no MAF.
Attached Thumbnails Learning more about the ECM-complete.jpg  
Reply
Old Dec 18, 2003 | 04:32 PM
  #6  
11sORbust's Avatar
Supreme Member
 
Joined: Nov 2003
Posts: 1,399
Likes: 0
From: STL area
WOW!!!
Reply
Old Dec 18, 2003 | 09:32 PM
  #7  
JP84Z430HP's Avatar
Supreme Member
25 Year Member
 
Joined: Feb 2000
Posts: 1,416
Likes: 0
From: Johnstown, Ohio
Car: 84 Z28
Engine: 355 (fastburn heads, LT4 HOT cam)
Transmission: 700R4
Axle/Gears: 9-bolt, 3.27
I know I'm off topic here, but man that looks fast Grumpy!

Back to topic.... How difficult is it to get the syty code to run with DIS? This is of course for WAY future projects......
Reply
Old Dec 20, 2003 | 02:23 AM
  #8  
Morley's Avatar
Supreme Member
 
Joined: May 2002
Posts: 4,099
Likes: 2
Originally posted by JP84Z430HP
I know I'm off topic here, but man that looks fast Grumpy!

Looks like Barney, the purple dinosaur.

The DIS operation has been done with other ECM's that used distributors, There was a bit of code re-writeing to do but it supposedly works good.
Reply
Old Dec 20, 2003 | 09:03 AM
  #9  
Grumpy's Avatar
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 Morley

The DIS operation has been done with other ECM's that used distributors, There was a bit of code re-writeing to do but it supposedly works good.
What rewriteing was needed?.
Which other ecms?.
Reply
Old Dec 20, 2003 | 10:55 AM
  #10  
SATURN5's Avatar
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
Originally posted by Grumpy
I'd suggest you investigate the 1227749 like the Syclone's use.
Either way an ecm bench is a real time saver.

The 749 has all the code in a memcal is alot easier to work with if you want to modify the code later. Not to mention the faster ALDL, and no MAF.
Hehe.... First look at the new 4.1 boogie monster.

I need to get busy with the 383..

BW

Last edited by SATURN5; Dec 20, 2003 at 10:57 AM.
Reply
Old Dec 20, 2003 | 03:14 PM
  #11  
Morley's Avatar
Supreme Member
 
Joined: May 2002
Posts: 4,099
Likes: 2
Originally posted by Grumpy
What rewriteing was needed?.
Which other ecms?.
Someone on the GMECM list had done a hack and patch of one of the TBI ECM's to run DIS. Don't remember their name but they did get it working (according to them) with a bit of work.
Reply
Old Dec 20, 2003 | 03:34 PM
  #12  
JPrevost's Avatar
Senior Member
 
Joined: Oct 1999
Posts: 6,621
Likes: 2
Car: 91 Red Sled
Axle/Gears: 10bolt Richmond 3.73 Torsen
Originally posted by Morley
Someone on the GMECM list had done a hack and patch of one of the TBI ECM's to run DIS. Don't remember their name but they did get it working (according to them) with a bit of work.
Could you try really really hard to remember there name . I wouldn't mind trying this out if it allows me to run either wasted spark or CNP.
Reply
Old Dec 20, 2003 | 05:56 PM
  #13  
Morley's Avatar
Supreme Member
 
Joined: May 2002
Posts: 4,099
Likes: 2
Originally posted by JPrevost
Could you try really really hard to remember there name . I wouldn't mind trying this out if it allows me to run either wasted spark or CNP.
Wish I could remember, I know it was asked by a member and he was reffered to someone else on the list that said they had it working (on a TBI application). About all I can tell you is that it was posted a few months before the list went belly up and the person that had it working was someone that post to the list much any more...wish it could be more info.
Reply
Old Dec 20, 2003 | 06:35 PM
  #14  
Grumpy's Avatar
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 Morley
Someone on the GMECM list had done a hack and patch of one of the TBI ECM's to run DIS. Don't remember their name but they did get it working (according to them) with a bit of work.
Maybe someone needs to ask Barney then.

http://home.woh.rr.com/brucesgn/749togn/
Attached Thumbnails Learning more about the ECM-oldecm.jpg  
Reply
Old Dec 20, 2003 | 06:44 PM
  #15  
Grumpy's Avatar
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 JPrevost
Could you try really really hard to remember there name . I wouldn't mind trying this out if it allows me to run either wasted spark or CNP.
eDist allows either.

DIS for a v8 using GM stuff means Northstar, and they're $$$.
Unless you want to use dual ecms/sensors. Or develope a Klingon Language Translator.

GM's done about all the combos, you can imagine, you just need to poke around the junkyards to find them thou. Then it's just a matter of pasting the pieces together. That sometimes is easier then what you might imagine, it's generally a matter of looking closely to see what's going on.
Reply
Old Dec 20, 2003 | 06:46 PM
  #16  
Grumpy's Avatar
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 SATURN5
First look at the new 4.1 boogie monster.
It's actually a 4.202L
Or for most folks, justa v6.
Reply
Old Dec 20, 2003 | 09:52 PM
  #17  
JPrevost's Avatar
Senior Member
 
Joined: Oct 1999
Posts: 6,621
Likes: 2
Car: 91 Red Sled
Axle/Gears: 10bolt Richmond 3.73 Torsen
Originally posted by Grumpy
eDist allows either.

DIS for a v8 using GM stuff means Northstar, and they're $$$.
Unless you want to use dual ecms/sensors. Or develope a Klingon Language Translator.

GM's done about all the combos, you can imagine, you just need to poke around the junkyards to find them thou. Then it's just a matter of pasting the pieces together. That sometimes is easier then what you might imagine, it's generally a matter of looking closely to see what's going on.
Yeah I know about the eDist but I really don't like the price. If it came with the coils and wiring harness then I'd be all over it. The fact that $300 for that little box plus the coils plus time mounting and wiring = not worth it just yet. My valve springs are the softest little pieces of junk that having CNP would result in zero results. Besides, I think it's fun telling people exactly what I have done to the car and them saying... and msd right?... nope, stock 180k mile dizzy and coil .
Eaton m112 might need a little more spark energy .
Reply
Old Dec 20, 2003 | 11:00 PM
  #18  
funstick's Avatar
Supreme Member
 
Joined: Jun 2002
Posts: 1,787
Likes: 0
From: great lakes
if you wanna talk about the 60* v6 and the 4cyl modules. the problem with those is that they cant calcutalte dwell for advance greater then 30* btdc. aarrgghh so you have to retard the timming 60* atdc to get 30btdc advance. does that makes snes ? no but thats how they do it. not to mention that the Ref pulse comes out at TDC. so the module is always one cycle behind the ECM. ill have to get off my lazy *** and post up the data ive got together on this in the near future. Since there are some folks hording it up.

Id like to get the 90* v6 3.8 timming vs ref vs EST line stuff together as well as the stuff for the n* and the lt5. but im wiating to get an actuall lt5 module to figure that pos out.
Reply
Old Dec 20, 2003 | 11:12 PM
  #19  
JP84Z430HP's Avatar
Supreme Member
25 Year Member
 
Joined: Feb 2000
Posts: 1,416
Likes: 0
From: Johnstown, Ohio
Car: 84 Z28
Engine: 355 (fastburn heads, LT4 HOT cam)
Transmission: 700R4
Axle/Gears: 9-bolt, 3.27
Originally posted by funstick
if you wanna talk about the 60* v6 and the 4cyl modules. the problem with those is that they cant calcutalte dwell for advance greater then 30* btdc. aarrgghh so you have to retard the timming 60* atdc to get 30btdc advance. does that makes snes ? no but thats how they do it. not to mention that the Ref pulse comes out at TDC. so the module is always one cycle behind the ECM. ill have to get off my lazy *** and post up the data ive got together on this in the near future. Since there are some folks hording it up.

Id like to get the 90* v6 3.8 timming vs ref vs EST line stuff together as well as the stuff for the n* and the lt5. but im wiating to get an actuall lt5 module to figure that pos out.
Well, the retard 60* to get 30* advance does make sense, but only after you mention that it's one cycle behind. So, the code spits out the new timing value, and it takes until the next cycle for it to update? Why it works this way is more in question than anything. It would seem they could it the same as a regular HEI module. Hmm....Maybe I need to think about it more.....

I bet that LT5 module is a hard to come by piece! The N* isn't as easy as I once thought, but I think it would still end up being cheap to find a used setup than the eDist. Not to mention the coolness of using all GM original parts!
Reply
Old Dec 21, 2003 | 11:19 AM
  #20  
funstick's Avatar
Supreme Member
 
Joined: Jun 2002
Posts: 1,787
Likes: 0
From: great lakes
the reason the modules are one cycle behind is becuase

One revolution to get a fix on crank position, then another revolution to create a delay long enough to control the module.

wierd but true. its not a code problem. its the way the module is designed.
Reply
Old Dec 21, 2003 | 01:18 PM
  #21  
Grumpy's Avatar
Supreme Member
 
Joined: Jun 2000
Posts: 7,554
Likes: 1
From: In reality
Car: An Ol Buick
Engine: Vsick
Transmission: Janis Tranny Yank Converter
The code is based on DRPs, not engine revolutions.

You don't need to overthink, it, all.

The LT5 is $$$, and at one time was discontinued, thou I heard rumor there were some more modules now in the system. Northstar is just $$$.
Reply
Old Dec 21, 2003 | 01:21 PM
  #22  
Grumpy's Avatar
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 JPrevost
Yeah I know about the eDist but I really don't like the price. If it came with the coils and wiring harness then I'd be all over it. The fact that $300 for that little box plus the coils plus time mounting and wiring = not worth it just yet.
Make some new friends, and design your own. The ecm figures everything out timing wise. A simple count to 4 (DIS), and 8 makes for CNP, resettable with the cam signal is all it takes.
I bought a set of CNP coils off of eBay for 150.
Reply
Old Dec 21, 2003 | 09:19 PM
  #23  
funstick's Avatar
Supreme Member
 
Joined: Jun 2002
Posts: 1,787
Likes: 0
From: great lakes
Originally posted by Grumpy
The code is based on DRPs, not engine revolutions.

You don't need to overthink, it, all.

The LT5 is $$$, and at one time was discontinued, thou I heard rumor there were some more modules now in the system. Northstar is just $$$.
yeah but the way the module behaves isnt at all based in ECM distributor world. it holds the DRP's till its got 2 sucessful revolutions with no resets. this way it knows its in sync. Ive had tons of trouble with this so ive rigged up a few test with Pulse genrators just to be srue.Then off course it runs Ahead of the ECM but in timming world it runs behind. Ill post up the data i have here really. soon.

The way the EST codes vary between the dizzy and DIS setups has to do with the way the modules behave. Id be fiarly certian in thinking that the N* v8 stuff should work fine with regular v8 code advance retard settings . But i havent had time to hash it out. the LT5 looks the most promising. And yes there are plenty of LT5 modules avaiable. Right now im trying to locate the lt1 mercuiser DIS setup that ran on MeFI2

Last bt no least is my Quest to use 2 4 cylinder modules to run a v8. its easier then you think. just gotta toggle the EST properly.
Reply
Old Dec 22, 2003 | 07:21 AM
  #24  
Grumpy's Avatar
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 funstick
yeah but the way the module behaves isnt at all based in ECM distributor world. it holds the DRP's till its got 2 sucessful revolutions with no resets. this way it knows its in sync. Ive had tons of trouble with this so ive rigged up a few test with Pulse genrators just to be srue.Then off course it runs Ahead of the ECM but in timming world it runs behind. Ill post up the data i have here really. soon.

The way the EST codes vary between the dizzy and DIS setups has to do with the way the modules behave. Id be fiarly certian in thinking that the N* v8 stuff should work fine with regular v8 code advance retard settings . But i havent had time to hash it out. the LT5 looks the most promising. And yes there are plenty of LT5 modules avaiable. Right now im trying to locate the lt1 mercuiser DIS setup that ran on MeFI2

Last bt no least is my Quest to use 2 4 cylinder modules to run a v8. its easier then you think. just gotta toggle the EST properly.
The modules all are wired the same, in their interface to the ecm, from what I've seen. So while the code may run a little different, it still ends up the same hardware wise.

Knew about the toggling, but still don't really see the point in all of it. All it takes is using a dual sensor distributor. Then an eDist or something similiar.
Reply
Old Dec 22, 2003 | 06:08 PM
  #25  
funstick's Avatar
Supreme Member
 
Joined: Jun 2002
Posts: 1,787
Likes: 0
From: great lakes
Originally posted by Grumpy
The modules all are wired the same, in their interface to the ecm, from what I've seen. So while the code may run a little different, it still ends up the same hardware wise.
No doubt. the hardware is all the same. in fact a regular l98 maf ecm could run a optispark if there was a trasnlating box to interpret the hi and low res tracks into a 4 drp per revolution sigal. the thing with the various modules is that some of them have different dwell calcs that require different ratios in advance retard splits. thats all. i havent had time to finish sorting it all out code vs module etc but i will.




Originally posted by Grumpy
Knew about the toggling, but still don't really see the point in all of it. All it takes is using a dual sensor distributor. Then an eDist or something similiar.
i like the idea of 2 4cyl modules. cheaper then an edist and if one goes bad you only out $75 instead of $300 for a whole edist. plus what if i break down in the middle of kansas with a bad edist. i can go to autozone and get a module.
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
InfernalVortex
Electronics
10
Apr 20, 2021 11:31 AM
Falcon50
DFI and ECM
81
Aug 22, 2020 03:26 PM
Rocket-Doc
TBI
1
Nov 14, 2015 02:08 PM
drumstixer
Body
5
Sep 29, 2015 03:02 PM
mfp189
Transmissions and Drivetrain
1
Sep 27, 2015 09:25 AM




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