EtherCAT: Requesting master 0... EtherCAT DEBUG: IDLE -> OPERATION. EtherCAT: Successfully requested master 0. EtherCAT DEBUG: ecrt_master_create_domain(master = 0xc29f7800) EtherCAT DEBUG: Created domain 0. EtherCAT DEBUG: ecrt_master_create_domain(master = 0xc29f7800) EtherCAT DEBUG: Created domain 1. EtherCAT DEBUG: ecrt_master_slave_config(master = 0xc29f7800, alias = 0, position = 0, vendor_id = 0x2, product_code = 0x4570862) EtherCAT DEBUG: Creating slave configuration for 0:0, 0x00000002/0x04570862. EtherCAT DEBUG: Attached slave 0 to config 0:0. EtherCAT DEBUG: ecrt_slave_config_pdos(sc = 0xf51a6c00, n_syncs = 4294967295, syncs = 0xf8d7783c) EtherCAT DEBUG: ecrt_slave_config_sync_manager(sc = 0xf51a6c00, sync_index = 2, dir = 1) EtherCAT DEBUG: ecrt_slave_config_pdo_assign_clear(sc = 0xf51a6c00, sync_index = 2) EtherCAT DEBUG: ecrt_slave_config_pdo_assign_add(sc = 0xf51a6c00, sync_index = 2, pdo_index = 0x1A00) EtherCAT DEBUG: Loading default mapping for PDO 0x1A00 in config 0:0. EtherCAT DEBUG: Found PDO name "Outputs". EtherCAT DEBUG: Entry 0x7000:01. EtherCAT DEBUG: Entry 0x7000:02. EtherCAT DEBUG: ecrt_slave_config_pdo_mapping_clear(sc = 0xf51a6c00, pdo_index = 0x1A00) EtherCAT DEBUG: ecrt_slave_config_pdo_mapping_add(sc = 0xf51a6c00, pdo_index = 0x1A00, entry_index = 0x7000, entry_subindex = 0x01, entry_bit_length = 16) EtherCAT DEBUG: ecrt_slave_config_pdo_mapping_add(sc = 0xf51a6c00, pdo_index = 0x1A00, entry_index = 0x7000, entry_subindex = 0x02, entry_bit_length = 16) EtherCAT DEBUG: ecrt_slave_config_sync_manager(sc = 0xf51a6c00, sync_index = 3, dir = 2) EtherCAT DEBUG: ecrt_slave_config_pdo_assign_clear(sc = 0xf51a6c00, sync_index = 3) EtherCAT DEBUG: ecrt_slave_config_pdo_assign_add(sc = 0xf51a6c00, sync_index = 3, pdo_index = 0x1600) EtherCAT DEBUG: Loading default mapping for PDO 0x1600 in config 0:0. EtherCAT DEBUG: Found PDO name "Inputs". EtherCAT DEBUG: Entry 0x6000:01. EtherCAT DEBUG: Entry 0x6000:02. EtherCAT DEBUG: ecrt_slave_config_pdo_mapping_clear(sc = 0xf51a6c00, pdo_index = 0x1600) EtherCAT DEBUG: ecrt_slave_config_pdo_mapping_add(sc = 0xf51a6c00, pdo_index = 0x1600, entry_index = 0x6000, entry_subindex = 0x01, entry_bit_length = 16) EtherCAT DEBUG: ecrt_slave_config_pdo_mapping_add(sc = 0xf51a6c00, pdo_index = 0x1600, entry_index = 0x6000, entry_subindex = 0x02, entry_bit_length = 16) EtherCAT DEBUG: ecrt_slave_config_reg_pdo_entry(sc = 0xf51a6c00, index = 0x7000, subindex = 0x01, domain = 0xeb112c00, bit_position = 0x0) EtherCAT DEBUG: Domain 0: Added 4 bytes, total 4. EtherCAT DEBUG: ecrt_slave_config_reg_pdo_entry(sc = 0xf51a6c00, index = 0x7000, subindex = 0x02, domain = 0xeb112c00, bit_position = 0x0) EtherCAT DEBUG: ecrt_slave_config_reg_pdo_entry(sc = 0xf51a6c00, index = 0x6000, subindex = 0x01, domain = 0xeb112700, bit_position = 0x0) EtherCAT DEBUG: Domain 1: Added 4 bytes, total 4. EtherCAT DEBUG: ecrt_slave_config_reg_pdo_entry(sc = 0xf51a6c00, index = 0x6000, subindex = 0x02, domain = 0xeb112700, bit_position = 0x0) EtherCAT DEBUG: ecrt_domain_external_memory(domain = 0xeb112700, mem = 0xe9c48b20) EtherCAT DEBUG: ecrt_domain_external_memory(domain = 0xeb112c00, mem = 0xe9c48b00) EtherCAT DEBUG: ecrt_master_callbacks(master = 0xc29f7800, request_cb = 0xf8d7418d, release_cb = 0xf8d7417e, cb_data = 0xeb5c6a40) EtherCAT DEBUG: ecrt_master_activate(master = 0xc29f7800) EtherCAT: Domain0: Logical address 0x00000000, 4 byte, expected working counter 1. EtherCAT: Datagram domain0-0: Logical offset 0x00000000, 4 byte, type LWR. EtherCAT: Domain1: Logical address 0x00000004, 4 byte, expected working counter 1. EtherCAT: Datagram domain1-4: Logical offset 0x00000004, 4 byte, type LRD. EtherCAT: Stopping EoE processing. EtherCAT DEBUG: Stopping master thread. EtherCAT DEBUG: Master IDLE thread exiting... EtherCAT: Master thread exited. EtherCAT DEBUG: FSM datagram is c29f7b94. EtherCAT: Starting EtherCAT-OP thread. EtherCAT: Starting EoE processing. EtherCAT DEBUG: Operation thread running. Malloc'ed struct app *(f5183000) for rt_app *(f8d776e4) Started RT timer at a rate of 1000us Application tid 0 running at 1000us Successfully registered application "etherlab_test_MCESC" with RT-AppCore. EtherCAT WARNING: 2 datagrams UNMATCHED! EtherCAT DEBUG: Changing state of slave 0 from INIT to OP. EtherCAT DEBUG: Configuring slave 0... etl@etherlab:~/projects/etherlab_test> dmesg EtherCAT: Requesting master 0... EtherCAT DEBUG: IDLE -> OPERATION. EtherCAT: Successfully requested master 0. EtherCAT DEBUG: ecrt_master_create_domain(master = 0xc29f7800) EtherCAT DEBUG: Created domain 0. EtherCAT DEBUG: ecrt_master_create_domain(master = 0xc29f7800) EtherCAT DEBUG: Created domain 1. EtherCAT DEBUG: ecrt_master_slave_config(master = 0xc29f7800, alias = 0, position = 0, vendor_id = 0x2, product_code = 0x4570862) EtherCAT DEBUG: Creating slave configuration for 0:0, 0x00000002/0x04570862. EtherCAT DEBUG: Attached slave 0 to config 0:0. EtherCAT DEBUG: ecrt_slave_config_pdos(sc = 0xf51a6c00, n_syncs = 4294967295, syncs = 0xf8d7783c) EtherCAT DEBUG: ecrt_slave_config_sync_manager(sc = 0xf51a6c00, sync_index = 2, dir = 1) EtherCAT DEBUG: ecrt_slave_config_pdo_assign_clear(sc = 0xf51a6c00, sync_index = 2) EtherCAT DEBUG: ecrt_slave_config_pdo_assign_add(sc = 0xf51a6c00, sync_index = 2, pdo_index = 0x1A00) EtherCAT DEBUG: Loading default mapping for PDO 0x1A00 in config 0:0. EtherCAT DEBUG: Found PDO name "Outputs". EtherCAT DEBUG: Entry 0x7000:01. EtherCAT DEBUG: Entry 0x7000:02. EtherCAT DEBUG: ecrt_slave_config_pdo_mapping_clear(sc = 0xf51a6c00, pdo_index = 0x1A00) EtherCAT DEBUG: ecrt_slave_config_pdo_mapping_add(sc = 0xf51a6c00, pdo_index = 0x1A00, entry_index = 0x7000, entry_subindex = 0x01, entry_bit_length = 16) EtherCAT DEBUG: ecrt_slave_config_pdo_mapping_add(sc = 0xf51a6c00, pdo_index = 0x1A00, entry_index = 0x7000, entry_subindex = 0x02, entry_bit_length = 16) EtherCAT DEBUG: ecrt_slave_config_sync_manager(sc = 0xf51a6c00, sync_index = 3, dir = 2) EtherCAT DEBUG: ecrt_slave_config_pdo_assign_clear(sc = 0xf51a6c00, sync_index = 3) EtherCAT DEBUG: ecrt_slave_config_pdo_assign_add(sc = 0xf51a6c00, sync_index = 3, pdo_index = 0x1600) EtherCAT DEBUG: Loading default mapping for PDO 0x1600 in config 0:0. EtherCAT DEBUG: Found PDO name "Inputs". EtherCAT DEBUG: Entry 0x6000:01. EtherCAT DEBUG: Entry 0x6000:02. EtherCAT DEBUG: ecrt_slave_config_pdo_mapping_clear(sc = 0xf51a6c00, pdo_index = 0x1600) EtherCAT DEBUG: ecrt_slave_config_pdo_mapping_add(sc = 0xf51a6c00, pdo_index = 0x1600, entry_index = 0x6000, entry_subindex = 0x01, entry_bit_length = 16) EtherCAT DEBUG: ecrt_slave_config_pdo_mapping_add(sc = 0xf51a6c00, pdo_index = 0x1600, entry_index = 0x6000, entry_subindex = 0x02, entry_bit_length = 16) EtherCAT DEBUG: ecrt_slave_config_reg_pdo_entry(sc = 0xf51a6c00, index = 0x7000, subindex = 0x01, domain = 0xeb112c00, bit_position = 0x0) EtherCAT DEBUG: Domain 0: Added 4 bytes, total 4. EtherCAT DEBUG: ecrt_slave_config_reg_pdo_entry(sc = 0xf51a6c00, index = 0x7000, subindex = 0x02, domain = 0xeb112c00, bit_position = 0x0) EtherCAT DEBUG: ecrt_slave_config_reg_pdo_entry(sc = 0xf51a6c00, index = 0x6000, subindex = 0x01, domain = 0xeb112700, bit_position = 0x0) EtherCAT DEBUG: Domain 1: Added 4 bytes, total 4. EtherCAT DEBUG: ecrt_slave_config_reg_pdo_entry(sc = 0xf51a6c00, index = 0x6000, subindex = 0x02, domain = 0xeb112700, bit_position = 0x0) EtherCAT DEBUG: ecrt_domain_external_memory(domain = 0xeb112700, mem = 0xe9c48b20) EtherCAT DEBUG: ecrt_domain_external_memory(domain = 0xeb112c00, mem = 0xe9c48b00) EtherCAT DEBUG: ecrt_master_callbacks(master = 0xc29f7800, request_cb = 0xf8d7418d, release_cb = 0xf8d7417e, cb_data = 0xeb5c6a40) EtherCAT DEBUG: ecrt_master_activate(master = 0xc29f7800) EtherCAT: Domain0: Logical address 0x00000000, 4 byte, expected working counter 1. EtherCAT: Datagram domain0-0: Logical offset 0x00000000, 4 byte, type LWR. EtherCAT: Domain1: Logical address 0x00000004, 4 byte, expected working counter 1. EtherCAT: Datagram domain1-4: Logical offset 0x00000004, 4 byte, type LRD. EtherCAT: Stopping EoE processing. EtherCAT DEBUG: Stopping master thread. EtherCAT DEBUG: Master IDLE thread exiting... EtherCAT: Master thread exited. EtherCAT DEBUG: FSM datagram is c29f7b94. EtherCAT: Starting EtherCAT-OP thread. EtherCAT: Starting EoE processing. EtherCAT DEBUG: Operation thread running. Malloc'ed struct app *(f5183000) for rt_app *(f8d776e4) Started RT timer at a rate of 1000us Application tid 0 running at 1000us Successfully registered application "etherlab_test_MCESC" with RT-AppCore. EtherCAT WARNING: 2 datagrams UNMATCHED! EtherCAT DEBUG: Changing state of slave 0 from INIT to OP. EtherCAT DEBUG: Configuring slave 0... EtherCAT ERROR: Failed to set state INIT on slave 0: No response.