sittner / linuxcnc-ethercat

LinuxCNC EtherCAT HAL driver

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

igh ethercat driver with beaglebone

lichaowuwei opened this issue · comments

i am trying to write a w5500driver with machinekit on beaglebone for ethercat, but in kernel 4.9, the slave can't be found. in kerle 3.8 igh could find the slaves using generic driver.
I saw you have build one encx24j600 with machinekit, which kernel do you use?
can you help me to deal with the device tree and driver?
it took me too much time, Thanks Very very Much!

Do you try to build an EtherCAT slave or an EtherCAT master on your beaglebone?

Try to build your master with https://github.com/ribalda/ethercat/commits/master which
has patches for kernels 4.x and higher.

Try to build your master with https://github.com/ribalda/ethercat/commits/master which
has patches for kernels 4.x and higher.

can't work either...
the master code work on kernel 4.x x86 debian, but not beaglebone.

Hello everyone! I use linuxcnc to drive ighethercat, my problem, from the slaves hung 6 servo motors, every time the power up to op mode is very slowly, what is the reason?

Rather try etherlab mailing list and provide more details.

I don't know if my XML file is set incorrectly, which makes synchronization too slow.

This is my xml file!

deltaPos.zip

Hi.

I did not see any obvious errors at once.
I would advise you to configer the slave by ethercat download/upload commands instead of raw SDO.

Slowliness only is a very vague description of malfunction.
Could you add some relevant (kernel) logs?

Thank you very much for your answer.Command-based information is different from XML configuration。I'm confused.
IMG_20191006_194627
IMG_20191006_194946
IMG_20191006_195040

I don't know where the problem is.Do I need to slove problem from slaves?

I do not know either.

  1. So begin with ethercat download/upload instead of raw SDO...

Only one axis can read and write normally, and the rest are read and write failures.

Another problem is that you can't get into op mode.Error reporting in PreOp mode.

As shown in the first picture.

我正在尝试在 beaglebone 上为 ethercat 编写带有 machinekit 的 w5500driver,但是在内核 4.9 中,找不到从属设备。在 kerle 3.8 高可以找到使用通用驱动程序的奴隶。
我看到你用machinekit构建了一个encx24j600,你用的是哪个内核?
你能帮我处理设备树和驱动程序吗?
花了我太多时间,非常感谢!

Hello, can I ask you some questions? I can't install the driver now. It was this error after downloading the driver.
configure.mk:8: *** halcompile/comp executable not found or set. Stop.
make: *** [config.mk] Error 2
Have you ever encountered it?

如第一张图所示。
我可以请教您一些问题嘛?

我正在尝试在 beaglebone 上为 ethercat 编写带有 machinekit 的 w5500driver,但是在内核 4.9 中,找不到从属设备。在 kerle 3.8 高可以找到使用通用驱动程序的奴隶。
我看到你用machinekit构建了一个encx24j600,你用的是哪个内核?
你能帮我处理设备树和驱动程序吗?
花了我太多时间,非常感谢!

Hello, can I ask you some questions? I can't install the driver now. It was this error after downloading the driver.
configure.mk:8: *** halcompile/comp executable not found or set. Stop.
make: *** [config.mk] Error 2
Have you ever encountered it?

in the end, i didnot use the driver of w5500, I use the beaglebone's own nic driver.
i modify ti and work pretty good!

good luck to you