This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM8148 : Ethernet IEEE 1588/802.1AS PTP Support

Friends,

I made the required changes in EZSDK 5.03.00.09 kernel and built the ptpd2 to use the cpts h/w time-stamping.
here is the link I followed,

http://processors.wiki.ti.com/index.php/DM814x_AM387x_IEEE_1588_Application_Notes
http://processors.wiki.ti.com/index.php/DM814x_AM387x_Ethernet_Switch_User_Guide
both the links seems to be talking about the same thing.

I am having two DM8148 EVMs,  one invokes ptpd2 as a master and second one as a slave,
Note: Both the EVM's are connected directly through CAT5 network cable(without any ethernet switch in between)

#########MASTER EVM messages#######################################################
MASTER MAC ID is: 90:D7:EB:C4:3F:DD
root@dm814x-evm:/usr/share/ti/data/ptpv2d# ./ptpd2 -ceD
timestamp, state, clock ID, one way delay, offset from master, slave to master, master to slave, drift
2011-11-11 13:52:17:595876, init(ptpd notice) Using Linux PTP Hardware Clock API
2011-11-11 13:52:17:601260, lstn
2011-11-11 13:52:29:601082, mst (ID:90d7ebfffec43fdd)

#########SLAVE EVM messages#########################################################
root@dm814x-evm:/usr/share/ti/data/ptp# ./ptpd2 -cegD
timestamp, state, clock ID, one way delay, offset from master, slave to master, master to slave, drift
2011-11-11 02:33:00:347051, init(ptpd notice) Using Linux PTP Hardware Clock API
2011-11-11 02:33:00:352382, lstn
2011-11-11 02:33:17:666212, slv, 90d7ebfffec43fdd/01, 0.000000000, 0.000000000, 0.000000000, 0.000000000, 0(ptpd notice) adjusted system clock by -68s -719382256ns
2011-11-11 02:33:19:666387, slv, 90d7ebfffec43fdd/01, 0.000000000, -68.719382256, 0.000000000, -68.719382256, 0
2011-11-11 02:33:21:666281, slv, 90d7ebfffec43fdd/01, 0.000000000, -0.000001844, 0.000000000, 0.000003688, -1
2011-11-11 02:33:23:666283, slv, 90d7ebfffec43fdd/01, 0.000000000, -0.000004252, 0.000000000, 0.000004816, -5
2011-11-11 02:33:25:666274, slv, 90d7ebfffec43fdd/01, 0.000000000, -0.000005130, 0.000000000, 0.000005444, -10
2011-11-11 02:33:27:666278, slv, 90d7ebfffec43fdd/01, 0.000000000, -0.000005674, 0.000000000, 0.000005904, -15
2011-11-11 02:33:29:666270, slv, 90d7ebfffec43fdd/01, 0.000000000, -0.000006068, 0.000000000, 0.000006232, -21
2011-11-11 02:33:31:666276, slv, 90d7ebfffec43fdd/01, 0.000000000, -0.000006358, 0.000000000, 0.000006484, -27
2011-11-11 02:33:33:666261, slv, 90d7ebfffec43fdd/01, 0.000000000, -0.000006570, 0.000000000, 0.000006656, -33
2011-11-11 02:33:35:666275, slv, 90d7ebfffec43fdd/01, 0.000000000, -0.000006712, 0.000000000, 0.000006768, -39
2011-11-11 02:33:37:666267, slv, 90d7ebfffec43fdd/01, 0.000000000, -0.000006804, 0.000000000, 0.000006840, -45
2011-11-11 02:33:39:666272, slv, 90d7ebfffec43fdd/01, 0.000000000, -0.000006870, 0.000000000, 0.000006900, -51
2011-11-11 02:33:41:666273, slv, 90d7ebfffec43fdd/01, 0.000000000, -0.000006910, 0.000000000, 0.000006920, -57
2011-11-11 02:33:43:666267, slv, 90d7ebfffec43fdd/01, 0.000000000, -0.000006922, 0.000000000, 0.000006924, -63
2011-11-11 02:33:45:666266, slv, 90d7ebfffec43fdd/01, 0.000000000, -0.000006928, 0.000000000, 0.000006932, -69
2011-11-11 02:33:47:666258, slv, 90d7ebfffec43fdd/01, 0.000000000, -0.000006926, 0.000000000, 0.000006920, -75
2011-11-11 02:33:48:666130, slv, 90d7ebfffec43fdd/01, 0.000000000, 0.000002052, 0.000000000, 0.000011024, -73

with this print, it looks like slave is able to synchronize its clock after drifting several hundred nano seconds(you can see the drift is changing on slave from 0 to -73 nano sec? ),

In next step, I used Lab-X Titanium 411 Ethernet switch and connected both the EVM's on this switch,
this time, Ethernet switch was acting as a grand master clock, hence I invoked ptpd2 command as a slave on both the EVMs.
but the problem is, both the slaves are complaining of an unknown Ethernet Packet(will add the exact print message in my next post).

It looks like my Ethernet switch and EVM's are unable to understand each other's message(raw ethernet packet),
can some one tell me the difference b/w ptpd2 and ptpv2d
Any idea about using ptpv2d from http://code.google.com/p/ptpv2d/   for our DM8148 EVM??
ptpv2d from code.google.com seems to support 1588 h/w time-stamping only for MPC831x processor.
has anyone tried using DM8148 h/w time-stamp through ptpv2d?

It would be interesting to know if anyone already working on this stuff, please share your views,
thanks and best wishes,

Albert.

  • Albert

    Can you also capture the pcap of "ptpv2d from http://code.google.com/p/ptpv2d/" along with the 8148 evm logs

    with regards

    Mugunthan V N

  • Hello Mugunthan,

    I can send you the needed info later when i have the h/w access again,

    in the mean time here is the log messages printed by one of the ptpd2 running as a slave(./ptpd2 -cegDP) on PG2.1 DM8148 EVM.

    (ptpd notice) msgDebugHeader: messageType 2
    (ptpd notice) msgDebugHeader: versionPTP 2
    (ptpd notice) msgDebugHeader: messageLength 54
    (ptpd notice) msgDebugHeader: domainNumber 0
    (ptpd notice) msgDebugHeader: flags 02 08
    (ptpd notice) msgDebugHeader: correctionfield 0
    (ptpd notice) msgDebugHeader: sourcePortIdentity.clockIdentity 00:50:c2:ff:fe:4edc:03
    (ptpd notice) msgDebugHeader: sourcePortIdentity.portNumber 3
    (ptpd notice) msgDebugHeader: sequenceId 168
    (ptpd notice) msgDebugHeader: controlField 5
    (ptpd notice) msgDebugHeader: logMessageIntervale 0
    (ptpd notice) msgDump:unrecognized message

     

    BTW: FYI, Titanium 411 from Lab-x is an  AVB ethernet switch I hope the PTP support built into this switch is according to the IEEE 802.1AS precesion timing protocol,

    Br,

    Albert.

     

     

  • Albert

    "msgDump:unrecognized message"

    From the above log it seems like ptp message type received by ptpd2 is invalid. We can validate only with pcap capture.

     

    Also can you perform the test with one evm connected to the server.

     

    with regards

    Mugunthan V N

  • Hello Mugunthan,

    here is the tcpdum from my EVM, please let me know if this helps

    this time i have connected one EVM to AVB switch, and on this EVM i was running ptpd2 -eg, and then tcpdum -vv

     

     

    root@dm814x-evm:/usr/share/ti/data/ptpv2d# tcpdump -vv   
    device eth0 entered promiscuous mode
    net eth0: promiscuity ignored!
    tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
    11:25:24.264722 00:50:c2:4e:dc:03 (oui Unknown) > 01:80:c2:00:00:0e (oui Unknown), ethertype Unknown (0x22ea), length 124:
        0x0000:  0001 1900 1d20 0000 0000 0000 0000 0000  ................
        0x0010:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0020:  0000 0222 0026 2000 0000 0000 0000 0000  ...".&..........
        0x0030:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0040:  0000 0000 0000 0000 0000 0000 0308 000c  ................
        0x0050:  2000 0000 0000 0000 0000 0000 0404 0008  ................
        0x0060:  2000 0000 0000 0000 0000 a91c 8455       .............U
    11:25:24.373630 00:50:c2:4e:dc:03 (oui Unknown) > 01:80:c2:00:00:0e (oui Unknown), ethertype Unknown (0x88f7), length 72:
        0x0000:  1202 0036 0000 0208 0000 0000 0000 0000  ...6............
        0x0010:  0000 0000 0050 c2ff fe4e dc03 0003 14d1  .....P...N......
        0x0020:  0500 0000 0000 0000 0000 0000 0000 0000  ................
        0x0030:  0000 0000 0000 58e0 e7d2                 ......X...
    11:25:25.376508 00:50:c2:4e:dc:03 (oui Unknown) > 01:80:c2:00:00:0e (oui Unknown), ethertype Unknown (0x88f7), length 72:
        0x0000:  1202 0036 0000 0208 0000 0000 0000 0000  ...6............
        0x0010:  0000 0000 0050 c2ff fe4e dc03 0003 14d2  .....P...N......
        0x0020:  0500 0000 0000 0000 0000 0000 0000 0000  ................
        0x0030:  0000 0000 0000 65d9 02a4                 ......e...
    11:25:26.379422 00:50:c2:4e:dc:03 (oui Unknown) > 01:80:c2:00:00:0e (oui Unknown), ethertype Unknown (0x88f7), length 72:
        0x0000:  1202 0036 0000 0208 0000 0000 0000 0000  ...6............
        0x0010:  0000 0000 0050 c2ff fe4e dc03 0003 14d3  .....P...N......
        0x0020:  0500 0000 0000 0000 0000 0000 0000 0000  ................
        0x0030:  0000 0000 0000 b133 713f                 .......3q?
    11:25:27.382289 00:50:c2:4e:dc:03 (oui Unknown) > 01:80:c2:00:00:0e (oui Unknown), ethertype Unknown (0x88f7), length 72:
        0x0000:  1202 0036 0000 0208 0000 0000 0000 0000  ...6............
        0x0010:  0000 0000 0050 c2ff fe4e dc03 0003 14d4  .....P...N......
        0x0020:  0500 0000 0000 0000 0000 0000 0000 0000  ................
        0x0030:  0000 0000 0000 1fab c849                 .........I
    11:25:28.385179 00:50:c2:4e:dc:03 (oui Unknown) > 01:80:c2:00:00:0e (oui Unknown), ethertype Unknown (0x88f7), length 72:
        0x0000:  1202 0036 0000 0208 0000 0000 0000 0000  ...6............
        0x0010:  0000 0000 0050 c2ff fe4e dc03 0003 14d5  .....P...N......
        0x0020:  0500 0000 0000 0000 0000 0000 0000 0000  ................
        0x0030:  0000 0000 0000 cb41 bbd2                 .......A..
    11:25:29.388077 00:50:c2:4e:dc:03 (oui Unknown) > 01:80:c2:00:00:0e (oui Unknown), ethertype Unknown (0x88f7), length 72:
        0x0000:  1202 0036 0000 0208 0000 0000 0000 0000  ...6............
        0x0010:  0000 0000 0050 c2ff fe4e dc03 0003 14d6  .....P...N......
        0x0020:  0500 0000 0000 0000 0000 0000 0000 0000  ................
        0x0030:  0000 0000 0000 f678 5ea4                 .......x^.
    11:25:30.390969 00:50:c2:4e:dc:03 (oui Unknown) > 01:80:c2:00:00:0e (oui Unknown), ethertype Unknown (0x88f7), length 72:
        0x0000:  1202 0036 0000 0208 0000 0000 0000 0000  ...6............
        0x0010:  0000 0000 0050 c2ff fe4e dc03 0003 14d7  .....P...N......
        0x0020:  0500 0000 0000 0000 0000 0000 0000 0000  ................
        0x0030:  0000 0000 0000 2292 2d3f                 ......".-?
    11:25:31.393854 00:50:c2:4e:dc:03 (oui Unknown) > 01:80:c2:00:00:0e (oui Unknown), ethertype Unknown (0x88f7), length 72:
        0x0000:  1202 0036 0000 0208 0000 0000 0000 0000  ...6............
        0x0010:  0000 0000 0050 c2ff fe4e dc03 0003 14d8  .....P...N......
        0x0020:  0500 0000 0000 0000 0000 0000 0000 0000  ................
        0x0030:  0000 0000 0000 aa49 2d49                 .......I-I
    11:25:31.525144 00:50:c2:4e:dc:03 (oui Unknown) > 01:80:c2:00:00:21 (oui Unknown), ethertype Unknown (0x88f5), length 68:
        0x0000:  0001 0220 0000 0000 0000 0000 0000 0000  ................
        0x0010:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0020:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0030:  0000 c6bf f114                           ......
    11:25:32.396746 00:50:c2:4e:dc:03 (oui Unknown) > 01:80:c2:00:00:0e (oui Unknown), ethertype Unknown (0x88f7), length 72:
        0x0000:  1202 0036 0000 0208 0000 0000 0000 0000  ...6............
        0x0010:  0000 0000 0050 c2ff fe4e dc03 0003 14d9  .....P...N......
        0x0020:  0500 0000 0000 0000 0000 0000 0000 0000  ................
        0x0030:  0000 0000 0000 7ea3 5ed2                 ......~.^.
    11:25:33.399634 00:50:c2:4e:dc:03 (oui Unknown) > 01:80:c2:00:00:0e (oui Unknown), ethertype Unknown (0x88f7), length 72:
        0x0000:  1202 0036 0000 0208 0000 0000 0000 0000  ...6............
        0x0010:  0000 0000 0050 c2ff fe4e dc03 0003 14da  .....P...N......
        0x0020:  0500 0000 0000 0000 0000 0000 0000 0000  ................
        0x0030:  0000 0000 0000 439a bba4                 ......C...
    11:25:33.933665 IP (tos 0x0, ttl 64, id 0, offset 0, flags [none], proto UDP (17), length 576)
        0.0.0.0.bootpc > 255.255.255.255.bootps: [udp sum ok] BOOTP/DHCP, Request from 00:50:c2:4e:dc:03 (oui Unknown), length 548, xid 0x3e7fd558, Flags [none] (0x0000)
          Client-Ethernet-Address 00:50:c2:4e:dc:03 (oui Unknown)
          Vendor-rfc1048 Extensions
            Magic Cookie 0x63825363
            DHCP-Message Option 53, length 1: Discover
            Client-ID Option 61, length 7: ether 00:50:c2:4e:dc:03
            Vendor-Class Option 60, length 12: "udhcp 1.16.2"
            MSZ Option 57, length 2: 576
            Parameter-Request Option 55, length 7:
              Subnet-Mask, Default-Gateway, Domain-Name-Server, Hostname
              Domain-Name, BR, NTP
    11:25:34.402584 00:50:c2:4e:dc:03 (oui Unknown) > 01:80:c2:00:00:0e (oui Unknown), ethertype Unknown (0x88f7), length 72:
        0x0000:  1202 0036 0000 0208 0000 0000 0000 0000  ...6............
        0x0010:  0000 0000 0050 c2ff fe4e dc03 0003 14db  .....P...N......
        0x0020:  0500 0000 0000 0000 0000 0000 0000 0000  ................
        0x0030:  0000 0000 0000 9770 c83f                 .......p.?
    11:25:35.274713 00:50:c2:4e:dc:03 (oui Unknown) > 01:80:c2:00:00:0e (oui Unknown), ethertype Unknown (0x22ea), length 124:
        0x0000:  0001 1900 1d20 0000 0000 0000 0000 0000  ................
        0x0010:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0020:  0000 0222 0026 2000 0000 0000 0000 0000  ...".&..........
        0x0030:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0040:  0000 0000 0000 0000 0000 0000 0308 000c  ................
        0x0050:  2000 0000 0000 0000 0000 0000 0404 0008  ................
        0x0060:  2000 0000 0000 0000 0000 a91c 8455       .............U
    11:25:35.406463 00:50:c2:4e:dc:03 (oui Unknown) > 01:80:c2:00:00:0e (oui Unknown), ethertype Unknown (0x88f7), length 72:
        0x0000:  1202 0036 0000 0208 0000 0000 0000 0000  ...6............
        0x0010:  0000 0000 0050 c2ff fe4e dc03 0003 14dc  .....P...N......
        0x0020:  0500 0000 0000 0000 0000 0000 0000 0000  ................
        0x0030:  0000 0000 0000 39e8 7149                 ......9.qI
    11:25:36.409351 00:50:c2:4e:dc:03 (oui Unknown) > 01:80:c2:00:00:0e (oui Unknown), ethertype Unknown (0x88f7), length 72:
        0x0000:  1202 0036 0000 0208 0000 0000 0000 0000  ...6............
        0x0010:  0000 0000 0050 c2ff fe4e dc03 0003 14dd  .....P...N......
        0x0020:  0500 0000 0000 0000 0000 0000 0000 0000  ................
        0x0030:  0000 0000 0000 ed02 02d2                 ..........
    11:25:36.939347 IP (tos 0x0, ttl 64, id 0, offset 0, flags [none], proto UDP (17), length 576)
        0.0.0.0.bootpc > 255.255.255.255.bootps: [udp sum ok] BOOTP/DHCP, Request from 00:50:c2:4e:dc:03 (oui Unknown), length 548, xid 0x3e7fd558, Flags [none] (0x0000)
          Client-Ethernet-Address 00:50:c2:4e:dc:03 (oui Unknown)
          Vendor-rfc1048 Extensions
            Magic Cookie 0x63825363
            DHCP-Message Option 53, length 1: Discover
            Client-ID Option 61, length 7: ether 00:50:c2:4e:dc:03
            Vendor-Class Option 60, length 12: "udhcp 1.16.2"
            MSZ Option 57, length 2: 576
            Parameter-Request Option 55, length 7:
              Subnet-Mask, Default-Gateway, Domain-Name-Server, Hostname
              Domain-Name, BR, NTP
    11:25:37.412245 00:50:c2:4e:dc:03 (oui Unknown) > 01:80:c2:00:00:0e (oui Unknown), ethertype Unknown (0x88f7), length 72:
        0x0000:  1202 0036 0000 0208 0000 0000 0000 0000  ...6............
        0x0010:  0000 0000 0050 c2ff fe4e dc03 0003 14de  .....P...N......
        0x0020:  0500 0000 0000 0000 0000 0000 0000 0000  ................
        0x0030:  0000 0000 0000 d03b e7a4                 .......;..
    11:25:38.415137 00:50:c2:4e:dc:03 (oui Unknown) > 01:80:c2:00:00:0e (oui Unknown), ethertype Unknown (0x88f7), length 72:
        0x0000:  1202 0036 0000 0208 0000 0000 0000 0000  ...6............
        0x0010:  0000 0000 0050 c2ff fe4e dc03 0003 14df  .....P...N......
        0x0020:  0500 0000 0000 0000 0000 0000 0000 0000  ................
        0x0030:  0000 0000 0000 04d1 943f                 .........?
    11:25:39.418030 00:50:c2:4e:dc:03 (oui Unknown) > 01:80:c2:00:00:0e (oui Unknown), ethertype Unknown (0x88f7), length 72:
        0x0000:  1202 0036 0000 0208 0000 0000 0000 0000  ...6............
        0x0010:  0000 0000 0050 c2ff fe4e dc03 0003 14e0  .....P...N......
        0x0020:  0500 0000 0000 0000 0000 0000 0000 0000  ................
        0x0030:  0000 0000 0000 5880 034a                 ......X..J
    11:25:39.945087 IP (tos 0x0, ttl 64, id 0, offset 0, flags [none], proto UDP (17), length 576)
        0.0.0.0.bootpc > 255.255.255.255.bootps: [udp sum ok] BOOTP/DHCP, Request from 00:50:c2:4e:dc:03 (oui Unknown), length 548, xid 0x3e7fd558, Flags [none] (0x0000)
          Client-Ethernet-Address 00:50:c2:4e:dc:03 (oui Unknown)
          Vendor-rfc1048 Extensions
            Magic Cookie 0x63825363
            DHCP-Message Option 53, length 1: Discover
            Client-ID Option 61, length 7: ether 00:50:c2:4e:dc:03
            Vendor-Class Option 60, length 12: "udhcp 1.16.2"
            MSZ Option 57, length 2: 576
            Parameter-Request Option 55, length 7:
              Subnet-Mask, Default-Gateway, Domain-Name-Server, Hostname
              Domain-Name, BR, NTP
    11:25:40.420918 00:50:c2:4e:dc:03 (oui Unknown) > 01:80:c2:00:00:0e (oui Unknown), ethertype Unknown (0x88f7), length 72:
        0x0000:  1202 0036 0000 0208 0000 0000 0000 0000  ...6............
        0x0010:  0000 0000 0050 c2ff fe4e dc03 0003 14e1  .....P...N......
        0x0020:  0500 0000 0000 0000 0000 0000 0000 0000  ................
        0x0030:  0000 0000 0000 8c6a 70d1                 .......jp.
    11:25:41.423862 00:50:c2:4e:dc:03 (oui Unknown) > 01:80:c2:00:00:0e (oui Unknown), ethertype Unknown (0x88f7), length 72:
        0x0000:  1202 0036 0000 0208 0000 0000 0000 0000  ...6............
        0x0010:  0000 0000 0050 c2ff fe4e dc03 0003 14e2  .....P...N......
        0x0020:  0500 0000 0000 0000 0000 0000 0000 0000  ................
        0x0030:  0000 0000 0000 b153 95a7                 .......S..
    11:25:42.427701 00:50:c2:4e:dc:03 (oui Unknown) > 01:80:c2:00:00:0e (oui Unknown), ethertype Unknown (0x88f7), length 72:
        0x0000:  1202 0036 0000 0208 0000 0000 0000 0000  ...6............
        0x0010:  0000 0000 0050 c2ff fe4e dc03 0003 14e3  .....P...N......
        0x0020:  0500 0000 0000 0000 0000 0000 0000 0000  ................
        0x0030:  0000 0000 0000 65b9 e63c                 ......e..<

  • Albert

    Can you capture the packets to a file using "-w <filename>", so that it will be easy to validate the packet information

    with regards

    Mugunthan V N

  • Albert

    Can you confirm to which device the mac address belongs to?

    Mac Address: 00:50:c2:4e:dc:03

     

    I am seeing only PDELAY_REQ is being transmitted and no SYNC packets in the dump.

     

    with regards

    Mugunthan V N

  • Hello Mugunthan,

    In my setup, I have my DM8148 EVM connected to AVB switch(no other device is connected to this switch),

    MAC ID of DM8148EVM is: 90:D7:EB:C4:3F:DD

    clock ID of the AVB switch shows : 00:50:C2:FF:FE:4E:DC:03 (i assume clock ID is derived from the MAC ID, hence MAC ID of switch must be  00:50:C2:4E:DC:03)

    I have  attached the file from 'tcpdump -w file'(please see the attachment).

    also, here is the hexdump of this file

    Br,

    Albert.

    7043.ptp.slave.log

    root@dm814x-evm:/usr/share/ti/data/ptpv2d# hexdump ptp.slave.log
    0000000 c3d4 a1b2 0002 0004 0000 0000 0000 0000
    0000010 ffff 0000 0001 0000 3f31 4ebd a0a8 0000
    0000020 0048 0000 0048 0000 8001 00c2 0e00 5000
    0000030 4ec2 03dc f788 0212 3600 0000 0802 0000
    0000040 0000 0000 0000 0000 0000 5000 ffc2 4efe
    0000050 03dc 0300 b34d 0005 0000 0000 0000 0000
    0000060 0000 0000 0000 0000 0000 0000 fa08 32c1
    0000070 3f32 4ebd abd8 0000 0048 0000 0048 0000
    0000080 8001 00c2 0e00 5000 4ec2 03dc f788 0212
    0000090 3600 0000 0802 0000 0000 0000 0000 0000
    00000a0 0000 5000 ffc2 4efe 03dc 0300 b44d 0005
    00000b0 0000 0000 0000 0000 0000 0000 0000 0000
    00000c0 0000 0000 62a6 4478 3f32 4ebd e28d 000a
    00000d0 024e 0000 024e 0000 ffff ffff ffff d790
    00000e0 c4eb dd3f 0008 0045 4002 0000 0000 1140
    00000f0 ae78 0000 0000 ffff ffff 4400 4300 2c02
    0000100 48b8 0101 0006 68a0 4960 0000 0000 0000
    0000110 0000 0000 0000 0000 0000 0000 0000 d790
    0000120 c4eb dd3f 0000 0000 0000 0000 0000 0000
    0000130 0000 0000 0000 0000 0000 0000 0000 0000
    *
    00001e0 0000 0000 0000 0000 0000 0000 0000 8263
    00001f0 6353 0135 3d01 0107 d790 c4eb dd3f 0c3c
    0000200 6475 6368 2070 2e31 3331 322e 0239 4002
    0000210 0737 0301 0c06 1c0f ff2a 0000 0000 0000
    0000220 0000 0000 0000 0000 0000 0000 0000 0000
    *
    0000320 0000 0000 0000 3f33 4ebd ab66 0000 0048
    0000330 0000 0048 0000 8001 00c2 0e00 5000 4ec2
    0000340 03dc f788 0212 3600 0000 0802 0000 0000
    0000350 0000 0000 0000 0000 5000 ffc2 4efe 03dc
    0000360 0300 b54d 0005 0000 0000 0000 0000 0000
    0000370 0000 0000 0000 0000 0000 8872 df0b 3f33
    0000380 4ebd 7afa 0008 0252 0000 0252 0000 ffff
    0000390 ffff ffff 5000 4ec2 03dc 0008 0045 4002
    00003a0 0000 0000 1140 ae78 0000 0000 ffff ffff
    00003b0 4400 4300 2c02 3446 0101 0006 43f7 2db7
    00003c0 0000 0000 0000 0000 0000 0000 0000 0000
    00003d0 0000 0000 5000 4ec2 03dc 0000 0000 0000
    00003e0 0000 0000 0000 0000 0000 0000 0000 0000
    *
    00004a0 0000 0000 8263 6353 0135 3d01 0107 5000
    00004b0 4ec2 03dc 0c3c 6475 6368 2070 2e31 3631
    00004c0 322e 0239 4002 0737 0301 0c06 1c0f ff2a
    00004d0 0000 0000 0000 0000 0000 0000 0000 0000
    *
    00005d0 0000 0000 0000 0000 0000 0000 2ee5 56cc
    00005e0 3f34 4ebd b6d4 0000 0048 0000 0048 0000
    00005f0 8001 00c2 0e00 5000 4ec2 03dc f788 0212
    0000600 3600 0000 0802 0000 0000 0000 0000 0000
    0000610 0000 5000 ffc2 4efe 03dc 0300 b64d 0005
    0000620 0000 0000 0000 0000 0000 0000 0000 0000
    0000630 0000 0000 b14f a9ee 3f35 4ebd be33 0000
    0000640 0048 0000 0048 0000 8001 00c2 0e00 5000
    0000650 4ec2 03dc f788 0212 3600 0000 0802 0000
    0000660 0000 0000 0000 0000 0000 5000 ffc2 4efe
    0000670 03dc 0300 b74d 0005 0000 0000 0000 0000
    0000680 0000 0000 0000 0000 0000 0000 5b9b 329d
    0000690 3f36 4ebd c1c1 0000 0048 0000 0048 0000
    00006a0 8001 00c2 0e00 5000 4ec2 03dc f788 0212
    00006b0 3600 0000 0802 0000 0000 0000 0000 0000
    00006c0 0000 5000 ffc2 4efe 03dc 0300 b84d 0005
    00006d0 0000 0000 0000 0000 0000 0000 0000 0000
    00006e0 0000 0000 8013 449d 3f36 4ebd 9130 0008
    00006f0 0252 0000 0252 0000 ffff ffff ffff 5000
    0000700 4ec2 03dc 0008 0045 4002 0000 0000 1140
    0000710 ae78 0000 0000 ffff ffff 4400 4300 2c02
    0000720 3446 0101 0006 43f7 2db7 0000 0000 0000
    0000730 0000 0000 0000 0000 0000 0000 0000 5000
    0000740 4ec2 03dc 0000 0000 0000 0000 0000 0000
    0000750 0000 0000 0000 0000 0000 0000 0000 0000
    *
    0000800 0000 0000 0000 0000 0000 0000 0000 8263
    0000810 6353 0135 3d01 0107 5000 4ec2 03dc 0c3c
    0000820 6475 6368 2070 2e31 3631 322e 0239 4002
    0000830 0737 0301 0c06 1c0f ff2a 0000 0000 0000
    0000840 0000 0000 0000 0000 0000 0000 0000 0000
    *
    0000940 0000 0000 0000 2ee5 56cc 3f37 4ebd c52f
    0000950 0000 0048 0000 0048 0000 8001 00c2 0e00
    0000960 5000 4ec2 03dc f788 0212 3600 0000 0802
    0000970 0000 0000 0000 0000 0000 0000 5000 ffc2
    0000980 4efe 03dc 0300 b94d 0005 0000 0000 0000
    0000990 0000 0000 0000 0000 0000 0000 0000 6ac7
    00009a0 dfee 3f37 4ebd 1986 000d 0044 0000 0044
    00009b0 0000 8001 00c2 2100 5000 4ec2 03dc f588
    00009c0 0100 2002 0000 0000 0000 0000 0000 0000
    00009d0 0000 0000 0000 0000 0000 0000 0000 0000
    *
    00009f0 0000 bfc6 14f1 3f38 4ebd d06c 0000 0048
    0000a00 0000 0048 0000 8001 00c2 0e00 5000 4ec2
    0000a10 03dc f788 0212 3600 0000 0802 0000 0000
    0000a20 0000 0000 0000 0000 5000 ffc2 4efe 03dc
    0000a30 0300 ba4d 0005 0000 0000 0000 0000 0000
    0000a40 0000 0000 0000 0000 0000 53fa a90b 3f39
    0000a50 4ebd d022 0000 0048 0000 0048 0000 8001
    0000a60 00c2 0e00 5000 4ec2 03dc f788 0212 3600
    0000a70 0000 0802 0000 0000 0000 0000 0000 0000
    0000a80 5000 ffc2 4efe 03dc 0300 bb4d 0005 0000
    0000a90 0000 0000 0000 0000 0000 0000 0000 0000
    0000aa0 0000 b92e 3278 3f3a 4ebd db6b 0000 0048
    0000ab0 0000 0048 0000 8001 00c2 0e00 5000 4ec2
    0000ac0 03dc f788 0212 3600 0000 0802 0000 0000
    0000ad0 0000 0000 0000 0000 5000 ffc2 4efe 03dc
    0000ae0 0300 bc4d 0005 0000 0000 0000 0000 0000
    0000af0 0000 0000 0000 0000 0000 2180 44c1 3f3b
    0000b00 4ebd e2d3 0000 0048 0000 0048 0000 8001
    0000b10 00c2 0e00 5000 4ec2 03dc f788 0212 3600
    0000b20 0000 0802 0000 0000 0000 0000 0000 0000
    0000b30 5000 ffc2 4efe 03dc 0300 bd4d 0005 0000
    0000b40 0000 0000 0000 0000 0000 0000 0000 0000
    0000b50 0000 cb54 dfb2 3f3b 4ebd 4b76 0005 007c
    0000b60 0000 007c 0000 8001 00c2 0e00 5000 4ec2
    0000b70 03dc ea22 0100 0019 201d 0000 0000 0000
    0000b80 0000 0000 0000 0000 0000 0000 0000 0000
    0000b90 0000 0000 0000 2202 2600 0020 0000 0000
    0000ba0 0000 0000 0000 0000 0000 0000 0000 0000
    *
    0000bc0 0803 0c00 0020 0000 0000 0000 0000 0000
    0000bd0 0404 0800 0020 0000 0000 0000 0000 1ca9
    0000be0 5584 3f3c 4ebd e25f 0000 0048 0000 0048
    0000bf0 0000 8001 00c2 0e00 5000 4ec2 03dc f788
    0000c00 0212 3600 0000 0802 0000 0000 0000 0000
    0000c10 0000 0000 5000 ffc2 4efe 03dc 0300 be4d
    0000c20 0005 0000 0000 0000 0000 0000 0000 0000
    0000c30 0000 0000 0000 f269 a957 3f3d 4ebd e9bb
    0000c40 0000 0048 0000 0048 0000 8001 00c2 0e00
    0000c50 5000 4ec2 03dc f788 0212 3600 0000 0802
    0000c60 0000 0000 0000 0000 0000 0000 5000 ffc2
    0000c70 4efe 03dc 0300 bf4d 0005 0000 0000 0000
    0000c80 0000 0000 0000 0000 0000 0000 0000 18bd
    0000c90 3224 3f3e 4ebd f52a 0000 0048 0000 0048
    0000ca0 0000 8001 00c2 0e00 5000 4ec2 03dc f788
    0000cb0 0212 3600 0000 0802 0000 0000 0000 0000
    0000cc0 0000 0000 5000 ffc2 4efe 03dc 0300 c04d
    0000cd0 0005 0000 0000 0000 0000 0000 0000 0000
    0000ce0 0000 0000 0000 50d1 4279 3f3f 4ebd 045c
    0000cf0 0001 0048 0000 0048 0000 8001 00c2 0e00
    0000d00 5000 4ec2 03dc f788 0212 3600 0000 0802
    0000d10 0000 0000 0000 0000 0000 0000 5000 ffc2
    0000d20 4efe 03dc 0300 c14d 0005 0000 0000 0000
    0000d30 0000 0000 0000 0000 0000 0000 0000 ba05
    0000d40 d90a 3f40 4ebd 0fab 0001 0048 0000 0048
    0000d50 0000 8001 00c2 0e00 5000 4ec2 03dc f788
    0000d60 0212 3600 0000 0802 0000 0000 0000 0000
    0000d70 0000 0000 5000 ffc2 4efe 03dc 0300 c24d
    0000d80 0005 0000 0000 0000 0000 0000 0000 0000
    0000d90 0000 0000 0000 8338 afef 3f41 4ebd 1af2
    0000da0 0001 0048 0000 0048 0000 8001 00c2 0e00
    0000db0 5000 4ec2 03dc f788 0212 3600 0000 0802
    0000dc0 0000 0000 0000 0000 0000 0000 5000 ffc2
    0000dd0 4efe 03dc 0300 c34d 0005 0000 0000 0000
    0000de0 0000 0000 0000 0000 0000 0000 0000 69ec
    0000df0 349c 3f42 4ebd 263b 0001 0048 0000 0048
    0000e00 0000 8001 00c2 0e00 5000 4ec2 03dc f788
    0000e10 0212 3600 0000 0802 0000 0000 0000 0000
    0000e20 0000 0000 5000 ffc2 4efe 03dc 0300 c44d
    0000e30 0005 0000 0000 0000 0000 0000 0000 0000
    0000e40 0000 0000 0000 f142 4225 3f42 4ebd 2b91
    0000e50 000f 0044 0000 0044 0000 8001 00c2 2100
    0000e60 5000 4ec2 03dc f588 0100 2002 0000 0000
    0000e70 0000 0000 0000 0000 0000 0000 0000 0000
    *
    0000e90 0000 0000 0000 0000 0000 bfc6 14f1 3f43
    0000ea0 4ebd 3182 0001 0048 0000 0048 0000 8001
    0000eb0 00c2 0e00 5000 4ec2 03dc f788 0212 3600
    0000ec0 0000 0802 0000 0000 0000 0000 0000 0000
    0000ed0 5000 ffc2 4efe 03dc 0300 c54d 0005 0000
    0000ee0 0000 0000 0000 0000 0000 0000 0000 0000
    0000ef0 0000 1b96 d956 3f44 4ebd 390f 0001 0048
    0000f00 0000 0048 0000 8001 00c2 0e00 5000 4ec2
    0000f10 03dc f788 0212 3600 0000 0802 0000 0000
    0000f20 0000 0000 0000 0000 5000 ffc2 4efe 03dc
    0000f30 0300 c64d 0005 0000 0000 0000 0000 0000
    0000f40 0000 0000 0000 0000 0000 22ab afb3 3f44
    0000f50 4ebd e88e 0005 007c 0000 007c 0000 8001
    0000f60 00c2 0e00 5000 4ec2 03dc ea22 0100 0019
    0000f70 201d 0000 0000 0000 0000 0000 0000 0000
    0000f80 0000 0000 0000 0000 0000 0000 0000 2202
    0000f90 2600 0020 0000 0000 0000 0000 0000 0000
    0000fa0 0000 0000 0000 0000 0000 0000 0000 0000
    0000fb0 0000 0000 0000 0000 0803 0c00 0020 0000
    0000fc0 0000 0000 0000 0000 0404 0800 0020 0000
    0000fd0 0000 0000 0000 1ca9 5584 3f45 4ebd 406e
    0000fe0 0001 0048 0000 0048 0000 8001 00c2 0e00
    0000ff0 5000 4ec2 03dc f788 0212 3600 0000 0802
    0001000 0000 0000 0000 0000 0000 0000 5000 ffc2
    0001010 4efe 03dc 0300 c74d 0005 0000 0000 0000
    0001020 0000 0000 0000 0000 0000 0000 0000 c87f
    0001030 34c0 3f46 4ebd 43ef 0001 0048 0000 0048
    0001040 0000 8001 00c2 0e00 5000 4ec2 03dc f788
    0001050 0212 3600 0000 0802 0000 0000 0000 0000
    0001060 0000 0000 5000 ffc2 4efe 03dc 0300 c84d
    0001070 0005 0000 0000 0000 0000 0000 0000 0000
    0001080 0000 0000 0000 13f7 42c0 3f47 4ebd 4f2f
    0001090 0001 0048 0000 0048 0000 8001 00c2 0e00
    00010a0 5000 4ec2 03dc f788 0212 3600 0000 0802
    00010b0 0000 0000 0000 0000 0000 0000 5000 ffc2
    00010c0 4efe 03dc 0300 c94d 0005 0000 0000 0000
    00010d0 0000 0000 0000 0000 0000 0000 0000 f923
    00010e0 d9b3 3f48 4ebd 5a79 0001 0048 0000 0048
    00010f0 0000 8001 00c2 0e00 5000 4ec2 03dc f788
    0001100 0212 3600 0000 0802 0000 0000 0000 0000
    0001110 0000 0000 5000 ffc2 4efe 03dc 0300 ca4d
    0001120 0005 0000 0000 0000 0000 0000 0000 0000
    0001130 0000 0000 0000 c01e af56 3f49 4ebd 61fe
    0001140 0001 0048 0000 0048 0000 8001 00c2 0e00
    0001150 5000 4ec2 03dc f788 0212 3600 0000 0802
    0001160 0000 0000 0000 0000 0000 0000 5000 ffc2
    0001170 4efe 03dc 0300 cb4d 0005 0000 0000 0000
    0001180 0000 0000 0000 0000 0000 0000 0000 2aca
    0001190 3425 3f49 4ebd 6b86 000b 024e 0000 024e
    00011a0 0000 ffff ffff ffff d790 c4eb dd3f 0008
    00011b0 0045 4002 0000 0000 1140 ae78 0000 0000
    00011c0 ffff ffff 4400 4300 2c02 795a 0101 0006
    00011d0 357f 4bdf 0000 0000 0000 0000 0000 0000
    00011e0 0000 0000 0000 0000 d790 c4eb dd3f 0000
    00011f0 0000 0000 0000 0000 0000 0000 0000 0000
    *
    00012b0 0000 0000 0000 0000 8263 6353 0135 3d01
    00012c0 0107 d790 c4eb dd3f 0c3c 6475 6368 2070
    00012d0 2e31 3331 322e 0239 4002 0737 0301 0c06
    00012e0 1c0f ff2a 0000 0000 0000 0000 0000 0000
    00012f0 0000 0000 0000 0000 0000 0000 0000 0000
    *
    00013f0 3f4a 4ebd 6d4a 0001 0048 0000 0048 0000
    0001400 8001 00c2 0e00 5000 4ec2 03dc f788 0212
    0001410 3600 0000 0802 0000 0000 0000 0000 0000
    0001420 0000 5000 ffc2 4efe 03dc 0300 cc4d 0005
    0001430 0000 0000 0000 0000 0000 0000 0000 0000
    0001440 0000 0000 b264 429c 3f4b 4ebd 7897 0001
    0001450 0048 0000 0048 0000 8001 00c2 0e00 5000
    0001460 4ec2 03dc f788 0212 3600 0000 0802 0000
    0001470 0000 0000 0000 0000 0000 5000 ffc2 4efe
    0001480 03dc 0300 cd4d 0005 0000 0000 0000 0000
    0001490 0000 0000 0000 0000 0000 0000 58b0 d9ef
    00014a0 3f4c 4ebd 7c0f 0001 0048 0000 0048 0000
    00014b0 8001 00c2 0e00 5000 4ec2 03dc f788 0212
    00014c0 3600 0000 0802 0000 0000 0000 0000 0000
    00014d0 0000 5000 ffc2 4efe 03dc 0300 ce4d 0005
    00014e0 0000 0000 0000 0000 0000 0000 0000 0000
    00014f0 0000 0000 618d af0a 3f4c 4ebd 7802 000b
    0001500 024e 0000 024e 0000 ffff ffff ffff d790
    0001510 c4eb dd3f 0008 0045 4002 0000 0000 1140
    0001520 ae78 0000 0000 ffff ffff 4400 4300 2c02
    0001530 795a 0101 0006 357f 4bdf 0000 0000 0000
    0001540 0000 0000 0000 0000 0000 0000 0000 d790
    0001550 c4eb dd3f 0000 0000 0000 0000 0000 0000
    0001560 0000 0000 0000 0000 0000 0000 0000 0000
    *
    0001610 0000 0000 0000 0000 0000 0000 0000 8263
    0001620 6353 0135 3d01 0107 d790 c4eb dd3f 0c3c
    0001630 6475 6368 2070 2e31 3331 322e 0239 4002
    0001640 0737 0301 0c06 1c0f ff2a 0000 0000 0000
    0001650 0000 0000 0000 0000 0000 0000 0000 0000
    *
    0001750 0000 0000 0000 3f4d 4ebd 836f 0001 0048
    0001760 0000 0048 0000 8001 00c2 0e00 5000 4ec2
    0001770 03dc f788 0212 3600 0000 0802 0000 0000
    0001780 0000 0000 0000 0000 5000 ffc2 4efe 03dc
    0001790 0300 cf4d 0005 0000 0000 0000 0000 0000
    00017a0 0000 0000 0000 0000 0000 8b59 3479 3f4d
    00017b0 4ebd 9f51 0008 0252 0000 0252 0000 ffff
    00017c0 ffff ffff 5000 4ec2 03dc 0008 0045 4002
    00017d0 0000 0000 1140 ae78 0000 0000 ffff ffff
    00017e0 4400 4300 2c02 6ddc 0101 0006 e544 52d3
    00017f0 0000 0000 0000 0000 0000 0000 0000 0000
    0001800 0000 0000 5000 4ec2 03dc 0000 0000 0000
    0001810 0000 0000 0000 0000 0000 0000 0000 0000
    *
    00018d0 0000 0000 8263 6353 0135 3d01 0107 5000
    00018e0 4ec2 03dc 0c3c 6475 6368 2070 2e31 3631
    00018f0 322e 0239 4002 0737 0301 0c06 1c0f ff2a
    0001900 0000 0000 0000 0000 0000 0000 0000 0000
    *
    0001a00 0000 0000 0000 0000 0000 0000 6d69 9742
    0001a10 3f4e 4ebd 8acb 0001 0048 0000 0048 0000
    0001a20 8001 00c2 0e00 5000 4ec2 03dc f788 0212
    0001a30 3600 0000 0802 0000 0000 0000 0000 0000
    0001a40 0000 5000 ffc2 4efe 03dc 0300 d04d 0005
    0001a50 0000 0000 0000 0000 0000 0000 0000 0000
    0001a60 0000 0000 d69d 430b 3f4f 4ebd 9a27 0001
    0001a70 0048 0000 0048 0000 8001 00c2 0e00 5000
    0001a80 4ec2 03dc f788 0212 3600 0000 0802 0000
    0001a90 0000 0000 0000 0000 0000 5000 ffc2 4efe
    0001aa0 03dc 0300 d14d 0005 0000 0000 0000 0000
    0001ab0 0000 0000 0000 0000 0000 0000 3c49 d878
    0001ac0 3f4f 4ebd 8468 000b 024e 0000 024e 0000
    0001ad0 ffff ffff ffff d790 c4eb dd3f 0008 0045
    0001ae0 4002 0000 0000 1140 ae78 0000 0000 ffff
    0001af0 ffff 4400 4300 2c02 795a 0101 0006 357f
    0001b00 4bdf 0000 0000 0000 0000 0000 0000 0000
    0001b10 0000 0000 0000 d790 c4eb dd3f 0000 0000
    0001b20 0000 0000 0000 0000 0000 0000 0000 0000
    *
    0001be0 0000 0000 0000 8263 6353 0135 3d01 0107
    0001bf0 d790 c4eb dd3f 0c3c 6475 6368 2070 2e31
    0001c00 3331 322e 0239 4002 0737 0301 0c06 1c0f
    0001c10 ff2a 0000 0000 0000 0000 0000 0000 0000
    0001c20 0000 0000 0000 0000 0000 0000 0000 0000
    *
    0001d10 0000 0000 0000 0000 0000 0000 0000 3f50
    0001d20 4ebd a56e 0001 0048 0000 0048 0000 8001
    0001d30 00c2 0e00 5000 4ec2 03dc f788 0212 3600
    0001d40 0000 0802 0000 0000 0000 0000 0000 0000
    0001d50 5000 ffc2 4efe 03dc 0300 d24d 0005 0000
    0001d60 0000 0000 0000 0000 0000 0000 0000 0000
    0001d70 0000 0574 ae9d 3f50 4ebd b584 0008 0252
    0001d80 0000 0252 0000 ffff ffff ffff 5000 4ec2
    0001d90 03dc 0008 0045 4002 0000 0000 1140 ae78
    0001da0 0000 0000 ffff ffff 4400 4300 2c02 6ddc
    0001db0 0101 0006 e544 52d3 0000 0000 0000 0000
    0001dc0 0000 0000 0000 0000 0000 0000 5000 4ec2
    0001dd0 03dc 0000 0000 0000 0000 0000 0000 0000
    0001de0 0000 0000 0000 0000 0000 0000 0000 0000
    *
    0001e90 0000 0000 0000 0000 0000 0000 8263 6353
    0001ea0 0135 3d01 0107 5000 4ec2 03dc 0c3c 6475
    0001eb0 6368 2070 2e31 3631 322e 0239 4002 0737
    0001ec0 0301 0c06 1c0f ff2a 0000 0000 0000 0000
    0001ed0 0000 0000 0000 0000 0000 0000 0000 0000
    *
    0001fd0 0000 0000 6d69 9742 3f51 4ebd 74fe 0000
    0001fe0 007c 0000 007c 0000 8001 00c2 0e00 5000
    0001ff0 4ec2 03dc ea22 0100 0019 201d 0000 0000
    0002000 0000 0000 0000 0000 0000 0000 0000 0000
    0002010 0000 0000 0000 0000 2202 2600 0020 0000
    0002020 0000 0000 0000 0000 0000 0000 0000 0000
    *
    0002040 0000 0803 0c00 0020 0000 0000 0000 0000
    0002050 0000 0404 0800 0020 0000 0000 0000 0000
    0002060 1ca9 5584 3f51 4ebd b0bb 0001 0048 0000
    0002070 0048 0000 8001 00c2 0e00 5000 4ec2 03dc
    0002080 f788 0212 3600 0000 0802 0000 0000 0000
    0002090 0000 0000 0000 5000 ffc2 4efe 03dc 0300
    00020a0 d34d 0005 0000 0000 0000 0000 0000 0000
    00020b0 0000 0000 0000 0000 efa0 35ee         
    00020bc

  • Also FYI,

    Titanium 411 AVB switch has a web server for different configuration,

    I was connecting my PC with this switch and able to browse its pages at : http://192.168.1.1

    Attached is the sreenshot of one of the pages related to PTP,

    Br,

    Albert.

     

  • Albert

    I am not seeing any SYNC packet from the server.

    Can you verify the server setting?

    with regards

    Mugunthan V N

  • Hello Mugunthan,

    I just had a detailed look at the ethernet packets using wire shark,

    AVB switch is always sending Path_delay_req_message to the LLDP_multicast destination.

    Also in this packet, there is a flag called 802.1_AS_conform having the value as True

     

    when i connected my wireshark(laptop) to the DM8148 EVM with "ptpd2 -ceD", I could see several Packets from DM8148 as follows,

    Sync_message, Followup_message, Announce_message and Path_delay_req_message

    but in these packets from DM8148(ptpd2),  flag 802.1_AS_conform is having the value False

     

    It looks like, ptpd2 of my DM8148 is  is sensing this flag from AVB switch, as unrecognized message,

    But i am not sure, just my guess.

     

    My other question is, why my AVB switch is only sending out Path_delay_req_message, why not Sync_message, Followup_message,Announce_message,

    Looks like I need to have some detailed look at the 802.1AS protocol_hand_shaking.

     

    BTW: how big is the effort to include DM8148's h/w time stamping feature in ptpv2d?

    ptpv2d already supports MPC831x h/w time stamping, this will be a good reference to add similar support for DM8148.

     

    Br,

    Albert.

     

  • ALbert

    ptpd2 doesn't utilize the transport header 802.1_AS_conform from the received PTP packet.

    Server has to tranfer PTP SYNC packet even with no clients connected to it. So can you verify the ptp setting of the switch why SYNC packets are not transmitted?

    with regards

    Mugunthan V N

  • Hi Albert and Mugunthan Any progress on this?. We are also developing AVB products around the TI814x and will be testing with the LabX switch. It was my impression that the current code in the CPSW Ethernet driver did support 802.1as with h/w time stamping?. Regards Steve
  • Hello Steve,

    I wrote to Lab-x about my problem, i am still awaiting there response.

    I have done the changes in my PG2.1 kernel for h/w timestamping and tested the synchronization using ptpd2 on master and slave boards with direct network connection.

    when i plotted the drift count(printed on console by slave ptpd2) on excel sheet, shape of this plot was like saw_tooth wave, drift count value was slowly moving from 0 to 250 and suddenly it was falling to 0(slave was adjusting its clock with master).

    To me it seemed working fine as long as master and slave boards are connected one-to-one, but the problem is with switch in between.

    wireshark shows that my Lab-x AVB switch is sending out only the Path_delay_req_message, there are no packets like sync_message and announce_message,

    btw: I am waiting for my new 24 port AVB switch from Harman GS724T, as soon as i have it, i will compare the behaviour of Lab-x and Harman AVB switches.

    You cant rule out the buggy initial fmw of these AVB switches(even they are quite new and may expect few firmware updates).

    Apart from this, I am inclined towards ptpv2d instead of ptpd2, as this ptpv2d project is actively maintained and may expect 802.1AS support soon.

    I will keep you updated once i have anything to share,

    Br,

    Albert.

  • Hi Albert

    My initial thought would be that the problems are on the TI side, not the Lab-X switch.  Lab-X is very involved with AVnu, the group promoting AVB and has most likely been through a lot of interoperability with other vendors AVB products.

    That being said, it will be interesting to see how the Harman switch does, and whether LabX has ny firmware updates for their switch.

    regards

    -steve

  • Do you guys have an AVB switch to test with?.  If not, I can loan you one.

    regards

    Steve

  • Steve,

    I just got the reply from Lab-X,

    Problem seems to be with ptpd2 and ptpv2d,

    As per 802-1.1AS-2011 section 11.2.2: PDelay_Req_Message is used to determine if link is AS-capable.

    This means, my switch is following AS standard by sending PDelay_req_message, and ptpd2/ptpv2d are not able to understand AS-Capable transactions.

    we need to find a way out by making necessary changes in ptpd2/ptpv2d to handle the AS-Capable transactions.

     

    Mugunthan: Do you have any plans for ptpd2 AS support?

    I am already following-up with ptpv2d googlegroup, but so far did'nt hear anything from this group(may be because of holiday season, things moving slow).

    BTW: I received new Firmware for my Lab-X titanium 411(ver 1.06),

    As Lab-X says, this includes few other bug fixes(nothing related to PTP).

     

    Looks like we both are on the same boat, exposed to all the risk with this new standard.

    Br,

    Albert.

  • Albert

    How easy is it to use ptpv2d vs. ptpd?.  Seems like TI has chosen ptpd at this stage. ptpv2d "should" already support 802.1AS, but maybe the support was based on an early draft.  It was only ratified earlier this year.

    I'm quite happy to lend TI a LabX AVB switch to fix this - but may have to send to India?. 

    Alan Bartky, the creator of ptpv2d lives in my area (Orange County, CA) and I'd be happy to lend him a switch as well if that would help. Maybe I should contact him...

    -steve

  • Alan,

    yes, as you said, I can see, ptpv2d already has the support as per 802.1AS-Draft,

    We can ask Alan Bartkey about his plans on ptpv2d changes related to 802.1AS-2011.

    For sure ptpv2d is missing few things related to AS(I can see it is not responding to PDelay_req_message).

    Apart from this, support for DM8148 h/w time stamping is not available in ptpv2d, luckily we have a reference of MPC83x h/w stamping in ptpv2d.

    We can take this as a reference and make needed changes for our DM8148.

    Here in India(Delhi), I am close to TI Bangalore, I am happy to share my AVB switch for couple of days or(weeks),

    Mugunthan what are your plans?

    Br,

    Albert.

  • Albert/Steve

    I have gone through ptpv2d code, it follows different approach for hardware clock.

    ptpd2 approach is already standardized by Linux Kernel and ptp clock implementation is streamed in mainline kernel tree (3.x).

    Currently i am in other critical activity and have no plans for ptpv2d.

    with regards

    Mugunthan V N

  • Steve,

    I got a message from Alan Bartky author of ptpv2d about the missing 802.1AS support

    At this moment, It looks like, we are on our own to have needed 802.1AS support for DM8148.

    Here is the Alan's message replied to me on ptpv2d google group

    Albert,
    The code as published consists of work done in 2007 by myself, so it does not conform to the final specification.
    Contributions in this area are welcome, but unfortunately I have no time to do so.
    With that, it does seem strange that a master for 802.1AS should require a valid response from a Path delay message before sending these other messages, especially announce.  How would a master even find out there are other devices out there to send the path delay messages to (unless I guess it is send as multicast).
    Anyway, as I said, the code is not compliant, but should be a good starting point for someone whom has the time to make it so.
    Thanks,
    Alan

  • Albert

    FYI - A colleague of mine, Eliot Blennerhassett is contributing to a thread here:

    http://e2e.ti.com/support/embedded/linux/f/354/t/159662.aspx#615584

    discussing issues with the PTP support.  Maybe you have seen this issue also?.

    regards

    Steve

  • Hi Albert Wondering if you have made any progress with 802.1AS?. Did you get that Harman AVB switch?. Regards
  • Hi Albert

    We think we have gotten ptpd2 working with AVB switches.  We have published the code on GitHub here:

    https://github.com/audioscience/ptpd2

    I'd appreciate your feedback if it also works for you.

    regards

    Steve

  • Hello Steve,

    this is a great news! I will test this on my setup using Harman/netgear AVB switch.

    I will update you with my observations soon.

    with best wishes,

    Albert David.