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

6395 ecm od bin issues

Thread Tools
 
Search this Thread
 
Old Jul 26, 2005 | 02:33 PM
  #1  
bigsmlblks's Avatar
Thread Starter
Junior Member
 
Joined: Mar 2005
Posts: 13
Likes: 0
From: Duluth Minnesota
Car: 94 K1500
Engine: yes
Transmission: 4l60E W a few goodies
6395 ecm od bin issues

I am trying to make the fuel and timing tables go higher one of them goes to 6000rpm the other goes to 6400rpm wich on a decent smallblock is kinda on the low side Here is what I am doing.......

I am using tunerpro and a usb autoprom to modify and emulate,

I am changing the locations of the tables by using the hex editor to find a blank spot large enough for the larger table ( in its current location If I enlarge the tables It overlappes the next item) So then I modify the hex address ( move it to the blank spot that I found using the hex editor) by using the xdf Item editor in tunerpro. I have no Idea if this is the correct way to do this or not. Obviously I am doing something wrong because when you try to start it using the modified version it starts just fine and idles until you hit the gas and then it dies. It obviously cannot find the table that I modified What am I missing????? am I even on the right track????
Reply
Old Jul 26, 2005 | 05:36 PM
  #2  
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
Re: 6395 ecm od bin issues

Originally posted by bigsmlblks
I am trying to make the fuel and timing tables go higher one of them goes to 6000rpm the other goes to 6400rpm wich on a decent smallblock is kinda on the low side Here is what I am doing.......

I am using tunerpro and a usb autoprom to modify and emulate,

I am changing the locations of the tables by using the hex editor to find a blank spot large enough for the larger table ( in its current location If I enlarge the tables It overlappes the next item) So then I modify the hex address ( move it to the blank spot that I found using the hex editor) by using the xdf Item editor in tunerpro. I have no Idea if this is the correct way to do this or not. Obviously I am doing something wrong because when you try to start it using the modified version it starts just fine and idles until you hit the gas and then it dies. It obviously cannot find the table that I modified What am I missing????? am I even on the right track????
Have you disassembled it?.
If you're just trying to cut and paste things, you might run into issues.

You really should invest in an ecm bench, rather then trying patches on a running engine. Believe me, it's money and time well spent.
Reply
Old Jul 26, 2005 | 08:43 PM
  #3  
bigsmlblks's Avatar
Thread Starter
Junior Member
 
Joined: Mar 2005
Posts: 13
Likes: 0
From: Duluth Minnesota
Car: 94 K1500
Engine: yes
Transmission: 4l60E W a few goodies
ok I am game for just about anything..... Could you explain what / how to go about doing this?? I know little about all of the technical stuff. I really want to learn how to do this but I am clueless. I try to search for this stuff but everything I find is either extremely basic or waaaaaaaaaaay over my head... any help is much appreciated
Reply
Old Jul 26, 2005 | 10:44 PM
  #4  
HaulnA$$'s Avatar
Member
20 Year Member
 
Joined: Jul 2003
Posts: 458
Likes: 2
From: Dallas
Originally posted by bigsmlblks
ok I am game for just about anything..... Could you explain what / how to go about doing this?? I know little about all of the technical stuff. I really want to learn how to do this but I am clueless. I try to search for this stuff but everything I find is either extremely basic or waaaaaaaaaaay over my head... any help is much appreciated
What you are doing and the way you are doing it is a recipe for disaster. If you are intent on modifying your .bins source code and you wish to keep your engine together then start here https://www.thirdgen.org/techbb2/sho...de+for+dummies . An ECM bench for testing your changes would also be a good idea. Don't expect to make magic happen right away. If you feel you are not up to the task, you might look at an aftermarket setup. HTH
Reply
Old Jul 27, 2005 | 12:31 AM
  #5  
Z69's Avatar
Z69
Supreme Member
 
Joined: Sep 2003
Posts: 1,409
Likes: 1
From: Texas
Read all the stickies on source code till they make sense.
Get a hac and start going through it while referencing the pink book.

The stock code also won't support >6400 rpm.
It doesn't calculate an rpm value higher than that.
It simply stops at 6375 actually.
The motor will keep reving, but the code will only use the last table value. You can modify the code to calc higher than that though as I've done for learning purposes. This shows how the stock code calcs rpm. https://www.thirdgen.org/techbb2/sho...light=rpm%2F25
There are stock GM non 3rd gen bins that support > 6400 too. One of those things I found while looking for something else.
Reply
Old Jul 27, 2005 | 09:47 AM
  #6  
bigsmlblks's Avatar
Thread Starter
Junior Member
 
Joined: Mar 2005
Posts: 13
Likes: 0
From: Duluth Minnesota
Car: 94 K1500
Engine: yes
Transmission: 4l60E W a few goodies
If you feel you are not up to the task, you might look at an aftermarket setup. HTH
that would bee too easy. I kind of like beating up on carbureted cars and imports with most of gm setup, and they really don't like getting beat by a 4X4 truck. I am not afraid to learn this, I just am new to the injected world...

An ECM bench for testing your changes would also be a good idea. Don't expect to make magic happen right away.
How do I get an ecm bench????? what do I need to make one??? I probably have a lot of the stuff to do it.

There is one more thing that I was wondering.... I have found somewhere that my combonation can support a MAT sensor. Does anyone know how to do this????? or do you have a link to an article that explains this. I found that it is possible just can't find how.....

Thanks
Reply
Old Jul 27, 2005 | 01:28 PM
  #7  
dimented24x7's Avatar
Supreme Member
iTrader: (2)
 
Joined: Jan 2002
Posts: 9,962
Likes: 5
From: Moorestown, NJ
Car: 88 Camaro SC
Engine: SFI'd 350
Transmission: TKO 500
Axle/Gears: 9-bolt w/ 3.23's
6375 RPM is the most you can expect out of the stock pcm without radical changes to the code to allow for a 16 bit rpm term with 24 and/or 32 bit routines to handle the math. Its doable, but beyond the scope of most DIY'ers.
Reply
Old Jul 27, 2005 | 01:37 PM
  #8  
dimented24x7's Avatar
Supreme Member
iTrader: (2)
 
Joined: Jan 2002
Posts: 9,962
Likes: 5
From: Moorestown, NJ
Car: 88 Camaro SC
Engine: SFI'd 350
Transmission: TKO 500
Axle/Gears: 9-bolt w/ 3.23's
My first suggestion would be to pick up the motorola reference manual for the HC11 at moto's site. Read teh central cpu section and look over the instruction set to get a flavor for what youll be working with. Its certainly not impossible to do this. I didnt know, and still really dont know much about computer hardware or any of that and I managed to pick it up. Having former knowlege would be a great help but you can manage without it if you take your time and work things out. Youll make mistakes (I do all the time) and get lost sometimes (yep, happens alot to me as well) but in the end youll be able to work it out.
Reply
Old Jul 27, 2005 | 02:28 PM
  #9  
Z69's Avatar
Z69
Supreme Member
 
Joined: Sep 2003
Posts: 1,409
Likes: 1
From: Texas
Yep, you will run into a lot of apparent dead ends.
Just work on something else that's easier and read more and that wall you hit will suddenly disappear.

Originally posted by dimented24x7
6375 RPM is the most you can expect out of the stock pcm without radical changes to the code to allow for a 16 bit rpm term with 24 and/or 32 bit routines to handle the math. Its doable, but beyond the scope of most DIY'ers.
P4's do it with only one 16bit calc I believe. Never counted.
After that it is all 8bit. See my link above. As long as the DRP comes in on a 16 bit register. It should just be a cut and paste deal.

I thought a 6395 was one of the fast tbi ecm's.
Reply
Old Jul 27, 2005 | 04:28 PM
  #10  
HaulnA$$'s Avatar
Member
20 Year Member
 
Joined: Jul 2003
Posts: 458
Likes: 2
From: Dallas
Originally posted by bigsmlblks
How do I get an ecm bench????? what do I need to make one??? I probably have a lot of the stuff to do it.

There is one more thing that I was wondering.... I have found somewhere that my combonation can support a MAT sensor. Does anyone know how to do this????? or do you have a link to an article that explains this. I found that it is possible just can't find how.....

Thanks
You will have to build an ECM bench yourself. Search the stickies at the top and read them as many times as it takes to soak it all in. As for MAT support, the '6395 has provisions and code for it but is not enabled and the tables are blank in the TBI applications. Basically you just need to connect the sensor then enable it in the code and populate the tables. Sounds a lot easier than it really is though to a newbie but is far easier than extending the RPM range in the code. Learn to walk, then run before attempting to fly. No flame intended, just trying to keep you from becoming discouraged. If you try to get in too deep too fast, you will become overwhelmed and give up. HTH
Originally posted by Z69
I thought a 6395 was one of the fast tbi ecm's.
The '6395 is a P6 PCM but is no faster than a P4. It runs at the same clock speed. It just has a bigger PROM and more I/O hardware for tranny control.
Reply
Old Jul 27, 2005 | 10:07 PM
  #11  
dimented24x7's Avatar
Supreme Member
iTrader: (2)
 
Joined: Jan 2002
Posts: 9,962
Likes: 5
From: Moorestown, NJ
Car: 88 Camaro SC
Engine: SFI'd 350
Transmission: TKO 500
Axle/Gears: 9-bolt w/ 3.23's
Originally posted by Z69
P4's do it with only one 16bit calc I believe. Never counted.
After that it is all 8bit. See my link above. As long as the DRP comes in on a 16 bit register. It should just be a cut and paste deal.
Thats RPM/25 x 256 as you probably know. This is /256 and stored as an 8 bit term, as you also probably know. You could have a seperate calc. that calcs RPM/25 x 128 or some other increment that expands the RPM range that the accumulator can handle. Only problem is if you want filtering, table lookups, etc, then 16 and 24 bit routines are needed to handle the expanded rpm term. Not too terribly hard to write, if youve had assembly experience. I had 16 and 24 bit table look up and filtering routines in the '8063 tbi ecm, so if that can handle them, then the later ecms/pcms certainly can.

The P6 also has an improved MPU with more RAM as well as non-multiplexed address lines and other improvements. If Im not mistaken, the speed they run at is ~2 MHz. This is exactly 2x the speed of the older tbi ecms, so they definatly are faster and better then what came before them in the tbi cars/trucks.
Reply
Old Jul 28, 2005 | 01:53 AM
  #12  
Z69's Avatar
Z69
Supreme Member
 
Joined: Sep 2003
Posts: 1,409
Likes: 1
From: Texas
By your comments, I can't tell if you've actually looked at how 8D calcs the rpm term. Could just be me. The ecm is good to 9k+ theoretically. https://www.thirdgen.org/techbb2/sho...light=rpm%2F25
Instead of RPM/25. You do an RPM/xxxx term and stick it in the code right next to where the /25 term is done. Or else where. But that's where GM put it.
I've done a bin to 9k for giggles. Can't test it since my bench only goes to 64xx.
The hard part is understanding how the code works.
The code patch was easy. Well Rbob helped.... I went way off on a tangent. It took longer to figure out how to add the jsr in than anything else.
The stock 8D has a bunch of extra code in the middle of the calc for other things. Had to figure all that out first.
Reply
Old Jul 28, 2005 | 03:08 AM
  #13  
bigsmlblks's Avatar
Thread Starter
Junior Member
 
Joined: Mar 2005
Posts: 13
Likes: 0
From: Duluth Minnesota
Car: 94 K1500
Engine: yes
Transmission: 4l60E W a few goodies
No flame intended, just trying to keep you from becoming discouraged. If you try to get in too deep too fast, you will become overwhelmed and give up. HTH
I won't get discouraged...... I am in this for the challenge....... I love a good challenge, if its not a challenge it gets boring to me.
Reply
Old Jul 28, 2005 | 08:07 AM
  #14  
dimented24x7's Avatar
Supreme Member
iTrader: (2)
 
Joined: Jan 2002
Posts: 9,962
Likes: 5
From: Moorestown, NJ
Car: 88 Camaro SC
Engine: SFI'd 350
Transmission: TKO 500
Axle/Gears: 9-bolt w/ 3.23's
Originally posted by Z69
By your comments, I can't tell if you've actually looked at how 8D calcs the rpm term. Could just be me. The ecm is good to 9k+ theoretically. https://www.thirdgen.org/techbb2/sho...light=rpm%2F25
Instead of RPM/25. You do an RPM/xxxx term and stick it in the code right next to where the /25 term is done. Or else where. But that's where GM put it.
I've done a bin to 9k for giggles. Can't test it since my bench only goes to 64xx.
The hard part is understanding how the code works.
The code patch was easy. Well Rbob helped.... I went way off on a tangent. It took longer to figure out how to add the jsr in than anything else.
The stock 8D has a bunch of extra code in the middle of the calc for other things. Had to figure all that out first.
Im working with the $0D, which has the same calcs. in it. I think We're both saying the same thing, but in a different way. My idea is just to change the numerator in the FDIV so that its RPM x 25 x 128 rather then x 256 so the accumulator isnt overrun in the rpm calc from the DRPs. Then divide by 128 and store the new RPM/25 term as a double byte value, or just use the calculated value x 128. Provide filtering and then its good to go. Theres a slight resolution loss with this but considering some of the inaccuracies with a SBC dist., I dont think it would matter much.
Reply
Old Jul 28, 2005 | 08:47 AM
  #15  
dimented24x7's Avatar
Supreme Member
iTrader: (2)
 
Joined: Jan 2002
Posts: 9,962
Likes: 5
From: Moorestown, NJ
Car: 88 Camaro SC
Engine: SFI'd 350
Transmission: TKO 500
Axle/Gears: 9-bolt w/ 3.23's
Originally posted by bigsmlblks
I won't get discouraged...... I am in this for the challenge....... I love a good challenge, if its not a challenge it gets boring to me.
Well, if your in for a good challage, you picked the right thing. This is probably one of the hardest car related things you can do. Read all you can and take it slow and you shouldnt get overwhelmed.
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Cornholio7979
TPI
4
Sep 20, 2018 02:31 AM
dyeager535
DIY PROM
7
Aug 28, 2015 08:10 AM
Jae992
TBI
3
Aug 27, 2015 09:07 AM
beast94
DIY PROM
4
Aug 20, 2015 06:44 AM
ezobens
DIY PROM
8
Aug 19, 2015 10:29 PM




All times are GMT -5. The time now is 09:18 PM.