thanhtam-h / soem-w5500-rpi

Realtime ethercat master for Raspberry pi
GNU General Public License v3.0
226 stars 88 forks source link

Can raspberry Pi be replaced? #4

Closed littleggghost closed 6 years ago

littleggghost commented 6 years ago

Hi, Tam Your blog and experiment are really awesome and thanks to your share. Now I have a question here: Can raspberry Pi be replaced by normal linux PC, no matter in ARM platform or in Intel platform? I mean that the EtherCAT master should run on realtime linux environment and is irrelevant to the platform. Then I can do this same experiment using my laptop computer with linux+xenomai. Hope for your reply. Best regards!

thanhtam-h commented 6 years ago

Absolutely, Laptop with Intel CPU is the easiest way to implement Linux+Xenomai+EtherCAT master. If your laptop has Intel e1000e or Realtex R8169 (very popular) NIC families, you are almost ready to go. You can select:

rxdu commented 6 years ago

It seems RTnet hasn't been updated for a long time and the supported Linux kernel is 2.6.x and 2.4.x.(http://www.rtnet.org/doc.html) Does this library still work with more recent kernels and Xenomai 3? Or if there is a newer version of RTnet somewhere else?

littleggghost commented 6 years ago

@thanhtam-h Firstly, thanks for your quickly reply. But I can't run RTnet successfully with Xenomai3+linux kernel 4.9.38. My main reference is from lwr Do you have any good study source for configuring RTnet?

thanhtam-h commented 6 years ago

@rxdu @littleggghost , I am pretty sure that RTNet works well for any Xenomai and Linux kernel version. In Xenomai 3.x, RTnet is integrated as a 'net' part. Sorry friends, RTnet is out of scope of this project, you may need to look around other places for solution

littleggghost commented 6 years ago

Thank you anyway for your reply.

rxdu commented 6 years ago

@thanhtam-h Thank you for sharing your experience. That's very helpful.