Conditions for Setting the DTC
WARNING: This page is about a different car, the 2007 GMC Sierra and 2007 Chevrolet Silverado. However, it is still accessible from the selected car via links, so may be relevant.
DTC P0777 sets when the TCM detects the off-going clutch, controlled by PCS2, remains engaged during a forward range shift.