Need help with ethercat hal driver

More
8 years 2 months ago #116897 by cscheng
Hi ,experts
when I run hal to control a IO module by lcec component,the linux system has no respond.
my hal device xml is:
Code:
<masters> <master idx="0" appTimePeriod="1000000" refClockSyncCycles="1"> <slave idx="1" type="generic" vid="000001DD" pid="00006002" configPdos="true"> <syncManager idx="0" dir="in"> <pdo idx="1a00"> <pdoEntry idx="6000" subIdx="1" bitLen="1" halPin="in0" halType="bit"/> </pdo> <pdo idx="1a01"> <pdoEntry idx="6010" subIdx="1" bitLen="1" halPin="in1" halType="bit"/> </pdo> </syncManager> </slave> </master> </masters>

and the hal command below
Code:
loadusr -W lcec_conf ethercat_config_Delta_R1-all.xml loadrt lcec loadrt threads name1=cs-test period1=1000000 addf lcec.read-all cs-test addf lcec.write-all cs-test show thread net link0 =>lcec.0.2.ot0 linksp link0 lcec.0.1.in0 net link1 =>lcec.0.2.ot1 linksp link1 lcec.0.1.in1 net link2 =>lcec.0.2.ot2 linksp link2 lcec.0.1.in2 start

when I type the last 'start' command, the output port is light on. the three output can sync with input. but a few seconds later, the linux has no responding. any keybord cmd and mouse movment are all no effect.

has any one met this problem?

Please Log in to join the conversation.

Time to create page: 0.489 seconds
Powered by Kunena Forum