For high-precision real-time kinematics (RTK) and safety-of-life Global Navigation Satellite Systems (GNSS), it is critical to track the carrier reliably without interruptions. We develop hardware-oriented robust on-line cycle slip and loss detection logic for a single-frequency stand-alone aviation receiver. The moving average statistics of time-differenced frequency-lock loop (FLL) are shown to provide a robust and fixed detection threshold for cycle loss detection. A Monte-Carlo simulation shows that the detection performance remains robust when aviation dynamics from minimum operational performance standard (MOPS) are added to a simulated strong scintillation.