On Wed, Nov 6, 2019 at 11:13 AM jawad ahmed saleemi
<jawad.sale...@hotmail.com> wrote:
>
> Hi,
>
> In our setup, when the grandmaster reboots, the ptp slave gets out of sync 
> and is unable to resync again. The ptp slave shows a huge offset once the 
> grandmaster comes back up and it remains like this. When I set the 
> step_threshold parameter to 0.00002, the offset reduces but the port state 
> stays in UNCALIBRATED state and is unable to switch to RS_SLAVE state. On 
> further increasing the step_threshold parameter to 0.02, the ptp slave is 
> able to resync with the master and switch to RS_SLAVE state easily. I am 
> confused about what is going on here. Why didn't 0.00002 worked but 0.02 did.
>
> Another thing I am a bit confused about is first_step_threshold.
>
> In the manpage it says,
>
> The maximum offset the servo will correct by changing the clock frequency 
> instead of stepping the clock. This is only applied on the first update.
>
> I would like to know what does "first update" mean in this context.

As I read the documentation, when the ptp slave starts there is a
first update, then a second update etc etc.

If the grandmaster was rebooted or changed, then there might be a
first update from that instance of a Grandmaster, it would not be the
_first_ update of the ptp slave.

Cheers

Arne


_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to