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: 2419
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bristol
Has thanked: 209 times
Been thanked: 577 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.
User avatar
crasbe
Posts: 300
Joined: Mon Jul 08, 2019 5:18 pm
Location: Germany
Has thanked: 47 times
Been thanked: 150 times

Re: Fooling the original ECM that the engine is running

Post by crasbe »

muehlpower wrote: Fri Jul 04, 2025 6:49 am How does Damien do it with his V50 with M3 Drive Unit?
The V50 is the next in line and currently in the Barn, there is no solution for this yet. The plan is though to replace the original ECM.
arber333
Posts: 3572
Joined: Mon Dec 24, 2018 1:37 pm
Location: Slovenia
Has thanked: 134 times
Been thanked: 339 times
Contact:

Re: Fooling the original ECM that the engine is running

Post by arber333 »

Here is some of my issues with Leaf powered Peugeot 406c
You need to get a service manual for the ECM your car uses.
Usually it is described how the sensors operate and which values ECM accepts as normal.

I almost completely convinced my car its engine is still running at idle. A/C compressor control interlock opens and the car interface operates normaly.
https://leafdriveblog.wordpress.com/202 ... r-working/
https://leafdriveblog.wordpress.com/202 ... age-drive/
https://leafdriveblog.wordpress.com/201 ... do-signal/
https://leafdriveblog.wordpress.com/202 ... al-errors/

I am now dealing with Megane interface. I got RPM working, accelerator pedal sensors and i think i am close to getting temperature control and fuel injection thing...
Post Reply