Hi,
An update possibly useful for people in the future.
Mathworks eventually found that the issue was entirely a bug within their
matlab/simulink code. It seems that they were improperly associating timestamps
and PTP packets causing instability in their PTP algorithm. It is an issue
that is unique to situations where their code is acting as a slave and not a
master, or with more than one slave on the network.
Eliot.
________________________________
From: Eliot Dixon (TMETC Plc)
Sent: 27 April 2018 08:26:26
To: Richard Cochran
Cc: linuxptp-users@lists.sourceforge.net
Subject: Re: [Linuxptp-users] Integration with simulink real time
Hi,
Thanks for being interested in the problem.
I call it a real-time machine as it is running Simulink Real-Time OS to allow
Simulink models to run in real time, but as far as I know this is actually
based on FreeDOS.
I'm not actually were what software it is running as its all a bit black-boxed
and wrapped up in simulink code.
After poking around a bit in wireshark, I suspect that the its a problem with
how simulink is synchronising the clocks and is probably only solvable by them.
The messages being exchanged across the network look correct to me, at least
compared to what is being swapped between the linux machines.
Thanks,
Eliot.
________________________________
From: Richard Cochran <richardcoch...@gmail.com>
Sent: 27 April 2018 06:30:27
To: Eliot Dixon (TMETC Plc)
Cc: linuxptp-users@lists.sourceforge.net
Subject: Re: [Linuxptp-users] Integration with simulink real time
On Thu, Apr 26, 2018 at 03:36:52PM +0000, eliot.di...@tatamotors.com wrote:
> Essentially, the problem is that between my linux machines
> everything runs perfectly, but on the realtime machine the PTP time
> varies wildly (several years wildly) without converging on an
> answer.
What OS is running on the "realtime machine", and what is the PTP
software stack?
Thanks,
Richard
********************************************************************************************************************************************************
"This e-Mail may contain proprietary and confidential information and is sent
for the intended recipient(s) only. If, by an addressing or transmission error,
this mail has been misdirected to you, you are requested to delete this mail
immediately. You are also hereby notified that any use, any form of
reproduction, dissemination, copying, disclosure, modification, distribution
and/or publication of this e-mail message, contents or its attachment(s) other
than by its intended recipient(s) is strictly prohibited. Any opinions
expressed in this email are those of the individual and not necessarily of the
organization. Before opening attachment(s), please scan for viruses."
********************************************************************************************************************************************************
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users