[etherlab-users] Mailbox error response received - Code 0x0002: "MBXERR_UNSUPPORTEDPROTOCOL".
Daniel Zicsi-Liess
d.liess at rtleaders.com
Mon Jul 19 17:08:52 CEST 2010
Hello,
I try to run a little modified version of the userspace sample-code. It is sending PDO-s, but there are some problems with the PDO configuration.
The output of ./ethercat config -v is:
Alias: 0
Position: 0
Vendor Id: 0x00000777
Product code: 0x02628111
Attached slave: 0 (OP)
Watchdog divider: (Default)
Watchdog intervals: (Default)
SM2, Dir: Output, Watchdog: Default
PDO 0x1a10
PDO entry 0x3101:01, 8 bit
PDO entry 0x3101:02, 8 bit
PDO entry 0x3101:03, 8 bit
PDO entry 0x3101:04, 8 bit
PDO entry 0x3101:05, 32 bit
PDO entry 0x3101:06, 8 bit
PDO entry 0x3101:07, 8 bit
PDO entry 0x3101:08, 8 bit
PDO entry 0x3101:09, 8 bit
PDO entry 0x3101:0a, 8 bit
PDO entry 0x3101:0b, 8 bit
PDO entry 0x3101:0c, 8 bit
SM3, Dir: Input, Watchdog: Default
PDO 0x1a15
PDO entry 0x3102:01, 8 bit
PDO entry 0x3102:02, 32 bit
PDO entry 0x3102:03, 8 bit
PDO entry 0x3102:04, 8 bit
PDO entry 0x3102:05, 8 bit
PDO entry 0x3102:06, 8 bit
PDO entry 0x3102:07, 8 bit
PDO entry 0x3102:08, 8 bit
PDO entry 0x3102:09, 8 bit
PDO entry 0x3102:0a, 8 bit
PDO entry 0x3102:0b, 8 bit
PDO entry 0x3102:0c, 32 bit
PDO entry 0x3102:0d, 8 bit
PDO entry 0x3102:0e, 32 bit
SDO configuration:
None.
Seems to be ok, but the output of ./ethercat pdos is something totally different, and dmesg says:
[14453.700776] EtherCAT: Requesting master 0...
[14453.700785] EtherCAT: Successfully requested master 0.
[14453.701205] EtherCAT 0: Domain0: Logical address 0x00000000, 38 byte, expected working counter 3.
[14453.701213] EtherCAT 0: Datagram domain0-0: Logical offset 0x00000000, 38 byte, type LRW.
[14453.701242] EtherCAT 0: Master thread exited.
[14453.701248] EtherCAT 0: Stopping EoE thread.
[14453.701268] EtherCAT 0: EoE thread exited.
[14453.701272] EtherCAT 0: Starting EoE thread.
[14453.701329] EtherCAT 0: Starting EtherCAT-OP thread.
[14453.701442] EtherCAT WARNING 0: 1 datagram UNMATCHED!
[14453.962453] EtherCAT ERROR 0-0: Mailbox error response received - Code 0x0002: "MBXERR_UNSUPPORTEDPROTOCOL".
[14453.962460] EtherCAT WARNING 0-0: Failed to clear PDO mapping.
[14453.962462] EtherCAT WARNING 0-0: Currently mapped PDO entries: 0x6130:11/8. Entries to map: 0x3101:01/8 0x3101:02/8 0x3101:03/8 0x3101:04/8 0x3101:05/32 0x3101:06/8 0x3101:07/8 0x3101:08/8 0x3101:09/8 0x3101:0A/8 0x3101:0B/8 0x3101:0C/8
[14453.962484] EtherCAT WARNING 0-0: Failed to configure mapping of PDO 0x1A10.
[14454.022449] EtherCAT ERROR 0-0: Mailbox error response received - Code 0x0002: "MBXERR_UNSUPPORTEDPROTOCOL".
[14454.022453] EtherCAT WARNING 0-0: Failed to clear PDO assignment of SM2.
[14454.022456] EtherCAT WARNING 0-0: Currently assigned PDOs: 0x1600 0x1601 0x1602 0x1603 0x1604 0x1605 0x1606 0x1607 0x1608 0x1609 0x160A 0x160B 0x160C 0x160D 0x160E 0x160F 0x1610 0x1611 0x1612 0x1613 0x1614 0x1615 0x1616 0x1617 0x1618 0x1619 0x161A 0x161B 0x161C 0x161D 0x161E 0x161F. PDOs to assign: 0x1A10
[14454.022496] EtherCAT WARNING 0-0: PDO configuration failed.
[14454.132446] EtherCAT 0: Domain 0: Working counter changed to 2/3.
[14454.164037] EtherCAT 0: Slave states: OP.
[14455.142459] EtherCAT 0: Domain 0: Working counter changed to 3/3.
Thanks in advance.
More information about the Etherlab-users
mailing list