2nd Generation Specific (1986-1992) 1986-1992 Discussion including performance modifications and technical support sections.

ECU reprogramming

Thread Tools
 
Search this Thread
 
Old Jan 21, 2004 | 03:55 PM
  #176  
theloudroom's Avatar
Senior Member
Tenured Member 05 Years
 
Joined: Sep 2003
Posts: 488
Likes: 0
From: Syracuse, New York
No biggie. I've started working on my own disassembly.

I haven't gotten very far yet, but far enough to say that we're pretty much on the right track. The initialization routine seems sensible, which means we've definitely got the right instruction set.

I think it's pretty much a matter or time until we crack this thing.
Reply
Old Jan 21, 2004 | 08:59 PM
  #177  
theloudroom's Avatar
Senior Member
Tenured Member 05 Years
 
Joined: Sep 2003
Posts: 488
Likes: 0
From: Syracuse, New York
I'm having my doubts about the memory map posted on the 16paws site.

I just caught a memory access to 0x8000, which according to his map, there should be nothing there to access.

Looks like after I finish the analog board, I'll be doing schematics for the digital one.
Reply
Old Jan 22, 2004 | 08:15 PM
  #178  
theloudroom's Avatar
Senior Member
Tenured Member 05 Years
 
Joined: Sep 2003
Posts: 488
Likes: 0
From: Syracuse, New York
Jinx, have you looked at the boot-up routines yet?
Reply
Old Jan 23, 2004 | 05:40 PM
  #179  
Senior Member
Tenured Member 05 Years
 
Joined: Jan 2004
Posts: 339
Likes: 0
From: So Cal.
****. you guys are fukin amazing. thats all i have to say. i have access to eeprom writers and know some stuff about programming but you guys are doing stuff way out of my league. GOD BLESS YOU!
Reply
Old Jan 26, 2004 | 01:06 PM
  #180  
theloudroom's Avatar
Senior Member
Tenured Member 05 Years
 
Joined: Sep 2003
Posts: 488
Likes: 0
From: Syracuse, New York
Ok, I'd like some opinions here.


Here's the way my test setup is going to go:
3.5" outlet cone air filter => Mustang MAF => 3" coupler => Spectre AFM adapter => stock AFM
I'm going to log the Sensor voltages against each other to build a conversion table.


What air filter should I use?
Here are a few I'm looking at:

#1
K&N
RX-4140
Endcap is also a filter. I already have an RX-4990.
http://www.knfilters.com/universal/X-stream.htm

#2
AEM
http://www.streetbeatcustoms.com/aem212049-sy.html
$71.96


#4
K&N
RC-4760
8" long
http://www.knfilters.com/universal/univrndtap.htm
Summit part #:
KNN-RC-4760
$48.69

#5
Apexi
Supposedly they're good, but I can't seem to find decent info on their website.

#6
Some other K&N filter with 3.5" i.d. outlet

Last edited by theloudroom; Jan 26, 2004 at 01:14 PM.
Reply
Old Jan 26, 2004 | 03:45 PM
  #181  
TwistedRotors's Avatar
Compression Tester Guy
Tenured Member 15 Years
iTrader: (3)
 
Joined: Apr 2003
Posts: 1,010
Likes: 0
From: Houston, TX
I'd say #4 or #1.
Reply
Old Jan 26, 2004 | 06:42 PM
  #182  
theloudroom's Avatar
Senior Member
Tenured Member 05 Years
 
Joined: Sep 2003
Posts: 488
Likes: 0
From: Syracuse, New York
I think I'm gonna go with #4 because it will be easy and cheap. #1 would probably have to be special ordered.
Reply
Old Jan 26, 2004 | 09:18 PM
  #183  
sunrotor's Avatar
Junior Member
Tenured Member 10 Years
 
Joined: Aug 2001
Posts: 20
Likes: 0
From: Tampa, FL
with regards to what filter to put in front of your correlation rig, I would suggest you try and provide two or three points on the restriction curve.

If you test with a stock type filter (high restriction), a medium (K&N), and a low (think worn gym sock), we can see if the filter has a significant impact.

If it shifts the curve, thats an easy adjustment. If it changes the slope, that's VERY important. If one or more create shifts at certain flow levels... that's critical.

It may be that at Idle, the filter represents "no restriction" and as the rpms increase, a critical point is reached where the vacuum has to start increasing to achieve the flow rate. This creates a curve that changes slope at some critical value. All these things might make the chage of air filter more critical, depending on how much restriction difference, and its impact on airflow.

Porting may do the same thing. At low RPM, the pulsing of the air flow may also have some effect. At higher RPMs, the mass of airflowing probably damps those to where they have zero effect. But it is probably important to repeat these tests with other engines to see if wilder ports will work with the new\old setup using the generic adaptation.

Sorry, but as an engineer, I love more data. Just some thoughts.

Sunrotor
Reply
Old Jan 30, 2004 | 03:17 PM
  #184  
theloudroom's Avatar
Senior Member
Tenured Member 05 Years
 
Joined: Sep 2003
Posts: 488
Likes: 0
From: Syracuse, New York
Originally posted by sunrotor

If you test with a stock type filter (high restriction), a medium (K&N), and a low (think worn gym sock), we can see if the filter has a significant impact.
The stock filter would be too much of a pain, but many I'll do a couple runs with no filter just to see if there's a difference. I'd be afraid to use a sock after reading about that guy who had a t-shirt sucked into his turbo.


What I'm figuring on doing is taking a bunch of sets of data points and averaging them and time aligning them as close as I can. Then I'll use Matlab's polyfit function to fit a low-order polynomial to the data to develop a conversion formula that I will use at any airflow readings higher than those reached in the tests.


Any luck finding info on those chips?

I'm still finishing up the schematics. I'll be setting up a website with them once I'm done. I have a MAF senor now that I can start playing with.
Reply
Old Feb 1, 2004 | 02:26 AM
  #185  
Canadian Rotary Man's Avatar
Full Member
Tenured Member 10 Years
 
Joined: Oct 2002
Posts: 89
Likes: 0
From: Canada
Originally posted by RETed
You are correct.  Most ECU's are using the Motorola 68HC11 or a variant of it.  The original 6811's clock-speed was around 10MHz, which would sound slow compared to your current Intel powered PC (>3.0GHz), but these microprocessors run a very slim RISC design.  With the reduced language set and streamlined run processing, the 10MHz clock-speed is fast enough to handle engines revving up to 10k RPM with very little fuss.  On top of that, these automobile uP's typically run a timing co-processor, which handles the ignition input duties; this lessens the responsibility of the main processor demands, making for a nicer running system.

The CPU chip isn't very quick, but it's "good enough" to handle running the engine.

NOW, it's a matter of what programming you're doing...  Sometimes, just "changing the maps" doesn't always work, as there are lots of watchdog and range limitations coded in there typically.  This means if you adjust something that the code doesn't like, it's either going to barf or revert back to a "backup map".  Thus, "ROM tuning" does NOT change parameters in very extreme values.&nbsp Fuel maps are typically not adjusted past 20%, and ignition timing isn't adjusted past 5-degrees either way.



-Ted
I'm glad to see you guys are trying this, it's something I've been interested in. I didn't know these ECU's used a variant of the HC11. Last year I learned how to code motorola HC11 chips in assembly language and machine code. Right now I'm in my 2nd processor design course at Simon Fraser University(3rd year physics)

I don't know a lot about eproms and stuff, but I have an HC11 simulator and manual. I might look around for an ECU near me. Perhaps I can help.

Last edited by Canadian Rotary Man; Feb 1, 2004 at 02:30 AM.
Reply
Old Feb 1, 2004 | 10:01 AM
  #186  
theloudroom's Avatar
Senior Member
Tenured Member 05 Years
 
Joined: Sep 2003
Posts: 488
Likes: 0
From: Syracuse, New York
Originally posted by Canadian Rotary Man
I'm glad to see you guys are trying this, it's something I've been interested in. I didn't know these ECU's used a variant of the HC11. Last year I learned how to code motorola HC11 chips in assembly language and machine code. Right now I'm in my 2nd processor design course at Simon Fraser University(3rd year physics)

I don't know a lot about eproms and stuff, but I have an HC11 simulator and manual. I might look around for an ECU near me. Perhaps I can help.
Cool. Sounds like you have the background you'll need.

I'd watch the for sale section for someone parting out their car. It's pretty easy to find used ECU's on this board.
Reply
Old Feb 1, 2004 | 03:46 PM
  #187  
Canadian Rotary Man's Avatar
Full Member
Tenured Member 10 Years
 
Joined: Oct 2002
Posts: 89
Likes: 0
From: Canada
cool
thanks, I'll have a look on the local board. I'm sure I can come across one cheap or free.
Reply
Old Feb 1, 2004 | 04:21 PM
  #188  
theloudroom's Avatar
Senior Member
Tenured Member 05 Years
 
Joined: Sep 2003
Posts: 488
Likes: 0
From: Syracuse, New York
Sunrotor, I'm getting the feeling that IC450 is a dual op-amp.

I'm going to try and add a few pages to my schematics which show the circuitry immediately surrounding the unkown chips.
Reply
Old Feb 1, 2004 | 05:07 PM
  #189  
Mage's Avatar
Senior Member
 
Joined: Jun 2003
Posts: 275
Likes: 0
From: Colorado
Vary good stuff here. if you still need that space Give me a e-mail or pm I have access to hosting (being a webhosting/computer comp owner that is) I'd like to fallow this more.

MAGE
Reply
Old Feb 1, 2004 | 10:46 PM
  #190  
razorback's Avatar
You've Been Punk'd
Tenured Member 10 Years
 
Joined: Jun 2002
Posts: 4,727
Likes: 1
From: Branson, Missouri
i started to read some of this and i got a headache so..how is this going? any major breakthroughs yet?
Reply
Old Feb 1, 2004 | 11:37 PM
  #191  
sunrotor's Avatar
Junior Member
Tenured Member 10 Years
 
Joined: Aug 2001
Posts: 20
Likes: 0
From: Tampa, FL
loudroom,

It will be easier to figure out analog parts with some idea of circuitry. I think I have access to a N327 ecu myself, and will start looking a bit closer at it this week. if I have to, I'll just start pulling parts and running tests to see "what it is".

Is anyone considering building a simulator like the ecu wonder tester @ http://www.16paws.com/ECU/WonderTester/index.html

I'd think it would help figure out somethings if we could input various signals to simulate idle, part throttle, WOT, steady rpm, deceleration, sensor failures, etc...
while monitoring the memory addressing, etc... to make sure we had everything nailed as opposed to guessing. Well, since I also have a spare harness, I guess I should start on that part. ANy inputs are welcome. Take a look at the 16paws tester and see if you want more or less. I was thinking about making an in-car ecu monitor when I picked up these things a couple of years ago. If I build this right, it may work for both in-car and satndalone benchtop testing. The only difference would be cutting in dummy loads\voltages for benchtop use, which wouldn't be hard.

keep it up guys,
sunrotor
Reply
Old Feb 2, 2004 | 12:20 AM
  #192  
theloudroom's Avatar
Senior Member
Tenured Member 05 Years
 
Joined: Sep 2003
Posts: 488
Likes: 0
From: Syracuse, New York
I'll be posting schematics soon, but I'm still finishing them up. I know I keep saying that over and over, but just when I think I'm about done, I realize I'm not. (That and I had to replace the starter on my winter rat.) Maybe I'll just scan what I have while I'm at work tomorrow, so you can at least have something to look at. At this point I have every ECU pin traced and every connection to the ribbon cable traced, but I still need to ring out a few pins on various IC's. I also haven't worked on the 5V supply. I'm not really in a hurry to figure that one out since I already know what it should be doing.

As far as building an ECU tester goes, I've considered it, but I don't think it will be necessary just to determine what these components are. I should be able to just hook up 12V to the ECU and then only stimulate the particular circuit I'm looking at. If that won't work then we can just pull chips off the ECU and test them like you said.

When we start modifying software, it would be very nice to have a full-fledged rx-7 simulator. I should probably start looking for my own spare wiring harness that I can hack up.

The setup on the 16paws site looks decent, with the exception that it's using a real CAS. It would probably be a good idea to design a little circuit to mimic the CAS output at various RPM's (controlled via a potentiometer). This would allow us to use an oscilloscope to verify things like the fuel injector and spark signals are functioning properly before sticking a modified ECU in a real RX-7. I like how he had pots for all the analog sensors, but that may end up being overkill.

Last edited by theloudroom; Feb 2, 2004 at 12:25 AM.
Reply
Old Feb 3, 2004 | 07:39 PM
  #193  
theloudroom's Avatar
Senior Member
Tenured Member 05 Years
 
Joined: Sep 2003
Posts: 488
Likes: 0
From: Syracuse, New York
Schematics, come 'n get 'um!


Schematics here:
http://24.175.236.46/mark/Binder2.pdf


The details:
These are still incomplete, but complete enough to answer many questions.
I still need to add a few pages showing miscellaneous IC connections and the power supply.


The fine print:
These schematics are copyright me. I will release them under a copyleft liscense when I find the right one (the GPL doesn't seem right for schematics), but for now "all rights reserved"

Conventions:
CONN1, means wire 1 on the internal ribbon cable.
2B, means connector pin 2B, as shown in the FSM.

Gotchas:
One of the pages is upside down My bad.
Reply
Old Feb 5, 2004 | 07:37 PM
  #194  
theloudroom's Avatar
Senior Member
Tenured Member 05 Years
 
Joined: Sep 2003
Posts: 488
Likes: 0
From: Syracuse, New York
No comments? Questions?

They're perfect? No mistakes?
Reply
Old Feb 5, 2004 | 09:27 PM
  #195  
jinx22630's Avatar
Thread Starter
Senior Member
Tenured Member 05 Years
 
Joined: Mar 2003
Posts: 328
Likes: 0
From: Front Royal, Virginia
I've been so sick the last couple of weeks, I haven't even looked at this thread. I'm gonna check out the schematics right now. Good work man!!!!!!!
Reply
Old Feb 11, 2004 | 03:46 PM
  #196  
Mage's Avatar
Senior Member
 
Joined: Jun 2003
Posts: 275
Likes: 0
From: Colorado
just want to post I made a forum just for this on my New website www.rotorygod.com mabe start posting there? and get this going some more!
Reply
Old Feb 11, 2004 | 05:20 PM
  #197  
BigTone's Avatar
Senior Member
Tenured Member 05 Years
 
Joined: Sep 2003
Posts: 376
Likes: 0
From: Aurora, IL and Milwaukee, WI
I just have to say what you guys are doing is amazing. I wish you all the best of luck.
Reply
Old Feb 11, 2004 | 07:35 PM
  #198  
BlackRx7's Avatar
Daily Domestic Killer
Tenured Member 10 Years
 
Joined: Mar 2001
Posts: 2,425
Likes: 0
From: San Antonio, Tx, USA
Okay Well I am able to get my hands on an e-prom reader from school, so I can pull the code off my supposedly "aftermarket" chip that I bought off ebay

my Question is in what format should i pull it off
binary or something else? sooner I get answers the sooner I post the data
Reply
Old Feb 12, 2004 | 06:38 AM
  #199  
theloudroom's Avatar
Senior Member
Tenured Member 05 Years
 
Joined: Sep 2003
Posts: 488
Likes: 0
From: Syracuse, New York
Originally posted by BlackRx7
Okay Well I am able to get my hands on an e-prom reader from school, so I can pull the code off my supposedly "aftermarket" chip that I bought off ebay

my Question is in what format should i pull it off
binary or something else? sooner I get answers the sooner I post the data
binary
Reply
Old Feb 12, 2004 | 07:35 PM
  #200  
theloudroom's Avatar
Senior Member
Tenured Member 05 Years
 
Joined: Sep 2003
Posts: 488
Likes: 0
From: Syracuse, New York
Schematics for the analog board are now done. It turns out there were a couple errors in the partile schematics I've posted.

I'll have to wait 'til I get to a scanner to post them though.

My next task is a full set of schematics for the digital board. There are some refrences (in the ECU code) to memory addresses that aren't mapped on the 16paws memory map. I'm going to see if he missed something.
Reply



All times are GMT -5. The time now is 03:18 AM.