I’ve been trying to follow the “How to Get Started” guide, for the acontis EC-Master EtherCAT Stack, here: acontis EC-Master EtherCAT Stack | Toradex Developer Center, and I’m looking for information on binding the Ethernet interface to the atemsys kernel module. I’m using an Apalis iMX8.
I’ve successfully followed the steps up until the point I have to run EcMasterDemo with the optimized link layer, in the “Evaluate EC-Master + EC-Engineer” section. I get the following output from the app:
0000000000: EcMasterDemo V3.2.3.01 for Linux_aarch64 Copyright acontis technologies GmbH @ 2025
0000000000: Full command line: -fslfec 1 1 custom imx8 rgmii 7 nopinmuxing nomacaddr -t 0 -sp
0000000000: Start Remote API Server now
0000000001: EC-Master V3.2.3.01 (Protected) for Linux_aarch64 Copyright acontis technologies GmbH @ 2025
0000000003: emllFslFec(0x00000001): V3.2.3.01 (Unrestricted) for Linux_aarch64 Copyright acontis technologies GmbH @ 2025
0000000004: LinkOsCreateContext(): open device '/dev/atemsys' failed!
0000000004: CEcDeviceBase::Open() Failed to open link layer!
0000000004: emInitMaster(): Error opening EtherCAT device!
0000000204: Cannot initialize EtherCAT-Master: ERROR: Open failed (0x98110011))
0000000204: Stop Remote Api Server
0000000715: ERROR: Cannot de-initialize EtherCAT-Master: ERROR: Invalid state (0x9811000e)
0000000716: EcMasterDemo stop.
I’m not sure I’ve done the binding to the atemsys module correctly. The steps describe using a “BindFecToAtemsys.sh” script, which is not available in the latest acontis EC master image. I see further up the webpage, there’s a “Note about BindFecToAtemsys.sh”. There’s an instruction to “Add atemsys_fec.dtbo to fdt_overlays in /boot/overlays.txt.”, which I followed, but I still see the error above.
Is there something else I’m missing here? One thing I’ve noticed is that there is no atemsys_fec.dtbo file in /boot/overlays/. I do see atemsys_fec1.dtbo and atemsys_fec2.dtbo though. I’ve tried adding those to /boot/overlays.txt instead, but I still get an error when I run the app.