CHECK POOR CONTACT OF CONNECTORS.
QUESTION

Is there poor contact in connectors between generator, battery and ECM?

Yes No

Repair the connector.