The issue of ABS and cruise control not working after engine and ECU replacement

There is the following task: the engine and ECU were installed from a 2008 Impreza (EJ20X) into a 2012 Forester, replacing the FB20 engine.

The ABS/VDC indicators are illuminated, showing an ABS error code C0045.

The issue of ABS and cruise control not working after engine and ECU replacement

This task involves finding the identifier for ABS in the CAN packet and replacing it in the firmware of the installed module.

Let’s examine the available packet IDs in the firmware.

The issue of ABS and cruise control not working after engine and ECU replacement

It’s evident that the IDs are the same, which simplifies the task. Let’s load both software into the IDA disassembler.

We locate the CAN ID… as shown in the screenshot:

The issue of ABS and cruise control not working after engine and ECU replacement

Next, we locate the required CAN ID packet and the ABS identifier within it, and transfer it to the software of the installed ECU.

As a result, we obtain a functioning ABS and VDC.