- Jun 07, 2019
-
-
Jean-Claude BAU authored
-
- Jun 06, 2019
-
-
Jean-Claude BAU authored
When the extension is inactive due to some circonstances, an instance will reactivate the extension when the instance will jump to UNCALIBRATED state.
-
- Jun 05, 2019
-
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Benoit Rat authored
-
Benoit Rat authored
In the previous code all these values where hardcoded and thus difficult to port to a device similar to wrs without needing to fully rewrite the wrs-time.c. With this new code the user can now modify the device to access to FPGA and the offset of RT subsystem.
-
Benoit Rat authored
-
Benoit Rat authored
Also ignore generated size_wrs_info.txt
-
For security we still use define in the case that the hal as not properly set these value.
-
Jean-Claude BAU authored
-
- Jun 04, 2019
-
-
Jean-Claude BAU authored
When the link state changes rapidly, it can't be detected by PPSi. This is the case with the BTrain configuration. So we must detect that the peer has changed and restart the servo for a slave and use the right protocol (extension/ptp).
-
Jean-Claude BAU authored
The structure was not updated when the FAULT timer was removed.
-
Jean-Claude BAU authored
At startup the state of a instance is set to DISABLED and will be set if the link is up to INITIALIZING. This is done to be coherent with the curent behavior: the state becomes DISABLED when the link is down
-
- May 29, 2019
-
-
Jean-Claude BAU authored
-
- May 28, 2019
-
-
Jean-Claude BAU authored
-
- May 27, 2019
-
-
Jean-Claude BAU authored
The WR time is set in GM mode as follow : 1/ At startup the NTP time is set using wr_date script 2/ PPSi calls the tool wr_date with parameters "set host". It will be called every time it detects a PLL transition from UNLOCKED to LOCKED state. Also PPSi provide a error counter 'gmUnlockErr' which gives the number of time the PLL unlocked. 3/ Parameters "-v set host" in wr_date tool, set only the second part of the WR time. The time is set in a middle of two WR seconds ticks.
-
Jean-Claude BAU authored
- Give priority to the time-out and not the number of msg repetitions - Call also wr_handshake_fail() function when a time-out is detected.
-
- May 24, 2019
-
-
Jean-Claude BAU authored
As the enable_output_timing() hook is called also in the standard PTP part, the hook has been moved from the WR specific structure wrh_operations to pp_time_operations
-
Jean-Claude BAU authored
-
- May 20, 2019
-
-
Jean-Claude BAU authored
- Add a new state machine available for all timing modes ( Free running master, Grand master and boundary clock) - State is stored in pp_globals, field timingModeLockingState - The 3 main states are : -- Locking: Waiting for PLL locked -- Locked: PLL is locked -- Error: PLL is unlocked but was locked before - Changing the timing mode will reset the state to 'Locking'
-
- May 15, 2019
-
-
Jean-Claude BAU authored
- Change the Quality structure to make it compliant with the standard - Fix network to host conversion to display offsetScaledLogVariance
-
- May 14, 2019
-
-
Jean-Claude BAU authored
- Calculations made using fixed pointarythmetic - delayAsymCoeff calculated using polynomial expansion - Based on Rens Roosenstein work
-
Jean-Claude BAU authored
If a PLL unlocked is detected on slave side when the servo is running, the PTP state is forced to UNCALIBRATED to restart the WR calibration (handshake)
-
- May 09, 2019
-
-
Jean-Claude BAU authored
- Simplify how an instance switch from WR to PTP protocol and vice-versa - Change the WR state machine: When an unexpected WR signaling message is received, the state is forced to IDLE. Solve handshake issue when instance is waiting for an answer with a long time-out and in the other side the PPSi process is restarted. In this use case the handshake will fail.
-
- May 07, 2019
-
-
Jean-Claude BAU authored
-
Jean-Claude BAU authored
The logic used to control WR switch leds is removed from HAL and imported into PPSi. It prevents HAL from reading PPSi shared memory.
-
- May 03, 2019
-
-
Jean-Claude BAU authored
-
- May 02, 2019
-
-
baujc authored
Modification made to be more coherent as delayCoefficient is in range [-1,1] instead of [-2,2].
-
baujc authored
This is a temporary implementation that will be reviewed when the PPSi live configuration will be implemented.
-
[ACC] Jean-Claude BAU authored
-
- Apr 30, 2019
-
-
baujc authored
-
- Apr 10, 2019
-
-
Adam Wujek authored
add monitor variable to struct hal_port_state Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
baujc authored
-
baujc authored
Will be reintroduced later with HA profile.
-
baujc authored
- Code optimization for size - HA is not compiled ( only PTP & WR ) - ...
-
- Apr 09, 2019
-
-
baujc authored
See commit 'Simplify WRS calibration functions' below
-
baujc authored
-
baujc authored
- Has Hal is no longer used for ingress/egress latencies, we must then take them from the configuration file - Definition used by the common servo (WR & HA) - Implementation of the IDLE state See previous commit 'Review of WR protocol implementation'
-
baujc authored
See commit 'Simplify WRS calibration functions' below
-
baujc authored
-