The easiest way to diagnose this is with a capable scan tool, not a generic code reader. Check for faults in that system and if present, clear them and see if they come back. Sometimes fault codes will disable electrical functions, such as a bulb fault. Then look at live data to see if the TIPM is seeing the up window command from the switches, both master switch and the door switch. If the window goes down it is getting power and ground to the motor when the down position. It may be that when the up function is commanded the ground output is missing from the control module, which is a combination body control module and smart fuse panel, as I recall. The Totally Integrated Power Module contains the switching devices for the electrical loads it controls.