22.10.2013 Views

TECHNICAL NOTES ON THE EEC-IV MCU - Auto diagnostics

TECHNICAL NOTES ON THE EEC-IV MCU - Auto diagnostics

TECHNICAL NOTES ON THE EEC-IV MCU - Auto diagnostics

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Converting to decimal and dividing by 4:<br />

21 23 26 28 31 34 39 56<br />

12 ...<br />

5 ...<br />

4 ...<br />

2 ...<br />

1.5 1.5 2 3 4.5 8 12 20<br />

1.5 1.5 2 3 4.5 8 12 18<br />

The rows are stored last first, so reversing rows gives the table as displayed:<br />

---------------<br />

2) Function Tables<br />

---------------<br />

1.5 1.5 2 3 4.5 8 12 18<br />

1.5 1.5 2 3 4.5 8 12 20<br />

2 ...<br />

4 ...<br />

5 ...<br />

12 ...<br />

21 23 26 28 31 34 39 56<br />

Eectch98-Part2.fm<br />

The second of the two kinds of tables is identified in the output with ’func’ in the second line of<br />

output for it. For example, the ’WOT Spark Advance vs. RPM’ table is:<br />

"WOT Spark Advance vs. RPM<br />

"func:29956,32,2,d4,0,2,d4,1<br />

RPM:0,1000,1800,2150,2600,3500,5000,16383.75<br />

WOT Spark Advance Deg TDC:10.25,10.25,22.25,25.75,26.75,26.75,30.25,30.25<br />

"end<br />

--The first line is the title of the table<br />

--The second line is decoded as follows:<br />

func -- identifies this as a function type table<br />

29956 -- the decimal location of the table in the PROM<br />

(or 7504 hex)<br />

32 -- the total number of bytes in the table<br />

2 -- the number of bytes in each X entry<br />

d4 -- the scale of each X entry. In this case, divide<br />

each X entry by 4 to get RPM<br />

’m’ can be used to specify ’multiply each X entry’.<br />

0 -- each X entry is unsigned<br />

2 -- the number of bytes in each Y entry<br />

d4 -- the scale of each Y entry. In this case, divide<br />

each Y entry by 4 to get degrees of Spark Advance<br />

’m’ can be used to specify ’multiply each Y entry’.<br />

1 -- each Y entry is signed<br />

From the binary:<br />

007500 FF FF 79 00-20 4E 79 00 B0 36 6B 00<br />

007510 A0 28 6B 00 98 21 67 00-20 1C 59 00 A0 0F 29 00<br />

007520 00 00 29 00<br />

Since each entry is 2 bytes long, group into pairs:<br />

FF FF FF FF<br />

79 00 00 79<br />

20 4E 4E 20<br />

79 00 00 79<br />

B0 36 36 B0<br />

6B 00 Since this is an Intel ---> 00 6B<br />

A0 28 CPU, reverse bytes of ---> 28 A0<br />

6B 00 each integer. ---> 00 6B<br />

98 21 21 98<br />

67 00 00 67<br />

20 1C 1C 20<br />

59 00 00 59<br />

<strong>EEC</strong>-<strong>IV</strong> Technical Notes: Software 44 last edited: 9/29/98

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!