From Hentschel
Jump to: navigation, search

EtherCAT

1,129 bytes added, 06:54, 23 May 2019
/* build kernel with RT_PREEMPT patch */
* [https://github.com/OpenEtherCATsociety/SOEM SOEM]
* install maven
* install gradle (upgrade to 5.x - otherwise no joy)
* git clone ECAT master - build with gradle (not gradlew)
* this is missing a realtime lib from the same people
** git clone realtime lib
** build with gradle (not gradlew)
** this is missing a native lib loader from same folks
*** git clone native lib
*** build with gradle...
**** this is missing javax..bind, which was removed from java 11 - not quite sure how to continue
 
=== mount remote file system for eclipse ===
* use sshfs
** ubuntu 18.04 already has /dev/fuse, which indicates that sshfs is already installed
** thusly -->
<pre>
thomas@ge01:~/git$ sudo mkdir /mnt/thomas
thomas@ge01:~/git$ sudo chown thomas:thomas /mnt/thomas
thomas@ge01:~/git$ sshfs thomas@ge01.home.hentschel.net: /mnt/thomas
</pre>
works!
 
* on the remote side (aicas laptop), same thing:
<pre>
sshfs thomas@ge01.home.hentschel.net: /local-home/hentschel/ge01
</pre>
 
=== build kernel with RT_PREEMPT patch ===
* https://stackoverflow.com/questions/51669724/install-rt-linux-patch-for-ubuntu
 
=== Beckhoff ESI download ===
* https://www.beckhoff.com.cn/cn/download/elconfg.htm