[etherlab-dev] "Master still waiting for devices!" problem.
周甫霖
erixchou at mapacode.tw
Wed Jan 18 09:26:42 CET 2017
Hi all,
First appreciate the implement of etherlabmaster.
I'm devolping a non-native supported ethernet device to be able to work as
a RTDM EtherCAT master.
What the device is one part of TI AM335x SoC and is named "cpsw".
Everything smoothly while adapting driver code, building module file, and
installing.
But I was stuck by a problem when I try to start EtherCAT master.
Following is my steps and message shown by dmesg:
# /etc/init.d/ethercat start
Starting EtherCAT master 1.5.2 done
[ 30.849754] EtherCAT: Requesting master 0...
[ 30.854265] EtherCAT ERROR 0: Master still waiting for devices!
More information:
# /opt/etherlab/bin/ethercat master
Master0
Phase: Waiting for device(s)...
Active: no
Slaves: 0
Ethernet devices:
Main: a0:f6:fd:22:bd:ed (waiting...)
Link: DOWN
Tx frames: 0
Tx bytes: 0
Rx frames: 0
Rx bytes: 0
Tx errors: 0
Tx frame rate [1/s]: 0 0 0
Tx rate [KByte/s]: 0.0 0.0 0.0
Rx frame rate [1/s]: 0 0 0
Rx rate [KByte/s]: 0.0 0.0 0.0
Common:
Tx frames: 0
Tx bytes: 0
Rx frames: 0
Rx bytes: 0
Lost frames: 0
Tx frame rate [1/s]: 0 0 0
Tx rate [KByte/s]: 0.0 0.0 0.0
Rx frame rate [1/s]: -509579 -509608 -335544
Rx rate [KByte/s]: 845836.0 -469824.0 163840.0
Loss rate [1/s]: 0 0 0
Frame loss [%]: 0.0 0.0 0.0
Distributed clocks:
Reference clock: None
Application time: 0
2000-01-01 00:00:00.000000000
Could anyone kindly advice what is the key point to go forword form
"waiting device"?
Best regards - Erix Chou
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-dev/attachments/20170118/e342f3cc/attachment.html>
More information about the etherlab-dev
mailing list