AnsweredAssumed Answered

LS1021ATSN-PA  PTP error in Synchronized Qbv Demo

Question asked by donglin zhao on Aug 20, 2018
Latest reply on Aug 31, 2018 by donglin zhao

Hi,

I have two LS1021ATSN-PA, and I want to run Synchronized Qbv Demo, so I do step by step according to OpenIL_ User_ Guide_Rev1.2.pdf,without board 2.  When I start ptp : ptp4l -i eth0 -p /dev/ptp0 -m -l 7 -t 1000, errors occur.

Also I doubt why the device is "eth0", when "eth2" in OPENIL is connected to SJA1105.

 

Thanks for any help.

Regards,

 

main output is:

ptp4l[19552.385]: sja1105: sync timer timeout
ptp4l[19552.515]: sja1105: sync timer timeout
ptp4l[19552.645]: sja1105: sync timer timeout
ptp4l[19552.720]: port 1: announce timeout
ptp4l[19552.720]: port 1: LISTENING to MASTER on ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES
ptp4l[19552.720]: selected best master clock 00049f.fffe.ef0606
ptp4l[19552.720]: assuming the grand master role
ptp4l[19552.725]: port 1: master tx announce timeout
ptp4l[19552.725]: port 1: setting asCapable
ptp4l[19552.775]: sja1105: sync timer timeout
ptp4l[19552.775]: sja1105 reset requested
src/lib/ptp/ptp.c@221: sja1105_ptp_reset: Resetting PTP clock
src/lib/ptp/ptp.c@313: sja1105_ptp_clk_get: sja1105_ptp_clk_get: returned zero
ptp4l[19552.776]: rc1 0 rc2 -11 rc3 0
ptp4l[19552.776]: sja1105: calculating got time error
ptp4l[19552.905]: sja1105: sync timer timeout
ptp4l[19552.905]: sja1105 reset requested
src/lib/ptp/ptp.c@221: sja1105_ptp_reset: Resetting PTP clock
src/lib/ptp/ptp.c@313: sja1105_ptp_clk_get: sja1105_ptp_clk_get: returned zero
ptp4l[19552.906]: rc1 0 rc2 -11 rc3 0
ptp4l[19552.906]: sja1105: calculating got time error

 

The full output and the ethernet packets(wireshark) are in the attachment.

Outcomes