24 Valve Engine and Drivetrain Discuss the 24 Valve engine and drivetrain here. No non-drivetrain discussions please. NO HIGH PERFORMANCE DISCUSSION!

What's inside the Cummins ECU...

Thread Tools
 
Search this Thread
 
Old 09-19-2007, 10:41 AM
  #1  
Registered User
Thread Starter
 
Jdonoghue's Avatar
 
Join Date: Jun 2004
Location: Magnolia, TX
Posts: 106
Likes: 0
Received 1 Like on 1 Post
What's inside the Cummins ECU...

Probably not for those who aren't interested in computers and electronics, but I have decided to figure out for myself how the engine computer and associated things work. If anyone else is interested, I'm keeping a web page updated as I go along at http://vs18k.dyndns.org/cecu/Dodge_Cummins_ECU.html
Old 09-19-2007, 10:57 AM
  #2  
Registered User
 
need12v's Avatar
 
Join Date: Dec 2005
Location: Lebanon, OH
Posts: 261
Likes: 0
Received 1 Like on 1 Post
Very interesting. Would be cool as hell (and you would make tons o cash) if you could come up with something like EFI live for the VP generation cummins. I got a laptop and almost identical truck so if you need any help off an 02 shoot me a pm. I'll beta test it when you get to that point as well lol
Old 09-19-2007, 11:09 AM
  #3  
Registered User
 
bnold's Avatar
 
Join Date: Oct 2005
Location: Dallas area
Posts: 2,184
Likes: 0
Received 0 Likes on 0 Posts
Very cool keep us updated!!
Old 09-19-2007, 11:20 AM
  #4  
Registered User
 
PaulDaisy's Avatar
 
Join Date: Nov 2006
Location: Longmont, CO
Posts: 1,491
Received 3 Likes on 3 Posts
Very, very nice!
I will watch this thread. Playing with MCUs was my hobby until the day job took over I am very curious and will be following your research.
Of course, timing and fueling tables are what gets changed by programmers such as Smarty. However, they can not read the contents of EEPROM, just like you had trouble doing at first, and can not save the initial programming of the ECM. Maybe you can address this problem using buffered read and help out those who are paranoid about keeping the original programming.
-P
Old 09-19-2007, 12:01 PM
  #5  
Registered User
 
Dinner's Avatar
 
Join Date: Jun 2006
Location: Thamesford, Ontario Canada
Posts: 1,288
Likes: 0
Received 0 Likes on 0 Posts
Very interesting Jdonoghue

Def. going to keep track of this topic!
Old 09-19-2007, 04:48 PM
  #6  
Registered User
 
Bob Wagner's Avatar
 
Join Date: Apr 2002
Location: WA State
Posts: 2,321
Likes: 0
Received 3 Likes on 2 Posts
here is a blast from the past

When I used to ship ecms to Marco for CaTCHer updates, Custom must of wonder what the heck is in here


Name:  tonys1.jpg
Views: 1901
Size:  32.8 KB




no note of nothing, it was just tossed back with the others
Old 09-19-2007, 05:51 PM
  #7  
Chapter President
 
Mike D's Avatar
 
Join Date: Nov 2003
Location: Rural Hall, NC
Posts: 3,807
Likes: 0
Received 0 Likes on 0 Posts
That's a great web page you have there. Keep up the good work.
Old 09-19-2007, 06:37 PM
  #8  
Registered User
 
j-fox's Avatar
 
Join Date: Mar 2002
Posts: 2,541
Likes: 0
Received 1 Like on 1 Post
Originally Posted by Bob Wagner
here is a blast from the past

When I used to ship ecms to Marco for CaTCHer updates, Custom must of wonder what the heck is in here







no note of nothing, it was just tossed back with the others
I think they heard of us BOMBING our trucks, so the wanted to check things out!!!!!!!!!
Old 09-19-2007, 08:16 PM
  #9  
Registered User
 
bent valves's Avatar
 
Join Date: Feb 2007
Location: New England
Posts: 292
Likes: 0
Received 1 Like on 1 Post
I find this search engine useful for electronic components:
http://octopart.com/
Most were found and I included a link to data sheets. Good luck in your effort.
Dave

LM2901
Low Power Low Offset Voltage Quad Comparator
http://www.national.com/mpf/LM/LM2901.html
LM2903
Low Power Low Offset Voltage Dual Comparator
http://www.national.com/mpf/LM/LM2903.html
74HC4051
8-Channel Analog Multiplexer
http://www.fairchildsemi.com/pf/MM/MM74HC4051.html
74HC74
Dual D-type flip-flop with set and reset
http://www.standardics.nxp.com/produ...74.74hct74.pdf
74HC14
Hex Inverting Schmitt Trigger
http://www.fairchildsemi.com/pf/MM/MM74HC14.html
74690
?
8L12A
3-TERMINAL POSITIVE VOLTAGE REGULATORS
http://pdf1.alldatasheet.com/datashe.../H78L12AA.html
SPI EPROM
?
MC68336
ecu
http://www.gaw.ru/doc/Motorola/33676UM.PDF
28F400
4-Mbit SmartVoltage boot block flash memory
http://www.intel.com/design/flcomp/s...s/29053805.pdf
3029009 1951130
?
INTEL 82527
Stand-Alone Controller Area Network
http://www.intel.com/design/auto/82527.htm
PHILLIPS 4651148 005633 Fhr011B
?
AMTEL ENCORE 51R42722U02 82002253=001 A9D0013 9951
?
http://www.atmel.com/products/product_selector.asp
Old 09-21-2007, 02:15 PM
  #10  
Registered User
Thread Starter
 
Jdonoghue's Avatar
 
Join Date: Jun 2004
Location: Magnolia, TX
Posts: 106
Likes: 0
Received 1 Like on 1 Post
Originally Posted by bent valves
I find this search engine useful for electronic components:
http://octopart.com/
Most were found and I included a link to data sheets. Good luck in your effort.
Dave
Thanks for the links. As for the EEPROM, it's an Atmel part, I have the data sheet here. Most of my time now is being spent on the disassembly listing of the code. I really need to find a junkyard ECU so that I can trace the inputs and outputs and find out which pins the various signals go to - like where the MAP sensor input goes, etc.

I also discovered that they wrote custom microcode for the TPU (time processor unit, part of the microprocessor), this gets loaded at startup. I had to write my own special disassembler for that. I think the crank sensor, cam sensor, and reference signal from the VP44 go into the TPU inputs, but I really need to trace those signals to figure out for sure.

Oh well, it's just like a giant, strange puzzle....
Old 09-21-2007, 04:15 PM
  #11  
Registered User
 
Crazydave's Avatar
 
Join Date: Oct 2006
Location: Fridley, MN
Posts: 300
Likes: 0
Received 1 Like on 1 Post
Wow intresting project. I just started school for electronics tech, and find this very intresting. Maybe in a few months i will be able to follow it with a better understanding. Good Luck I will follow you progress
Old 09-21-2007, 04:38 PM
  #12  
Registered User
 
robert78.5's Avatar
 
Join Date: Dec 2006
Location: Manitoba
Posts: 581
Received 1 Like on 1 Post
Which box controls transmission shifting?

This is interesting to read, which box controls the shifting of transmission, the one on the engine or the one on firewall?"
Old 09-21-2007, 04:41 PM
  #13  
Registered User
 
Bob Wagner's Avatar
 
Join Date: Apr 2002
Location: WA State
Posts: 2,321
Likes: 0
Received 3 Likes on 2 Posts
Originally Posted by robert78.5
This is interesting to read, which box controls the shifting of transmission, the one on the engine or the one on firewall?"

PCM on the firewall
Old 09-26-2007, 10:08 AM
  #14  
Registered User
 
PlowKing's Avatar
 
Join Date: Aug 2007
Location: Kalisipell, Montana
Posts: 11
Likes: 0
Received 0 Likes on 0 Posts
Please help!!

My ECM has recently gone bad. My local diesel mech told me that it is going to cost me $1200-1300!! He said that it would have to be flashed from Cummins, and they also charge a core charge on top of that! Is this true, or is he trying to shaft me? Is there an alternative?
I have a 2001 3500 dually with 6-speed, 60-horse injectors, and an Edge module, and a lift pump kit. (Many more mods to come!) Is it possible to get an after-market deal that works better, maybe produces more hp?
Old 09-26-2007, 10:11 AM
  #15  
Registered User
Thread Starter
 
Jdonoghue's Avatar
 
Join Date: Jun 2004
Location: Magnolia, TX
Posts: 106
Likes: 0
Received 1 Like on 1 Post
Progress

I found the part of the code responsible for generating the SAE J1939 messages. This has allowed me to figure out a lot more of the mysterious program! I still have a lot more work to do, but it is getting much more interesting! I should be able to identify where things like engine speed values, etc. are generated (from sensor inputs and maps).

Still need to figure out how the reprogramming (reflashing) works. At worst, I can solder an EPROM into it, but I don't really want to have to do that if I don't have to.


Quick Reply: What's inside the Cummins ECU...



All times are GMT -5. The time now is 08:07 PM.