TRACE(TRACE_ERROR,"Failed to establish communication with the RT subsystem.");
...
...
@@ -62,22 +65,36 @@ int hal_init_timing()
break;
}
while(!tmo_expired(&lock_tmo))
while(1)
{
structrts_pll_statepstate;
if(tmo_expired(&lock_tmo))
{
TRACE(TRACE_ERROR,"Can't lock the PLL. If running in the GrandMaster mode, are you sure the 1-PPS and 10 MHz reference clock signals are properly connected?");
TRACE(TRACE_INFO,"re-syncing to UTC from serial port");
nmea_resync_ppsgen("/dev/ttyS2");
}
TRACE(TRACE_ERROR,"Can't lock the PLL. If running in the GrandMaster mode, are you sure the 1-PPS and 10 MHz reference clock signals are properly connected?");