Fooling the original ECM that the engine is running

Post Reply
JanJouke
Posts: 19
Joined: Fri May 12, 2023 8:28 pm
Location: Breda
Been thanked: 2 times

Fooling the original ECM that the engine is running

Post by JanJouke »

Hi all,

The Original ECM from the diesel engine is still in my Volvo V50 viewtopic.php?p=81063&hilit=v50#p81063. On the original conversion they connected an mbed NXP LPC1768 to the ECM (crank sensor, cam sensor and engine temp) and the CEM for the fuel sensor.
IMG_0252.jpg
It looks like it is can controlled via the original (deleted) motorcontroller. How can I figure out how to control this (via the Zombieverter)?
- There is no code to be found (only Hello world) on the mbed (when I connect it to my laptop and it shows up as an USB station).
- There is an external EEPROM connected to the i2c. I tried to get the code from it via a dump with a arduino, but that gave only a long list of the numbers 255. In the beginning a few others, but not enough to be the code.
- One pin gives a constant pwm signal (so I assume there is some sort of program on it)
- Can the code be stored on an other place which is'nt shown on the usb interface? Is it possible to extract the needed can commands if I find the code?

My options are:
- Program the zombie to give the embed the correct commands (if I can find out what these are)
- write a new program for the mbed (that is difficult for me as I have no experience with this board an the support is stopping in 2026 so no usable interface anymore by then)
- change the embed for an arduino and write new code for it
- use the Zombieverter to provide the 2 pwm signals (with different frequenties) and the 0-5v fuel and temp sensor. Can this be done? Do I have to add this to the firmware? I only see one programmable pwm signal.
- A way better solution????

This is the last thing I have to figure out to get the car driving and ready for the annual checkup (APK, MOT). When the ECM thinks the engine is running, the powersteering starts working. And I expect ABS (and other possible) problems when it thinks the engine is not running while driving.

Thanks in advance
User avatar
tom91
Posts: 2418
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bristol
Has thanked: 209 times
Been thanked: 575 times

Re: Fooling the original ECM that the engine is running

Post by tom91 »

Do you have a CAN log of a running Volvo with the same ECM in it?

Get a CAN log of your car now with the ECM in it and the engine not running. Then you can compare.
Creator of SimpBMS
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
JanJouke
Posts: 19
Joined: Fri May 12, 2023 8:28 pm
Location: Breda
Been thanked: 2 times

Re: Fooling the original ECM that the engine is running

Post by JanJouke »

I have the can logs from Damien his V50, these work on mine.

The issue is that I don't have a can log from the previous electric motor controller (the Magtec system) that was controlling this micro controller. Therefore I have no idea what kind of commands this needs. If i can find out what commands it needs, I could reuse this controller. Otherwise there should be found an other solution. The micro controller is not sending anything by itself over the canbus (checked with a oscilloscope).
User avatar
muehlpower
Posts: 694
Joined: Fri Oct 11, 2019 10:51 am
Location: Germany Fürstenfeldbruck
Has thanked: 14 times
Been thanked: 141 times

Re: Fooling the original ECM that the engine is running

Post by muehlpower »

How does Damien do it with his V50 with M3 Drive Unit?
User avatar
muehlpower
Posts: 694
Joined: Fri Oct 11, 2019 10:51 am
Location: Germany Fürstenfeldbruck
Has thanked: 14 times
Been thanked: 141 times

Re: Fooling the original ECM that the engine is running

Post by muehlpower »

Another approach is to find out what the diesel engine sensors are doing. From a crankshaft or camshaft sensor you can expect a clock pulse, perhaps with two missing teeth, the temperature sensor is probably analog and can also be simulated. It should be possible to check whether everything is as expected with a diagnostic device on the OBD.
Post Reply