Car model: BMW 525D
ECU type: EDC15C4
Symptoms: After running out of battery, the car does not start.
Error code: 02 EWS key code variable incorrect
Attempt: tried to do synchronization to reactivate it, but unfortunately all attempts failed
Final result: had to cancel the protection code immo off by reading the flash with foxflash on bench. And making immo off using the giant software autosoft online.
Thus, the car started successfully.