[etherlab-users] "Invalid mailbox configuration", how to configure?
Stefan Löfgren
stlo at dontdownload.com
Thu Mar 13 16:04:23 CET 2008
Hi again...
A bit more information. I found some information about this in the XML-file
written by KEB:
<Sm MinSize="16" MaxSize="50" DefaultSize="20" StartAddress="#x1800"
ControlByte="#x26" Enable="1">MBoxOut</Sm>
<Sm MinSize="16" MaxSize="50" DefaultSize="20" StartAddress="#x1832"
ControlByte="#x22" Enable="1">MBoxIn</Sm>
Shouldn't this information be stored in the Eeprom? And how do I transfer this
information to the slave?
I also found this:
<Eeprom>
<ByteSize>1024</ByteSize>
<ConfigData>0900000410270000000000000000</ConfigData>
</Eeprom>
Does anybody knows the meening of this?
Best regards,
Stefan
---------- Original Message -----------
From: "Stefan Löfgren" <stlo at dontdownload.com>
To: etherlab-users at lists.etherlab.org
Sent: Thu, 13 Mar 2008 15:19:00 +0100
Subject: [etherlab-users] "Invalid mailbox configuration", how to configure?
> 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
> _______________________________________________
> etherlab-users mailing list
> etherlab-users at lists.etherlab.org
> http://lists.etherlab.org/mailman/listinfo/etherlab-users
------- End of Original Message -------
More information about the Etherlab-users
mailing list