Made some progress this weekend on the body control module. Also made some backwards progress....
Ended up getting the BCM mounted down in the driver side kick panel and everything wired up. Actually fits pretty well and can not be seen when the trim piece is in place.
After getting the BCM and Secondary Air Pump all wired up, I hooked the battery back up. When I did, i was getting a repeated clicking noise from the Idle Air Control motor but would stop when the key was turned on. Weird... Anyways, I go to try and start the motor and low and behold the VATS works properly and shutdowns the motor instantly. At this point I know I need to have the BCM relearn the VATS signal which involves the key being in the On position for 10 mins, off for 10 seconds, then try to start it. This must be performed a total of 3 times. Well after 5 tries, it is still killing the engine and the IAC is still making noise.
During this whole process I figure I might as well try and verify that the Air pump is working as it should. Using the Scanner module of HPTuners I should be able to turn the pump on and off manually. Well as my luck goes, it does not work. After verifying that the relay is getting power, I dive into the tune of the PCM. I verify that all of the CVNs are correct, which they are. But notice that in the the main layer of the code, the air injection system is not enabled. Odd, as this is a 2001 5.3 and it should have air injection as it came with it when I bought it. For S's and G's I changed the binary 0 to a 1 to activate it, which resulted in a proper operation for the air pump. However the CVN changes, s***. So at this point I have a factory flashed computer that does not have air injection controls and according to the CVNs is correct, but the motor had air injection on it when I bought it. At this point I may buy another 2001 PCM to see if it has the air injection controls and correct CVNs. If it does I will just run the new PCM.
As far as the IAC and BCM issues, I found out I swapped the locations of the 12V ignition pins and ground pins. When the BCM was plugged in it was causing back feeding issues to the IAC. I have not had a chance to re-pin the connector as the ran showed up early on Sunday. Hopefully tonight I can swap everything around.