• Grzegorz Daniluk's avatar
    wrc_main: wait before link-up (workaround for wrs v4.2 problem) · c6a0fe43
    Grzegorz Daniluk authored
    We have experienced the problem when re-loading LM32 firmware many times when
    WRPC synchronizes to WRS v4.2 (the latest WRS firmware is v5.0). Sometimes after
    reprogramming LM32 WRS was reporting a bitslide value the same as for the
    previously established link. This was resulting in wrong synchronization and
    1-PPS skew off by the difference between the actual and reported WRS bitslide.
    This problem is not new with this WRPC v4.0, we've managed to reproduce is also
    with WRPC v3.0 and WRS v4.2. Testing WRPC v4.0 with WRS v5.0 did not reveal this
    problem.
    
    With this workaround we wait longer before re-enabling the link so that WRS v4.2
    for sure notices link down and re-measures the bitslide.
    c6a0fe43
wrc_main.c 5.47 KB