I am tuning and troubleshooting a stock LQ4, P59 ECU, and TAC module out of a 2003 Envoy swapped into a square body pickup with a TH350. The customer used an ebay Gen3 LS swap harness, which I had to repin in a bunch of spots to get it running. I disabled transmission control and all codes that don't apply anymore that I can think of. It starts and idles fine now, but when load is applied, in gear or in neutral, the ECU goes into open loop and it will surge until you get out of the throttle, but stay in open loop. A key cycle will get it to go back into closed loop. The throttle plate stays open when this "rev limit" is happening, and fuel pressure remains stable. The only trouble code that sometimes comes up is a P0327 knock sensor circuit 1, and I suspect a bad knock sensor as it produces 45mV at idle and continuity to the ECU is good.
I've attached the calibration, VCM suite information, and three logs.
Thanks in advance!