Hello Guys,
It's my first time writing here, and I really need your help.

During the engine installation the car starts up and idles very high. We drove it and it threw a check engine light. Upon scanning, it showed a knock sensor problem.

We've swapped the knock sensor, but the problem persisted. We then thought it was the ECU and tried another, but it still didn't work.

Finally, we checked the wires and found that the wires to the knock sensor (behind the manifold) and the oil sensor (above the oil filter) were swapped in error.

We have fixed it, but sadly the ECU still cannot detect the knock sensors.

Is it possible that both ECUs were fried because of the wrong signals received?

Is there any way I could test the ECUs to find out?

Is it possible to perform a format of sorts to the ECU?

It's really difficult to get another ECU here as these cars are not popular in Nigeria so any repair suggestions would be welcome.
Thanks.