... | ... | @@ -62,8 +62,50 @@ git clone --recursive https://github.com/leehongming/cutedp.git |
|
|
|
|
|
## 4.Demo
|
|
|
|
|
|
The Demo contains one WR switch and two CUTEWR-DP boards.
|
|
|
More detail information needs to be added.
|
|
|
The Demo contains one WR switch and three CUTEWR-DP boards. The WR
|
|
|
switch acts as the Grandmaster(Layer 1) in this small network, and three
|
|
|
CUTEWR-DP boards are connected one by one. They are in Layer 2/3/4 of
|
|
|
this network seperately.
|
|
|
In each board, use the blue SFP (AXGE-1254-0531) in SFP0 and red SFP
|
|
|
(AXGE-3454-0531) in SFP1. (The label of each SFP is on the PCB)
|
|
|
Use the command below to change the parameters of each port.
|
|
|
|
|
|
- The SFP\_PN is AXGE-1254-0531 or AXGE-3454-0531 if you use the SFPs
|
|
|
produced by AXCEN.
|
|
|
- The port is 0 or 1.
|
|
|
- The units of dtx\_value and drx\_value are picosecond.
|
|
|
- alpha value is depended on your fiber.
|
|
|
|
|
|
<!-- end list -->
|
|
|
|
|
|
sfp erase
|
|
|
sfp add SFP_PN port dtx_value drx_value alpha_value
|
|
|
|
|
|
Use the command below to set the IP of each port.
|
|
|
|
|
|
- command "ip set ip\_addr" will set the ip address of port 0. The ip
|
|
|
address of port 1 will be ip address of port 0 adds 1.
|
|
|
|
|
|
<!-- end list -->
|
|
|
|
|
|
ip set ip_addr_port0
|
|
|
|
|
|
Use the command below to start or stop the PTP of each port.
|
|
|
|
|
|
ptp start (start both two ports)
|
|
|
ptp start 0/1 (start the selected port)
|
|
|
ptp stop (stop both two ports)
|
|
|
ptp stop 0/1 (stop the selected port)
|
|
|
|
|
|
Use the command "gui" to get the PTP status of each port.
|
|
|
The results are shown as
|
|
|
below:
|
|
|
![](/uploads/1e0fa35579cff52e827b9ef41b4f254c/CUTEWR-DP-gui.png)
|
|
|
|
|
|
The demo synchronization results are shown as below, C1(yellow) is the
|
|
|
WR switch while C2/C3/C4 are CUTEWR-DP
|
|
|
boards:
|
|
|
![](/uploads/b675b9f61b659cc8cd3291a4fc2be556/CUTEWR-DP-PPS-results.png)
|
|
|
|
|
|
## 5\. Current status
|
|
|
|
... | ... | |