Install the ECM from other normal operating vehicle which use same ECM to the vehicle to be diagnosed.
Is ECM registration finished? And does the engine start?
Replace the ECM.
Replace the ID code box.