[etherlab-users] Etherlab 2.0 generic slave (ec_slave3) port configuration issue
Robert Wilson
rpwilson at stanford.edu
Sat Jan 5 01:03:24 CET 2013
Hi Raz,
By 2.0 I was referring to the latest default branch checkout of the mercurial repo. I think I saw 2.0 mentioned in the NEWS file.
-Rob
----- Original Message -----
From: "Raz" <raziebe at gmail.com>
To: "Robert Wilson" <rpwilson at stanford.edu>
Cc: etherlab-users at etherlab.org
Sent: Friday, January 4, 2013 3:15:43 PM
Subject: Re: [etherlab-users] Etherlab 2.0 generic slave (ec_slave3) port configuration issue
where is 2.0 ?
On Fri, Jan 4, 2013 at 10:29 PM, Robert Wilson < rpwilson at stanford.edu > wrote:
Yes, the latest revision now works without modification. Thanks!
-Rob
----- Original Message -----
From: "Florian Pose" < fp at igh-essen.com >
To: etherlab-users at etherlab.org
Sent: Friday, January 4, 2013 2:27:12 AM
Subject: Re: [etherlab-users] Etherlab 2.0 generic slave (ec_slave3) port configuration issue
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello Rob,
Am 28.12.2012 02 :02, schrieb Robert Wilson:
> In the latest EtherLab revision (0d8acc30e5aa) it looks like in
> ecrt_support.c an offset computation gets summed twice for the
> conversion destination. Specifically, in ecs_start():
>
> convert->dst = pdo_map->domain->io_data + pdo_map->offset; + bytes
> * pdo_map->idx;
>
> where pdo_map->offset is already updated in register_pdos() with:
>
> pdo_map->offset += bitlen*pdo_map->idx / 8;
>
> If I remove the "bytes*pdo_map->idx" all of the output pdos have
> the correct byte alignment on the wire and all of the input pdos
> have the correct byte alignment in Simulink, and everything works
> as it did with the RTAI Simulink target. Not sure if this breaks
> other pdo configurations, though.
good point! We fixed that already (2110fa7180ae), but forgot to push
before xmas ;-). Please check, if this is working for you.
- --
Viele Grüße,
Florian
-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with undefined - http://www.enigmail.net/
iEYEARECAAYFAlDmroAACgkQABFOIMygR8xD1wCcDzgpC4um8PRp+dadwj+DDtCW
F80AnRR1YweAsuGwvrVUL1XV6PGIrjmt
=Aa7n
-----END PGP SIGNATURE-----
_______________________________________________
etherlab-users mailing list
etherlab-users at etherlab.org
http://lists.etherlab.org/mailman/listinfo/etherlab-users
_______________________________________________
etherlab-users mailing list
etherlab-users at etherlab.org
http://lists.etherlab.org/mailman/listinfo/etherlab-users
--
https://sites.google.com/site/ironspeedlinux/
More information about the Etherlab-users
mailing list