When I tested the IGH master station using the i.MX 8M Mini LPDDR4 EVK development board, I encountered the following issues. When master station MASTER0-DEVICE configured as “generic”,everything is normal,slave can be detected. However ,When master station MASTER0-DEVICE configured as “fec” but it cannot run. The experimental results are as follows.
root@imx8mm-lpddr4-evk:/# cat /etc/ethercat.conf
#------------------------------------------------------------------------------
#
# EtherCAT master configuration file for use with ethercatctl.
#
# $Id$
#
#------------------------------------------------------------------------------
#
# Master devices.
#
# The MASTER<X>_DEVICE variable specifies the Ethernet device for a master
# with index 'X'.
#
# Specify the MAC address (hexadecimal with colons) of the Ethernet device to
# use. Example: "00:00:08:44:ab:66"
#
# The broadcast address "ff:ff:ff:ff:ff:ff" has a special meaning: It tells
# the master to accept the first device offered by any Ethernet driver.
#
# The MASTER<X>_DEVICE variables also determine, how many masters will be
# created: A non-empty variable MASTER0_DEVICE will create one master, adding a
# non-empty variable MASTER1_DEVICE will create a second master, and so on.
#
MASTER0_DEVICE="00:04:9f:06:1b:63"
#MASTER1_DEVICE=""
#
# Ethernet driver modules to use for EtherCAT operation.
#
# Specify a non-empty list of Ethernet drivers, that shall be used for EtherCAT
# operation.
#
# Except for the generic Ethernet driver module, the init script will try to
# unload the usual Ethernet driver modules in the list and replace them with
# the EtherCAT-capable ones. If a certain (EtherCAT-capable) driver is not
# found, a warning will appear.
#
# Possible values: 8139too, e100, e1000, e1000e, r8169, fec, enetc, dpaa1, generic.
# Separate multiple drivers with spaces.
#
# Note: The e100, e1000, e1000e, fec and r8169 drivers are not built by default.
# Enable them with the --enable-<driver> configure switches.
#
DEVICE_MODULES="generic"
#
# Flags for loading kernel modules.
#
# This can usually be left empty. Adjust this variable, if you have problems
# with module loading.
#
#MODPROBE_FLAGS="-b"
#------------------------------------------------------------------------------
root@imx8mm-lpddr4-evk:/# ethercat slaves
0 1:0 PREOP + IS620N_ECAT_v2.5.7
When master station MASTER0-DEVICE configured as “fec” ,as flows
root@imx8mm-lpddr4-evk:~# cat /etc/ethercat.conf
#------------------------------------------------------------------------------
#
# EtherCAT master configuration file for use with ethercatctl.
#
# $Id$
#
#------------------------------------------------------------------------------
#
# Master devices.
#
# The MASTER<X>_DEVICE variable specifies the Ethernet device for a master
# with index 'X'.
#
# Specify the MAC address (hexadecimal with colons) of the Ethernet device to
# use. Example: "00:00:08:44:ab:66"
#
# The broadcast address "ff:ff:ff:ff:ff:ff" has a special meaning: It tells
# the master to accept the first device offered by any Ethernet driver.
#
# The MASTER<X>_DEVICE variables also determine, how many masters will be
# created: A non-empty variable MASTER0_DEVICE will create one master, adding a
# non-empty variable MASTER1_DEVICE will create a second master, and so on.
#
MASTER0_DEVICE="00:04:9f:06:1b:63"
#MASTER1_DEVICE=""
#
# Ethernet driver modules to use for EtherCAT operation.
#
# Specify a non-empty list of Ethernet drivers, that shall be used for EtherCAT
# operation.
#
# Except for the generic Ethernet driver module, the init script will try to
# unload the usual Ethernet driver modules in the list and replace them with
# the EtherCAT-capable ones. If a certain (EtherCAT-capable) driver is not
# found, a warning will appear.
#
# Possible values: 8139too, e100, e1000, e1000e, r8169, fec, enetc, dpaa1, generic.
# Separate multiple drivers with spaces.
#
# Note: The e100, e1000, e1000e, fec and r8169 drivers are not built by default.
# Enable them with the --enable-<driver> configure switches.
#
DEVICE_MODULES="fec"
#
# Flags for loading kernel modules.
#
# This can usually be left empty. Adjust this variable, if you have problems
# with module loading.
#
#MODPROBE_FLAGS="-b"
#------------------------------------------------------------------------------
root@imx8mm-lpddr4-evk:~# ethercat slaves
root@imx8mm-lpddr4-evk:~#
no servo driver is detected.