Conditions for Setting the DTC: P0335
WARNING: This page is about a different car, the 2010 Chevrolet Cobalt. However, it is still accessible from the selected car via links, so may be relevant.
The ECM does not detect a signal from the crankshaft position sensor. OR, the ECM detects a crankshaft position signal with out reference pulse for more than 6 revolutions. Either condition exists for greater than 4 s or a cumulative of 50 s.