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

AUJP HAC code question

Thread Tools
 
Search this Thread
 
Old Nov 10, 2013 | 03:30 PM
  #1  
bobworkman's Avatar
Thread Starter
Junior Member
 
Joined: Jul 2011
Posts: 22
Likes: 0
AUJP HAC code question

I have read 84ELKY's post on the knock count problem and pored through the aujp code. I seems clear that knock count is stored at 0x$3FCA but I can find nowhere that it is written to this location. I see the code that reads U6 but it only seems to be invoked to test for sensor fault.

Can anyone point me to the 'read' code. I suspect that when the value is read from the ADC chip some lower threshold must be exceeded before it counts as knock.

Thanks
Reply
Old Nov 11, 2013 | 07:43 AM
  #2  
RBob's Avatar
Moderator
iTrader: (1)
 
Joined: Mar 2002
Posts: 18,432
Likes: 233
From: Chasing Electrons
Car: check
Engine: check
Transmission: check
Re: AUJP HAC code question

The address of $3FCA accesses hardware. It is the location of the PA3 (knock) counter.

RBob.
Reply
Old Nov 11, 2013 | 08:18 AM
  #3  
bobworkman's Avatar
Thread Starter
Junior Member
 
Joined: Jul 2011
Posts: 22
Likes: 0
For Rbob Re: AUJP HAC code question

Okay that answers one big question.
Can you explain how the signal gets from U6 channel 3 to this hardware location. Is there a loop somewhere that does that? Updating all the inputs from U6 and U5 ?

Thanks again
Bob
Reply
Old Nov 11, 2013 | 11:33 AM
  #4  
JP86SS's Avatar
Supreme Member
20 Year Member
iTrader: (1)
 
Joined: Apr 2004
Posts: 3,180
Likes: 3
From: Browns Town
Car: 86 Monte SS (730,$8D,G3,AP,4K,S_V4)
Engine: 406 Hyd Roller 236/242
Transmission: 700R4 HomeBrew, 2.4K stall
Axle/Gears: 3:73 Posi, 7.5 Soon to break
Re: AUJP HAC code question

There is a subroutine at the bottom of the code that reads the input.
When called the parameters like channel number are set as register variables and the code executes using them and returns with the input value.
Search U5 or U6 channel and something should indicate the routine that is jumped to after setting a the register values (LDA or something similar)
Jp
Reply
Old Nov 11, 2013 | 11:36 AM
  #5  
JP86SS's Avatar
Supreme Member
20 Year Member
iTrader: (1)
 
Joined: Apr 2004
Posts: 3,180
Likes: 3
From: Browns Town
Car: 86 Monte SS (730,$8D,G3,AP,4K,S_V4)
Engine: 406 Hyd Roller 236/242
Transmission: 700R4 HomeBrew, 2.4K stall
Axle/Gears: 3:73 Posi, 7.5 Soon to break
Re: AUJP HAC code question

As to your original Q, the value is a double word storage location and the "count" value is the upper byte IIRC.
By looking at the lower byte you can see the actual knock counter indication of knocks increasing (and effectively retarding the timing) before the "standard" byte indicates.
HTH
Reply
Old Nov 11, 2013 | 01:20 PM
  #6  
RBob's Avatar
Moderator
iTrader: (1)
 
Joined: Mar 2002
Posts: 18,432
Likes: 233
From: Chasing Electrons
Car: check
Engine: check
Transmission: check
Re: For Rbob Re: AUJP HAC code question

Originally Posted by bobworkman
Okay that answers one big question.
Can you explain how the signal gets from U6 channel 3 to this hardware location. Is there a loop somewhere that does that? Updating all the inputs from U6 and U5 ?

Thanks again
Bob
It doesn't. U6 is an analog MUX used for inputs to the ADC device (U5). The knock sensor is connected to the U6 channel 3, not the knock filter. This allows the ECM to test the resistance of the knock sensor and the wire from it to the ECM.

The output of the knock filter goes to the ECM PA3 hardware counter.

RBob.
Reply
Old Nov 11, 2013 | 06:57 PM
  #7  
bobworkman's Avatar
Thread Starter
Junior Member
 
Joined: Jul 2011
Posts: 22
Likes: 0
Re: AUJP HAC code question

More questions for Rbob.

Okay so my understanding increases..
when you say "the knock filter goes to the ECM PA3 hardware counter"
are you refering to pin 42 on U2?

Does this mean that the output from the knock filter is a digital signal?
May have to put scope on a knock filter on the bench.
Do you happen to know what the input voltage to the filter (pin 32 i think) is so I can bench test one I have removed from the Memcal?

Thanks again
Bob Workman
Reply
Old Nov 12, 2013 | 07:02 AM
  #8  
RBob's Avatar
Moderator
iTrader: (1)
 
Joined: Mar 2002
Posts: 18,432
Likes: 233
From: Chasing Electrons
Car: check
Engine: check
Transmission: check
Re: AUJP HAC code question

Originally Posted by bobworkman
More questions for Rbob.

Okay so my understanding increases..
when you say "the knock filter goes to the ECM PA3 hardware counter"
are you refering to pin 42 on U2?
Yes.

Originally Posted by bobworkman
Does this mean that the output from the knock filter is a digital signal?
Yes.

Originally Posted by bobworkman
Do you happen to know what the input voltage to the filter (pin 32 i think) is so I can bench test one I have removed from the Memcal?

Thanks again
Bob Workman
+12 volts via a 30 ohm resistor, see sheet 9.

On the MEMCAL, pin 29 is the input from the sensor. Pin 30 is power, pin 31 is ground, with pin 32 being the output to the PA3 counter.

The other knock filter pins aren't used within the ECM.

RBob.
Reply
Old Nov 14, 2013 | 03:02 PM
  #9  
bobworkman's Avatar
Thread Starter
Junior Member
 
Joined: Jul 2011
Posts: 22
Likes: 0
Re: AUJP HAC code question

Thanks for the great info!

So this is going to require a bit of a project rethink but each step gets me a little bit closer.
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
chazman
Tech / General Engine
8
Aug 28, 2018 03:25 PM
Azrael91966669
DIY PROM
25
Jun 20, 2017 04:04 AM
89fast5oh
DIY PROM
5
Sep 27, 2015 09:04 PM
redmaroz
LTX and LSX
7
Aug 16, 2015 11:40 PM




All times are GMT -5. The time now is 02:40 AM.