Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

igh ethercat driver with beaglebone #74

Open
lichaowuwei opened this issue Jul 10, 2019 · 19 comments
Open

igh ethercat driver with beaglebone #74

lichaowuwei opened this issue Jul 10, 2019 · 19 comments

Comments

@lichaowuwei
Copy link

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!

@sirop
Copy link

sirop commented Jul 10, 2019

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

@lichaowuwei
Copy link
Author

lichaowuwei commented Jul 10, 2019 via email

@sirop
Copy link

sirop commented Jul 10, 2019

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

@lichaowuwei
Copy link
Author

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.

@sirop
Copy link

sirop commented Jul 11, 2019

@MouseSun846
Copy link

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?

@sirop
Copy link

sirop commented Oct 6, 2019

Rather try etherlab mailing list and provide more details.

@MouseSun846
Copy link

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

@MouseSun846
Copy link

This is my xml file!

deltaPos.zip

@sirop
Copy link

sirop commented Oct 6, 2019

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?

@MouseSun846
Copy link

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

@MouseSun846
Copy link

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

@sirop
Copy link

sirop commented Oct 6, 2019

I do not know either.

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

@MouseSun846
Copy link

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

@MouseSun846
Copy link

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

@MouseSun846
Copy link

As shown in the first picture.

@curran209
Copy link

我正在尝试在 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?

@curran209
Copy link

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

@lichaowuwei
Copy link
Author

我正在尝试在 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants