Notices
944 Turbo and Turbo-S Forum 1982-1991
Sponsored by:
Sponsored by: Clore Automotive

Tired of fighting, lets make a 951 Motronic website

Thread Tools
 
Search this Thread
 
Old 03-30-2005, 02:26 PM
  #31  
mark944turbo
Three Wheelin'
Thread Starter
 
mark944turbo's Avatar
 
Join Date: Jul 2002
Location: Massachusetts
Posts: 1,983
Received 5 Likes on 3 Posts
Default

One more thing, the circuit I posted with the cmos amp etc was intended to listen to this filtered signal, not the raw signal. That would be so nice to have a little LED on the dash with a push button reset.
Old 03-30-2005, 07:10 PM
  #32  
Zero10
Race Car
 
Zero10's Avatar
 
Join Date: Nov 2003
Location: Calgary, AB
Posts: 4,593
Likes: 0
Received 2 Likes on 2 Posts
Default

The processor in the DME is an 8051?
Fascinating. There are revised versions of those all over, for about $0.50 each.
Pretty much any chip that supercedes the original 8051 will work in it's place.
Old 03-30-2005, 09:20 PM
  #33  
hally
Rennlist Member
 
hally's Avatar
 
Join Date: Oct 2002
Location: Melbourne, Australia
Posts: 1,110
Likes: 0
Received 0 Likes on 0 Posts
Default

posted by pk951 once upon a time in the thread "what do you need to burn your own chips" Might have a bit more detail on suppliers and procedure not already covered. This is where i started from thanks pk951 and nice work on the website Mark

You need a computer. No big deal there because if you are reading this then you have a computer. Pocket Programmer
Source: Xtronics
PN: I-PP2
Price: $150.00
http://www.xtronics.com/memory/EPROM.htm

You will need ANOTHER special program to read this BIN and allow you to modify it. This 'other' program (also known by the word 'Editor') is not supplied by the company that makes the Programmer. It is not supplied with your Programmer. I use an editor called 'TunerCat'. TunerCat is available at http://www.tunercat.com. However, there are several other programs available on the Internet that you can use. A couple of the most popular ones are:

WinBin (Windows Based) - http://www.passtimeracing.com/eric/Cars/EFI/index.htm
GMEPRO (DOS based) - terryk@foothill.net
There are various sources for EPROMs. I have noted a few below...
http://www.digikey.com/
http://www.jdr.com/interact/default.asp
http://www.jameco.com/
http://www.pios.com/

DataRase II EPROM eraser
Source: DigiKey
PN: ER2-ND
Price: $39.95
http://www.digikey.com/

That's it! That's all you need. You can purchase reliable equipment for items 2-5 for around $200 (not including the Editor). Yes, you heard correct. For $200 you can be burning your chips! When using EEPROMs the cost is substantially less than $200! But, it will take a lot of background information, a lot of testing and experimenting, and a lot of experience before you become talented at doing it.

How you do it...
Hook up your newly acquired Programmer to your computer as per the Programmer's instructions.
Load the Programmer's software, Run the software, and choose the correct EPROM type.
* Pull your computer chip from your car and put it in the Programmer in the correct manner.
Use the Programmer's software to read your chip.
Save the chip image to your hard drive. This is the BIN.
Remove your computer chip from the Programmer and shutdown the Programmer's software.
Run your Editor.
Load the correct calibration file.
Load your BIN.
** View/Change the chip's parameters and tables.
Save the new BIN.
Shutdown the Editor and run the Programmer's software.
Ensure the correct EPROM type is selected.
Place an erased chip on the Programmer.
Do a 'blank check' to ensure the EPROM is erased.
Program the EPROM with the BIN saved in step 11 and then verify the program.
Old 03-30-2005, 11:02 PM
  #34  
Lorenfb
Race Car
 
Lorenfb's Avatar
 
Join Date: May 2003
Location: SoCal
Posts: 4,045
Likes: 0
Received 61 Likes on 54 Posts
Default

"As far as location or actual values ?"

The locations are O.K. but the actual values have a constant (in most cases) offset. Not good!
Old 03-31-2005, 12:17 AM
  #35  
mark944turbo
Three Wheelin'
Thread Starter
 
mark944turbo's Avatar
 
Join Date: Jul 2002
Location: Massachusetts
Posts: 1,983
Received 5 Likes on 3 Posts
Default

Thanks Loren, any idea on how to correct this? It is a little hard to look with a timing light under any conditions but idle.
Old 03-31-2005, 01:22 AM
  #36  
Zero10
Race Car
 
Zero10's Avatar
 
Join Date: Nov 2003
Location: Calgary, AB
Posts: 4,593
Likes: 0
Received 2 Likes on 2 Posts
Default

Hmm, $200 for an EEPROM writer isn't bad, most around here are $500-$600, but that's still kind of steep.
I'm getting a PIC programmer for about $40, building some microcontroller circuits, and it seems to me, this programmer should be about 10x more complicated than an EEPROM programmer.
Old 03-31-2005, 01:33 AM
  #37  
Bri Bro
Addict
Rennlist Member

 
Bri Bro's Avatar
 
Join Date: Feb 2002
Posts: 5,384
Likes: 0
Received 1 Like on 1 Post
Default

Here is the 28 pin code disassembled. The zip file contains the DIS8051 disassembler. In the Instruction document for DIS8051, it states that "Data Sync Engineering" has submitted the program to the public domain.

The 8051 instruction set is listed in section 3.

The programmer I use is built by Needham's electronics. Very depenable and flexable.
Old 03-31-2005, 01:38 AM
  #38  
Lorenfb
Race Car
 
Lorenfb's Avatar
 
Join Date: May 2003
Location: SoCal
Posts: 4,045
Likes: 0
Received 61 Likes on 54 Posts
Default

"Thanks Loren, any idea on how to correct this? It is a little hard to look with a timing light under any conditions but idle." - mark944turbo -

Have to find a good updated version of "Motronic 911". The web site has just a demo
version which hasn't been updated since 2004. Some have a full version that's more
useable (no bugs maybe), but who??? Email to the web site results in an email return.
Old 03-31-2005, 02:08 AM
  #39  
rage2
Three Wheelin'
 
rage2's Avatar
 
Join Date: Sep 2001
Location: Calgary, Alberta, Canada
Posts: 1,596
Likes: 0
Received 0 Likes on 0 Posts
Default

Originally Posted by beab951
Here is the 28 pin code disassembled. The zip file contains the DIS8051 disassembler. In the Instruction document for DIS8051, it states that "Data Sync Engineering" has submitted the program to the public domain.

The 8051 instruction set is listed in section 3.

The programmer I use is built by Needham's electronics. Very depenable and flexable.
Disassembly and isolating data areas is the easy part. Commenting and understanding each section/subroutines is the tough and time consuming one! I'm almost done doing the stock Honda Integra VTEC ECU code... took like 2 years of spare time!

If anyone has found disassembled AND half decent (even partial) commented code floating around, it'd save a LOT of work. I could even start working on it, I used to do a lot of 8051/2 asm programming.
Old 03-31-2005, 02:18 AM
  #40  
mark944turbo
Three Wheelin'
Thread Starter
 
mark944turbo's Avatar
 
Join Date: Jul 2002
Location: Massachusetts
Posts: 1,983
Received 5 Likes on 3 Posts
Default

Well, time is what I have right now.

I really have no idea about the magnitude of the process, as I have no experience with this sort of thing. I am relying on friends and rennlist contributions. Rage, anything you can help with is appretiated.

Brian, that looks awesome, I am going to sleep now but I will study it tomorrow.
Old 03-31-2005, 01:26 PM
  #41  
Zero10
Race Car
 
Zero10's Avatar
 
Join Date: Nov 2003
Location: Calgary, AB
Posts: 4,593
Likes: 0
Received 2 Likes on 2 Posts
Default

Hmm, I've done a lot of SPARC and Intel assembler programming, but this still seems somewhat foreign to me. From the looks of it, that is just the control code, not any of the maps, correct?
Old 03-31-2005, 01:27 PM
  #42  
Bri Bro
Addict
Rennlist Member

 
Bri Bro's Avatar
 
Join Date: Feb 2002
Posts: 5,384
Likes: 0
Received 1 Like on 1 Post
Default

Originally Posted by rage2
Disassembly and isolating data areas is the easy part. Commenting and understanding each section/subroutines is the tough and time consuming one! I'm almost done doing the stock Honda Integra VTEC ECU code... took like 2 years of spare time!

If anyone has found disassembled AND half decent (even partial) commented code floating around, it'd save a LOT of work. I could even start working on it, I used to do a lot of 8051/2 asm programming.

Rage2, you are dead on, but you have to start somewhere. Unless we can get an employee who worked on this code for the Motronics and is willing to give us a copy, I doubt we ever see a commented source. At least one can look at the code to start the process of IDing the data file locations vs. the code locations. Is can be a real PITA!
Old 03-31-2005, 02:47 PM
  #43  
rage2
Three Wheelin'
 
rage2's Avatar
 
Join Date: Sep 2001
Location: Calgary, Alberta, Canada
Posts: 1,596
Likes: 0
Received 0 Likes on 0 Posts
Default

Originally Posted by Zero10
Hmm, I've done a lot of SPARC and Intel assembler programming, but this still seems somewhat foreign to me. From the looks of it, that is just the control code, not any of the maps, correct?
The control code and all the maps are in there. Chances are the first run through the disassembler it's dissected maps as code (depending on how smart the disassembler is). Takes time to start labelling stuff and feeding that to the disassembler to get a clean run through, after which comes understanding and commenting by stepping through everything, guessing how each register and RAM memory location relate to inputs and outputs, then labelling the chunks of code with meaningful labels. Then we can start to see what each data section really does, and what kind of maps they are.

Since there's SOME info on rev limit locations, fuel map, and spark map, it should give us enough information to make really educated guesses as to what and how the memory locations and registers relate to I/O. That's the start if we want to truly understand the code, and allow us to write new code to do stuff. Example... I'm working on a predictive launch/traction control code based on wheelspeed alone on the Honda ECU for drag racing. Basically I can input maximum rate of acceleration in each gear, and use that to adjust boost/fuel cut accordingly to get consistent launches. From there you can get really complex... traction control based on multiple speed sensors (assuming the ECU has enough inputs), or device that can send individual wheel speed inputs through 1 i/o port... lots of cool stuff can be done. How about a motronic powered MAP conversion? The possibilities are endless.

I must stress that if this is to happen, that everyone that contributes makes it public, and not get pissed off if it gets borrowed/stolen for commercial purposes. I've seen way too many times where some people take the info from the public domain, and use help them start their disassembly, they go and make a commercial product once they're done, then everyone gets pissed and stops contributing and we're half done. It's happened SO many times. This is not a 1 man project. It's a collaboration with many people. I'm willing to start tackling it in my spare time.

If all we care about is to adjust fuel/spark/revlimit, there's no point in going that detailed... there's more than enough info already to make a decent editor.
Old 03-31-2005, 03:02 PM
  #44  
Lorenfb
Race Car
 
Lorenfb's Avatar
 
Join Date: May 2003
Location: SoCal
Posts: 4,045
Likes: 0
Received 61 Likes on 54 Posts
Default

"I must stress that if this is to happen, that everyone that contributes makes it public, and not get pissed off if it gets borrowed/stolen for commercial purposes."
I've seen way too many times where some people take the info from the public domain, and use help them start their disassembly, they go and make a commercial product once they're done" - rage2 -

Remember, you're BEGINNING to enter the area of copyright infringement of the Porsche/Bosch code, i.e. it's NOT in the public domain!
Old 03-31-2005, 03:03 PM
  #45  
mark944turbo
Three Wheelin'
Thread Starter
 
mark944turbo's Avatar
 
Join Date: Jul 2002
Location: Massachusetts
Posts: 1,983
Received 5 Likes on 3 Posts
Default

My website will always be public domain.

"If all we care about is to adjust fuel/spark/revlimit, there's no point in going that detailed... there's more than enough info already to make a decent editor."

I for one am not satisfied with what we have. Sure we have enrichment tables, but we dont know the relationship between the values in them and how much fuel is being injected. I want the base pulsewidth map. And the spark information we have now is no good, and I dont see any way of having confidence about changing those values until we know the full extent of the code including temperature and knock related algorithms.

On top of this I would also like to find the transfer function for the AFM and be able to change that for different maf's, and have bigger load vs rpm tables that are not influenced by a full throttle condition. The way everything is set up now makes tuneing annoying.

If we find that there are spare inputs/outputs on the processor I am sure we could come up with cool uses for them.

I emailed Bosch about getting any leads on the code, and they emailed back a phone number, which I will call soon. Hopefully that leads to something, they have been helpful in the past.


Quick Reply: Tired of fighting, lets make a 951 Motronic website



All times are GMT -3. The time now is 09:24 AM.