Repairing a Magneti Marelli Logic Car Diagnostic Scanner.

The other day someone brought me a magneti marelli logic scanner for repair with the diagnosis "doesn't read fault codes" and asked me to take a look. Why did they bring it to me and not to where it was bought?
The thing is, a new scanner costs 1000 euros, and the official representative asked 500 for the repair.
I was curious to see how it's built and to earn a little, so I agreed.
Repairing a Magneti Marelli Logic Car Diagnostic Scanner.

Repairing a Magneti Marelli Logic Car Diagnostic Scanner.

Repairing a Magneti Marelli Logic Car Diagnostic Scanner.

Repairing a Magneti Marelli Logic Car Diagnostic Scanner.

After taking the scanner apart, I noticed that it consists of two boards, one of which is covered with optocouplers that isolate the input and output signals. That is, if there is overvoltage in the car, it will blow an optocoupler but won't damage the control part.
I checked all the optocouplers on this board and found a blown one. I ordered several of these optocouplers on AliExpress and thought that would be the end of the repair. By the way, in self-diagnosis mode the scanner complained about pin 7 being shorted to ground; this pin is responsible for diagnostics via the K-line.

After replacing the blown optocoupler, the scanner stopped complaining about pin 7 being shorted to ground (you could see packets being transmitted on the oscilloscope), and I handed it over for testing. After several days of testing it turned out that it reads only cars that use the K-line.

At that time I knew that modern cars are diagnosed via the CAN bus, and it was clear that it wasn't working. Something told me that the board must have a chip implementing the CAN physical layer, and my intuition didn't let me down: I found an MCP2551 chip on the board. The next step was to check that the MCP2551 was working with an oscilloscope: the signal should be present at both the input and output of the chip. I powered the scanner from a bench power supply, and interestingly, when trying to run CAN bus diagnostics the current draw increased by 100mA, but there was no signal at the output. This suggested a short somewhere, but since I didn't have a schematic, I first checked all the chip pins for continuity to ground and found that one of the differential outputs (CAN Low) was shorted. I replaced the chip, the packets appeared and the current draw returned to normal. But this time I decided not to return the scanner right away, and to go over the board looking for other burnt components.
Right away the question arose: "which components should I pay attention to?"
 The power supply is fine, but maybe some other protocols aren't working? In short, I decided to look up which other pins are used for car diagnostics and with which protocols. The result was this table.
Repairing a Magneti Marelli Logic Car Diagnostic Scanner.

Physically, the first two protocols are implemented with transistors, so I decided to look for blown transistors on the board, and I did find several. In the end, all the protocols listed above started working and the scanner went off for testing again. A few days later I got a call saying that in some cars it reads only certain modules and doesn't see others. A check with the oscilloscope showed that this was true: on the same car, packets go out when trying to connect to the ABS, but not when trying to connect to the engine. No matter how much I studied the board, I never found the problem, and in my opinion, if the physical layer works with one module, it should work with another, but these are just my guesses; a schematic is needed to draw a definite conclusion. In the end I got to know automotive protocols a bit more deeply, but I didn't get paid))))