Short answer
A petrol ECU focuses on ignition and air management, while a diesel ECU focuses on high-pressure fuel injection and charge control. Their maps and families are therefore separate.
Detailed answer
In a petrol engine, combustion is started by a spark plug, so much of the software deals with ignition timing, air quantity and air-fuel ratio control. In a diesel, combustion comes from compression, and the software focuses on injection quantity, timing and rail pressure.
The sensors and actuators also differ, so the two types of unit cannot replace each other. On the Bosch side, EDC and MD point to diesel while ME, MED and MG point to petrol, which makes a quick first filter in a search.
Even with the same make and model year, vehicles on different fuels do not share files. Always confirm the engine code and fuel type.
Last updated: