[etherlab-dev] Ethercos big fix

Len Remmerswaal len200612 at revolutioncontrols.com
Wed Apr 27 11:38:42 CEST 2011


Hi all,
I am trying to get ethercos running. I had some more luck after clearing 
this bug:
<quote>
diff -r 450be8d89459 modules/etherlab_base/src/c/etl_scicos.c
--- a/modules/etherlab_base/src/c/etl_scicos.c Thu Mar 31 14:29:05 2011 
+0200
+++ b/modules/etherlab_base/src/c/etl_scicos.c Mon Apr 18 08:49:54 2011
+++ +0200
@@ -208,7 +208,7 @@
               else
                 {
                   //Dummy Entry
-                 sync_config[i].index = 0;
+                 sync_config[i].index = EC_END;
                 }

               //Get Direction
</quote>
This is with respect to ethercos-0.0.2-rc15, nov 2009.
Before this change, I had failures on the pdo configuration of any 
Ethercat device, both in real time and in in-scicos runs.
After this change, some things go right (demos/test_el4102.cos runs OK!) 
and others do not.
To be continued.

BTW: Seeing the central position of this show-stopping bug: is there any 
activity on this project at all?
Is there a mercurial repository available like for the etherlab master?
Is there a more recent release then Nov 2009 somewhere?

Thanks,
Len.



More information about the etherlab-dev mailing list