[etherlab-users] EL2502 problem
Michael Sagner
msagner at msagner.de
Mon Nov 15 11:43:40 CET 2010
I made the changes to the code as quoted below, but I still don't get a
valid data offset (0xFFFFFFFE).
-----Ursprüngliche Nachricht-----
Von: Andreas Stewering-Bone [mailto:Andreas.Stewering-Bone at gmx.de]
Gesendet: Mittwoch, 10. November 2010 22:14
An: etherlab-users at etherlab.org
Cc: Michael Sagner
Betreff: Re: [etherlab-users] EL2502 problem
Hello Michael,
please note the exclude directive in the xml description,
you must not use pdo 0x1600 and 0x1602 at the same time, eg 0x1601 and
0x1603
Am Wednesday 10 November 2010 19:27:04 schrieb Michael Sagner:
> ec_pdo_info_t el2502_pdos[] = {
> {0x1600, 1, el2502_pdo_entries + 0}, /* PWM RxPDO-Map Ch.1 */
> {0x1602, 1, el2502_pdo_entries + 1}, /* Freq RxPDO-Map Ch.1 */
> {0x1601, 1, el2502_pdo_entries + 2}, /* PWM RxPDO-Map Ch.2 */
> {0x1603, 1, el2502_pdo_entries + 3}, /* Freq RxPDO-Map Ch.2 */
> };
it should be
ec_pdo_info_t el2502_pdos[] = {
{0x1602, 2, el2502_pdo_entries }, /* Freq RxPDO-Map Ch.1 */
{0x1603, 2, el2502_pdo_entries + 2}, /* Freq RxPDO-Map Ch.2 */
};
Greatings
Andreas
More information about the Etherlab-users
mailing list