Sounds like typical bad grounds.

Check battery ground to engine block and body.
Reason is, a small amount of resistance here (cable and connections) will create a large voltage drop from the block to negative battery terminal when the high current of cranking the engine goes through the cable.
Also, ground the ECU to the engine block.
With the bad grounds, the ECU will not sense the trigger voltage from the distributor.