Just a short update along the lines of this thread: On top of the previous work on PPS input to i210, I've cobbled together a simple PLL synth with a 25MHz VCXO, good enough to take an external 10 MHz reference and "influence" the crystal on an i210 to run in step with the PPS. (I could as well just desolder the original crystal, but ahh well.) I'm attaching the resulting output of "my" i210 PPS proggie :-) (again based heavily on Mr. Cochran's example.)
As for the capturing side of things, both TCPDUMP (PCAP file format) and T-Shark (PCAP-NG file format) work for nanosecond-level capturing. I'm working on a crude analyzer of PTP traffic. I've given up tapping into the Wireshark dissector framework or using raw libpcap (and writing my own PTP dissector from scratch). Instead, I tend to run tshark -V and parse what I need from its textual output. I got through the text parsing and transaction recombination/inference, I have yet to write the output side (dump per-transaction timing data into CSV files suitable for gnuplot). The key bit I'm still looking forward to is the decoding of various timing deltas. I have a "time of capture" timestamp, and the PTP's own payload timestamps, and the correction value... If I understand correctly, the slave will tell me in PDelay Response (+FollowUp, if 2-step) its own timestamp, which should give me a clue about *the slave's* performance... I got this far using a DIY powered tap for metallic 100Mb Ethernet. And then there's the hope that I'd be able to convert (reconfigure) the DeLock gigabit i210 with SFP from SERDES mode into SGMII mode... That's coming up. The 100Mb SGMII SFP's seem quite exotic. If you care, keep your fingers crossed :-) Frank Rysanek
The following section of this message contains a file attachment prepared for transmission using the Internet MIME message format. If you are using Pegasus Mail, or any other MIME-compliant system, you should be able to save it or view it from within your mailer. If you cannot, please ask your system administrator for assistance. ---- File information ----------- File: i210_ext_pps.txt Date: 28 Feb 2018, 14:16 Size: 5795 bytes. Type: Text
i210_ext_pps.txt
Description: Binary data
The following section of this message contains a file attachment prepared for transmission using the Internet MIME message format. If you are using Pegasus Mail, or any other MIME-compliant system, you should be able to save it or view it from within your mailer. If you cannot, please ask your system administrator for assistance. ---- File information ----------- File: capture_parser.txt Date: 28 Feb 2018, 14:24 Size: 2285 bytes. Type: Text
capture_parser.txt
Description: Binary data
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel