sittner / linuxcnc-ethercat

LinuxCNC EtherCAT HAL driver
GNU General Public License v2.0
209 stars 141 forks source link

why the linux dead after i run start in halcmd in few seconds #62

Open cscheng7907 opened 6 years ago

cscheng7907 commented 6 years ago

Hello,

Why the linux dead after i run start in halcmd in few seconds

execute hal cmd as follow,

loadusr -W lcec_conf driver.xml loadrt lcec loadrt threads name testing period1=1000000 addf lcec.read-all testing addf lcec.write-all testing start

after cmd 'start', i can read pin data. but after a few seconds, linux is dead. no respond with any keybord typing and mouse moving. the wireshark which is listening on another PC, has not recieved any ethercat frames .

help, please.

my kernel is debain 3.4.9-rtai-686-pae #1 SMP PREEMPT Debian 3.4.55-4linuxcnc -686 GNU/Linux. linuxcnc version 2.7.14

sirop commented 6 years ago

my kernel is debain 3.4.9-rtai-686-pae #1 SMP PREEMPT So do you use kernel or userspace version of linuxcnc?