This document maps the EtherCAT feature set to what the KickCAT stack currently
provides, separately for the master and slave sides. It is the
authoritative source for "what works today"; the README only summarizes it.
The master timeout applies to each exchange, not to the whole transfer. On the
slave, the application provides the files through FoE::AbstractStorage
(mailbox::response::Mailbox::enableFoE).
Bootstrap: Bus::enterBootstrap / Bus::exitBootstrap move one slave between
INIT and BOOT, switching its mailbox to the bootstrap layout declared in the SII.
On the slave, slave::Slave::setBootstrapMailbox gives the mailbox served in
BOOT (typically FoE only, with its own SyncManager layout); without one, BOOT is
refused with AL status code 0x0013.
The ESC emulator models a DC clock with configurable drift; see
SIMULATION.md. Slave-side DC is not implemented on real ESCs yet.
Bus::enableDC lets the reference (first DC) slave clock free-run: the cyclic drift
datagram only relays it to the other slaves (ETG-standard FRMW/ARMW relay). The master
phase-locks its own cycle loop to that clock with a soft PLL owned by Timer
(Timer::sync_to, driven each cycle by Bus::sync), rather than writing its
software-sampled time back into the reference — doing so would inject the master's
RT-loop jitter into the DC domain and can unlock the slaves' SYNC PLL.
The master and slave run on different layers: the master is a host OS process,
while the slave is the stack running on an RTOS against an EtherCAT Slave
Controller (ESC).
Windows is not suitable for real-time operation; use it for tooling and tests.
Process data is limited to one input and one output PDO SyncManager per slave
on both master and slave; multiple PDO SyncManagers per direction are not
supported.
Slave-side Distributed Clocks are not implemented.
The simulator/emulator does not emulate interrupts; see
SIMULATION.md.