News:

29 November 2026 - We're back

The Club-XM forum has been down for a very long time due to outdated forum software and, until today, unsolvable errors. With the help of AI, I worked my way through the errors, changed the forum software and got it all back up and running - Hoorah!

Main Menu

2.5TD Engine ECU

Started by noz, April 13, 2011, 10:21:39 PM

Previous topic - Next topic

xmexclusive

#15
Hi All

Progress report on my 2.5 ECU investigations.

Using a spare early 212 ECU (L17 type) I have read the contents of the two EPROMS and the associated serial EEPROM devices. Had to cut the chips out to do this.
This ECU is currently immobiliser protected set to the early Garage code of 0001.
The chips were then reinserted in the ECU (all now socketed) and the ECU tested as still working. I did this one chip at a time just to be sure I would know which one had a problem if the ECU had failed.
One interesting feature was that on reinstalling the ECU in the car to test it would occasionally go code free (green light) for first start up. Switch off and retry and the code was required. I think this is just a feature of powering down the ECU to work on it.
In the car the ECU stays powered so the two ECU micros start up in the designed order. If the ECU is left off power for a while I suspect that it is a matter of luck which micro runs first. If the non code one happens to win the ECU thinks that it is code free.  
I have also programmed new serial EEPROM's so will test these in the next day or so.

Just tried resetting the ECU in the car with start codes 2345 and 6789.
Read the EEPROM chips and worked out which one gets data changed by the revised code. So now know which chip and which data bits change.
I am recording chip contents for each set of numbers.
I will try a few more combinations of numbers plus the deferred locking code of 0000. This might not be stored in the same way or positions as the immo ones.
Bit of a slog but if I try a few more selected number combinations it should be possible to work out the storage algorithym.

Tried a few more codes now.
This early type ECU has a delay on the immobiliser kicking in.
Have to wait for this to time out every time I refit or test the ECU.
That is getting a bit annoying.
Tried the 0000 reset and it worked fine making the car code free.
After I took the ECU out to read the chip though when refitted it refused 0000 and had reverted to the previous used code.
May have to try that check again.
Now tried 9012 to give me all 10 numbers used.
Next will be changing just a single number so will try 9013.

Need to find my information on HEX coding so I can start to see if the decoding is a simple look up table.

Progress so far means that I can rest an early 212 (L17) 0001 type ECU even if the code is lost.

The temptation is to move onto later ECU's but I think I will stick with this early one until I have a much better understanding of how it works. That might well save a lot of work by having a much better idea what to look for in the later ECU's.

Some real progress today after a bit of a wild goose chase since the last report.
Found that I could only find a reliable alogrithm to understand the first two digits of the Immo code from my EEPROM reading. Spent some time looking for the last two digits in the other EEPROM on the ECU. Data was changing in both EEPROM's but I could not decode those last two digits. It turns out that all the Immo code data is in the first chip and I had been missreading them. I can now see current and previous Immo codes as plain text in the correctly read chip. At least the decoding work has given me a good understanding of how this ECU processes the Immo codes.

Have now worked through a series of Immo codes to confirm that all the codes I used were stored in plain text and that the location in the EEPROM does not change.
I have also read a late version ECU EEPROM and the Immo code appears to be stored in the same way in the same locations.
Will now work with the early ECU to understand how the garage code and keypad deferred locking are dealt with.

Will try to update as I go with this.

John
An interest in 2.5TD's.
Location: Hampshire, U.K.