C0277 09
WARNING: This page is about a different car, the 2008 Cadillac CTS. However, it is still accessible from the selected car via links, so may be relevant.
If the DTC is set, replace the brake pedal position sensor. If the DTC resets, replace the BCM.