[etherlab-users] "Invalid mailbox configuration", how to configure?
Stefan Löfgren
stlo at dontdownload.com
Thu Mar 13 15:19:00 CET 2008
Hi all!
Background:
I've got an i386 with rtl8139. Kernel 2.6.13 + RTAI + EtherCAT master.
(downloaded from the site). The master-module and ec_8139too is running
and I can see activity on the bus.
I can also read the info in "/sys/ethercat/master0" and
"/sys/ethercat/master0/slave000". Everything seems fine so far...
The slave is a KEB servo-drive capable of CoE.
But, trying to use the "mini"-examlpe I getting:
Mar 13 15:31:46 lablinux kernel: EtherCAT ERROR: Failed to set PREOP state,
slave 0 refused state change (INIT + ERROR).
Mar 13 15:31:46 lablinux kernel: EtherCAT ERROR: AL status message 0x0016:
"Invalid mailbox configuration".
Now, the question:
"How do I configure the mailbox?" (or even more simplified "what's wrong?" ;))
The output from "/sys/ethercat/master0/slave00/info" is:
Name:
Vendor ID: 0x00000014
Product code: 0x000006C9
State: INIT (PREOP)
Flags: online, ERROR
Ring position: 0
Current consumption: 0 mA
Data link status:
Port 0 (unknown (255)) Link up, Loop open, Signal detected
Port 1 (unknown (255)) Link down, Loop closed, No signal
Port 2 (unknown (255)) Link down, Loop closed, No signal
Port 3 (unknown (255)) Link down, Loop closed, No signal
Mailboxes:
RX mailbox: 0x0000/0, TX mailbox: 0x0000/0
Supported protocols: CoE
Sync managers / PDO mapping:
SM0: addr 0x1100, size 8, control 0x20, enable
No PDOs mapped.
Best regards,
Stefan
More information about the Etherlab-users
mailing list