Not witnessed it myself, but have heard of it a few times now. It seems having the gearbox earth removed causes starter return currents to flow through the ecu killing it. Always ensure all earths are in place before connecting battery/ new ecu. Also I think you want to connect earth before pos, as you ensure a return path which some components require