Even if i had a diagram of the ECU pinout i could definitely get it back together. The old loom is still in for the lights etc.. only need the necessary wiring information to get the engine running.
it's the 2.0EFI DOHC engine - ECU is EEC-IV 8BAB ? (EFI-SD130)
don't know about ECU codes but this is about the best i can see.